Table Of Contents

Running Non-Package MSI Distributions

Last Modified: March 3, 2020

Use this procedure with a Post Install custom execute to run a MSI distribution after your package installs.
  1. In the Root property, select [System (32-bit)].
  2. Set the Executable Path to the name of the msiexec executable.
    msiexec.exe
  3. In the Arguments property, provide the arguments needed:
    /i <file.msi>

    The /i flag runs the MSI installer normally.

    Replace the flag <file.msi> with the full path to your MSI file.

    For example, when installing MsiInstalledByPackage.msi to the Temp target root directory, the path argument would be %Temp%\MsiInstalledByPackage.msi.

    Use the /x flag to uninstall your MSI file.

  4. Click OK.
  5. Go to Build» Build All Packages to build all packages.

After the package installs, the installation runs the MSI installer as specified.

To uninstall an MSI before uninstalling a package, use a Pre Uninstall custom execute with the argument from step 3, but replace the /gb flag with a /x flag:

/i <file.msi> /x
spd-note-note
Note

Configure the custom execute to ignore errors if the MSI installation is set to return error 3010 when a successful installation requires reboot.


Recently Viewed Topics