I have created a Custom Action DLL using Visual C++. I will be checking for some prerequisites software while installing the MSI. If the prerequisites software were not installed in the user machine, the MSI will take the user to the download page of the prerequisite software and prompt the user to download the software. Otherwise, If the user clicks cancel button, I will exit the setup. Can anyone throw me some light how to abort the MSI installation using C++. Thanks in advance.

Naresh Krishna Kumar. K
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


Author your custom action to return 1 to proceed and 3 for terminating the installation. Make sure to set the custom action not to ignore any exit code.
Answered 07/24/2007 by: AngelD
Red Belt

Please log in to comment