Hi AdvancedInstaller team
I'm trying to run a custom action on the uninstallation stage.
But I need it to run as normal user, not the elevated one. So it has to be run before uninstaller prompts UAC.
So far as I know, If I put the custom action before the Path Resolution at Install Execution Stage, it will not work.
And If I put the custom action after the Preparing at Install Execution Stage, it will prompt UAC first.
So I concluded, I need to put it in between Path Resolution and Preparing.
It works if I run the .msi file directly, but it fails if I run it under this command:
msiexec /quiet APPDIR="<Custom Directory>" /i "<Msi File>"
Do you know any workaround so I can run a custom action as normal user on the uninstallation?
FOLLOW US
Get the latest news in Application Packaging