Integration into MSI

Coordinator
Nov 23, 2008 at 5:16 PM
Edited Nov 25, 2008 at 12:40 AM
You'll want to use a Custom Action to integrate this into your MSI package. You can point the custom action to the exe and set the arguments to the following:

-t [TESTINSTALL] -U [UNATTENDED]

You can then double click the installer msi and the user will get a GUI for configuring the database install. You can also run the installer from the command like using msiexec from an automated standpoint. This would look similar to the following:

msiexec /i installer.msi TESTINSTALL=true UNATTENDED=true

For more information about running installers from the command line please see http://technet.microsoft.com/en-us/library/cc759262.aspx.

Edit: the -d option was from an older build where the scripts were not embedded resources. This is no longer needed.