InstallShield中安装自己的包后,安装DOTNET? [英] Install Dotnet after installing own package in installshield?
问题描述
我有问题,安装盾。我创建的软件包安装我的项目,然后用JS(JavaScript的在安装盾)检查DOTNET框架的工作,如果它是不存在的安装DOTNET。让 JS工作完美
和检查注册表,然后去DONET设置
。
下面是HS:
函数RunDotNetEXE(hMSI)
STRING svPath;
开始
svPath = SRCDIR ^\\ REQ;
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
如果(RegDBKeyExist(SOFTWARE \\ \\微软。NETFramework \\ V3.0)!= 1),然后
如果(svPath!=),则
SdShowMsg(找不到文件,TRUE);
如果(LaunchAppAndWait(svPath +\\ NET框架的工作3.5 SP1 \\ dotnetfx35.exe,,WAIT)℃下),那么
的MessageBox(错误安装DOTNET的,严重);
ENDIF;
SdShowMsg(一些信息,FALSE);
ENDIF;
ENDIF;
结束;
问题:
但问题是, Windows安装程序
。 WI
无法执行两个或在同一时间多个安装程序包
。
所以,我必须做的,为了解决我的问题! ?
该解决方案是增加.NET框架为prerequisite:的http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/IHelpMergeModules.htm
I have problem with Install-Shield. I create package to install my project and then use JS (JavaScript in Install-Shield) for checking Dotnet frame work and if it isn't exist install Dotnet. so that JS work perfectly
and checking registry and then go for Donet Setup
.
Here is 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;
Problem :
But problem is Windows Installer
. WI
can't run two or more Setup package on same time
.
So What I must to do, In order resolve my problem!!! ?
The solution is to add .NET Framework as a prerequisite: http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/IHelpMergeModules.htm
这篇关于InstallShield中安装自己的包后,安装DOTNET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!