How to run an MSI from Wise Script

Article:HOWTO5157  |  Created: 2005-09-30  |  Updated: 2008-01-11  |  Article URL http://www.symantec.com/docs/HOWTO5157
Article Type
How To



Question
How do I execute a .msi from within my WiseScript?

Answer

The best way to execute an .msi during the install is to use the Execute Program action and execute MSIExec.exe, with a path pointing to the .msi. 

The .exe path would be %SYS32%\msiexec.exe as the program and /i <path to .msi> as the command line.

Ensure that the .msi is in a location that it can be executed from before the execute command is run. You can accomplish this by placing the .msi on the CD and calling it from the CD, or using the Install File action to install the file to the hard drive and run it from that location.


Legacy ID



2767


Article URL http://www.symantec.com/docs/HOWTO5157


Terms of use for this information are found in Legal Notices