PDA

View Full Version : How to call MSI files through Install script



gtadi123
04-14-2002, 08:07 AM
Hi,
How to call MSI file through Install script. Currently I'm calling MSI files via batch script. Is there any other way to call?

Thanks,
Gtadi

Joshua
04-15-2002, 01:00 PM
Gtadi,

I would recommend using LaunchAppAndWait or LaunchApp to launch the file "msiexec.exe" and pass your MSI file as a parameter. This would allow you to launch your MSI file via InstallScript.

The Knowledge Base article # Q104221 should help with the parameters to pass msiexec.exe.

oliverb
04-16-2002, 10:41 AM
another way to do this is by using API calls to the WI DLLs.

JRuiz1
04-16-2002, 12:13 PM
You can do a nested installation by creating a custom action. Read info from link below to help to set this up.

http://www.installshield.com/aboutus/news/newsletter/0105-nestedinstall.asp

The nested install works very good I tried to launch from script could not get it to work.