【发布时间】:2013-08-30 00:16:25
【问题描述】:
我对 Install-Shield 有疑问。我创建包来安装我的项目,然后使用 JS(Install-Shield 中的 JavaScript)检查 Dotnet 框架,如果不存在,请安装 Dotnet。这样JS work perfectly 和checking registry and then go for Donet Setup。
这里是 HS:
function RunDotNetEXE(hMSI)
STRING svPath;
begin
svPath = SRCDIR^"\\Req";
RegDBSetDefaultRoot (HKEY_LOCAL_MACHINE);
if (RegDBKeyExist ("SOFTWARE\\Microsoft\\.NETFramework\\v3.0")!=1) then
if (svPath!="") then
SdShowMsg ( " file not found ", TRUE );
if (LaunchAppAndWait (svPath+"\\net frame work 3.5 sp1\\dotnetfx35.exe","",WAIT) < 0) then
MessageBox ("error in installing DotNet", SEVERE);
endif;
SdShowMsg ( " Some message ", FALSE );
endif;
endif;
end;
问题:
但问题是 Windows Installer。 WI 无法运行 two or more Setup package on same time。
所以我必须做什么,为了解决我的问题!!! ?
【问题讨论】:
标签: .net installation installshield