/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: AngelD 17 years ago
Red Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ