Msi Installer Custom Action

Posted on

Please see topic. Property NameData TypeDescriptionAdditionalParametersStringAdditional parameters or switches that you want to pass to the Windows Installer runtime (msiexec: see )ApplyUpdateMSPBooleanSet this property to True if you want to run a MSP (patch/update) package and not a MSI installationOtherActionStringIf you want to use another MSI action than install or patch/update. For advanced users.

See below.PackagePathStringThe full path to the.MSI or.MSP installation file you want to run. For example%DESTPATH%productsetup.msiVariableForExitCodeVariable that will receive the exit code returned by Windows Installer. For the list of exit codes, please see. You can package and run several Windows Installer MSI installations back-to-back with Paquet Builder and this custom action: just add such a custom action for each MSI you want to run. Each time, the custom action waits for Windows Installer to finish its job before returning. You can check the result of the installation thanks to “VariableForExitCode”: if the exit code is incorrect, you can interrupt the execution of next installations and display an error message for instance.

Msi Installer Custom Action 1

Custom action conditions

Other MSI actionsIf you want to run other actions of Windows Installer such as administrative installation option, advertising a product then you must use the OtherAction field to specify the action you want to run.For instance, you would like to invoke the MSI installer with the /A option. If you were to run from a command prompt in Windows, you would type: msiexec /A MyInstall.msiTo get the same behavior in Paquet Builder, enter /A in the OtherAction field and the full path to the MSI package in PackagePath.© 2019. All rights reserved.