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!!! ?