Hi there,
I have a requirement to be able to abort an install for certain criteria..
Both these conditions must be met:
If the app is running..
If there are arguments passed via command line...
I'm able to detect both of those things, but I'm having a hard time figuring out how to abort the installation, and launch the already installed app.
I do not want to use VBS because I don't want complications from A/V scans (I've attempted this already)
Is there any other way this can be done?
I tried using the "Display Error Message" custom action (because it aborts the install), but I can't get it to work any earlier than paths resolution, and by that time, the app has already told me that it's already installed and quits.
Thanks for the help.
FOLLOW US
Get the latest news in Application Packaging