Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

Detect uninstallation of prev version happening during Major upgrade

$
0
0
I have a Basic MSI project which does a major upgrade of previous builds.
It uninstalls the previous version and then installs new version.
I have added a customized warning message when user clicks on Remove in Add/Remove Programs so that user can still cancel uninstallation
if he has clicked by mistake.
But during upgrade also the same message is coming which I want to hide during upgrade.
since this message is in Uninstall logic.
if user selects on cancel then it will be a problem as upgrade will not happen.
Is there any way to detect if this uninstallation is happening as part of major upgrade or then I dont want to show this message.?

Viewing all articles
Browse latest Browse all 4553

Trending Articles