Well, I don't really have any, but I need your expert advice again. I have a vendor MSI that I extracted and when you run it, you get the error about overriding the OnMsiSilentInstall event and the install can not be run in silent mode. I'm trying to use an MST file with the install.

How do you do this:

Overriding the Event
By default, OnMsiSilentInstall displays a message and then aborts the installation. You can override this event handler by writing your own implementation of the function.

The simplest thing you can do is to implement an empty body of this event so installation will not abort, as:

function OnMsiSilentInstall(hInstall)
//Do nothing and allow installation to continue.

My "Behavior and Logic" node does not have a sub-node called "InstallScript". Should I just capture the install?

0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Add the property ISSETUPDRIVEN and give it a value of 1. This will fool the InstallScript based MSI that the installation was invoked by setup.exe. Remove the OnCheckSilentInstall custom action from the InstallExecuteSequence table to prevent the MSI from checking if a silent installation was performed without using Setup.exe. Remove the ISVerifyScriptingRuntime custom action from the InstallUISequence table to prevent the MSI from checking if the installation was launched using setup.exe during UI sequence.

All this can be found at http://itninja.com/question/msi-corporate-standardiser6
Answered 11/24/2006 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity