Pulling my hair out!
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)
begin
//Do nothing and allow installation to continue.
end;
My "Behavior and Logic" node does not have a sub-node called "InstallScript". Should I just capture the install?
Thanks,
Lane
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)
begin
//Do nothing and allow installation to continue.
end;
My "Behavior and Logic" node does not have a sub-node called "InstallScript". Should I just capture the install?
Thanks,
Lane
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
AngelD
18 years ago
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
All this can be found at http://itninja.com/question/msi-corporate-standardiser6
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.