win7 uac on - uninstall fails - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

doolav
Posts: 23
Joined: Mon Dec 13, 2010 1:29 pm

win7 uac on - uninstall fails

Hello,
I want to be able to uninstall my software (without 'run as admin') on a pc running win7 with uac turned on. In case of exe installer I embed a manifest, requesting the privileges required. How do I handle it in msi scenario?

Thanks,
Alex.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: win7 uac on - uninstall fails

Hello Alex,

The manifest is effective only to an EXE file.
Please send us the .AIP (project) and a verbose log of the uninstall to support at advancedinstaller dot com so we can investigate them.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
doolav
Posts: 23
Joined: Mon Dec 13, 2010 1:29 pm

Re: win7 uac on - uninstall fails

Hello Mihai,

sorry to bother you too early - I think I got it working now. Did not work straight away as there was a process, holding the Product Folder handle. Was fixed by adding a custom action which stops the process on uninstall.

The question I still have though - this behaviour was different under UAC enabled and disabled in that disabling UAC allowed uninstall to pass ok, i.e. I did not have to kill the above process explicitely.

Thanks,
Alex.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: win7 uac on - uninstall fails

Hello Alex,
The question I still have though - this behaviour was different under UAC enabled and disabled in that disabling UAC allowed uninstall to pass ok, i.e. I did not have to kill the above process explicitely.
This is happening because the uninstall automatically runs with elevated privileges when the UAC is disabled.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”