Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

LaunchAppAndWait, Setup.exe


1 reply to this topic

Pavle

Pavle
  • Members
  • 6 posts

Posted 25 January 2005 - 10:57

Okey there goes nothing...

At the end of my instalation i have to call 3 new setup's
I do it like this

setup1=INSTALLDIR+"setup1.exe";
setup2=INSTALLDIR+"setup2.exe";
setup3=INSTALLDIR+"setup3.exe";

if(Is(FILE_EXISTS,setup1)==TRUE) then
LaunchAppAndWait(setup1,"",WAIT );
endif;

if(Is(FILE_EXISTS,setup2)==TRUE) then
LaunchAppAndWait(setup2,"",WAIT);
endif;

if(Is(FILE_EXISTS,setup3)==TRUE) then
LaunchAppAndWait(setup3,"",WAIT);
endif;

The first two setup files are installScript Msi procjects and thay hang during initialization....this is my problem.
Third is a basic msi project and it works fine!
What to do? ph34r.gif


vishnub

vishnub
  • Full Members
  • 63 posts

Posted 09 February 2005 - 13:10

Hi Pavle,
Are you launching those setup.exe's as silent installation. If Yes, it may wait for the installation location to be specified.

For Basic Msi, in silent installation u have to give the installation location as argument in the commandline.
svProgram = "setup3.exe";
svCmdLine = "/s /v" +"\"/qn INSTALLDIR=" +szPath +"\"";
LaunchAppAndWait(svProgram,svCmdLine,LAAW_OPTION_WAIT );

For InstallScriptMsi project, u have to use the .iss (response files) to execute the setup.exe's in silent installation.

Or if still u have the problem, check the article
http://support.insta...ticleid=Q111194

Regards,
Vishnu