问题:那个中英文选项卡不见了。
这个你直接在 Media里面的Release里面找到你要编译的那个release,然后右侧出现好几个选项卡,选择 build选项卡,里面有一项是 Languages Dialog, 把它选成No就可以了。
installShield中获取环境变量的方法
//当前为非administrator帐户,为了您能更方便的启动keygoe的服务,建议切换到administrator帐户下安装
//是否退出并切换到administrator帐户,再安装?
//SprintfBox(WARNING, "", "SYSINFO.WIN9X.bWin9X=%d, SYSINFO.WINNT.bWinXP=%d, SYSINFO.WINNT.bWinServer2003=%d",SYSINFO.WIN9X.bWin9X, SYSINFO.WINNT.bWinXP, SYSINFO.WINNT.bWinServer2003);
//确认系统为win7以上版本
if(!SYSINFO.WIN9X.bWin9X && !SYSINFO.WINNT.bWinXP && !SYSINFO.WINNT.bWinServer2003) then
//确认是否为administrator用户。
GetEnvVar ("USERNAME", svEnvVar);
//MessageBox (svEnvVar, WARNING);
if (!nlChinese) then
if (0 != StrCompare (svEnvVar, "Administrator")) then
//MessageBox ("Make sure to install correctly, please change to administrator", WARNING);
/*
MSIHANDLE hProduct;
LPTSTR szValueBuf;
DWORD pchValueBuf;
MsiOpenPackage(".", &hProduct);
UINT uiStat = MsiGetProperty(hProduct, TEXT("AdminUser"), szValueBuf, &pchValueBuf);
*/
if (AskYesNo("Current user isn't administrator, sugest you to change to administrator before your installation ", YES) = YES) then
exit;
else
if(!SYSINFO.WINNT.bAdmin_Logged_On) then
MessageBox("Can't install without administrator privilleges", SEVERE);
exit;
//else
// MessageBox("Caution: non-administrator need to remove and start keygoe service with system administrator privilleges", WARNING);
//MessageBox ("注意:非administrator用户停止和启动keygoe服务时,要以管理员权限运行,否则无法正常启动服务", WARNING);
endif;
endif;
endif;
else
if (0 != StrCompare (svEnvVar, "Administrator")) then
//MessageBox ("为确保安装正确,请切换到administrator用户下安装", WARNING);
//exit;
if (AskYesNo("当前为非administrator帐户,为了您能更方便的启动keygoe的服务,建议切换到administrator帐户下安装。"+
"退出安装?", YES) = YES) then
exit;
else
if(!SYSINFO.WINNT.bAdmin_Logged_On) then
MessageBox("程序没有以管理员权限运行,无法完成安装。", SEVERE);
exit;
//else
// MessageBox ("注意:安装完成后,非administrator用户停止和启动keygoe服务时,要以管理员权限运行,否则无法正常启动或停止服务", WARNING);
endif;
endif;
endif;
endif;
endif;
//是否退出并切换到administrator帐户,再安装?
//SprintfBox(WARNING, "", "SYSINFO.WIN9X.bWin9X=%d, SYSINFO.WINNT.bWinXP=%d, SYSINFO.WINNT.bWinServer2003=%d",SYSINFO.WIN9X.bWin9X, SYSINFO.WINNT.bWinXP, SYSINFO.WINNT.bWinServer2003);
//确认系统为win7以上版本
if(!SYSINFO.WIN9X.bWin9X && !SYSINFO.WINNT.bWinXP && !SYSINFO.WINNT.bWinServer2003) then
//确认是否为administrator用户。
GetEnvVar ("USERNAME", svEnvVar);
//MessageBox (svEnvVar, WARNING);
if (!nlChinese) then
if (0 != StrCompare (svEnvVar, "Administrator")) then
//MessageBox ("Make sure to install correctly, please change to administrator", WARNING);
/*
MSIHANDLE hProduct;
LPTSTR szValueBuf;
DWORD pchValueBuf;
MsiOpenPackage(".", &hProduct);
UINT uiStat = MsiGetProperty(hProduct, TEXT("AdminUser"), szValueBuf, &pchValueBuf);
*/
if (AskYesNo("Current user isn't administrator, sugest you to change to administrator before your installation ", YES) = YES) then
exit;
else
if(!SYSINFO.WINNT.bAdmin_Logged_On) then
MessageBox("Can't install without administrator privilleges", SEVERE);
exit;
//else
// MessageBox("Caution: non-administrator need to remove and start keygoe service with system administrator privilleges", WARNING);
//MessageBox ("注意:非administrator用户停止和启动keygoe服务时,要以管理员权限运行,否则无法正常启动服务", WARNING);
endif;
endif;
endif;
else
if (0 != StrCompare (svEnvVar, "Administrator")) then
//MessageBox ("为确保安装正确,请切换到administrator用户下安装", WARNING);
//exit;
if (AskYesNo("当前为非administrator帐户,为了您能更方便的启动keygoe的服务,建议切换到administrator帐户下安装。"+
"退出安装?", YES) = YES) then
exit;
else
if(!SYSINFO.WINNT.bAdmin_Logged_On) then
MessageBox("程序没有以管理员权限运行,无法完成安装。", SEVERE);
exit;
//else
// MessageBox ("注意:安装完成后,非administrator用户停止和启动keygoe服务时,要以管理员权限运行,否则无法正常启动或停止服务", WARNING);
endif;
endif;
endif;
endif;
endif;