I am running a custom action that I want to be able to stop installation if a certain condition is found on the target system. It will dislpay a message to the user and return a nonzero exit code in this case, in order to abort the installation and rollback any changes so far.
It almost works, but for some reason I am getting this weird error message that I definitely DON'T want the user to see:
"There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor."
My custom action is displaying the correct message to the user, and the above message is simply confusing, scary and inaccurate.
Is there any way to abort/rollback an installation from a custom action WITHOUT getting this extra error message?
FOLLOW US
Get the latest news in Application Packaging