This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Uninstall SQL Express 2008 with UAC failed during uninstallation.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 16, 2012
03:38 PM
Uninstall SQL Express 2008 with UAC failed during uninstallation.
Hi everyone,
I have an MSI install project with installing SQL Express 2008 at Redistributable. During my uninstallation, i have to uninstall this SQL Express at the end. It seems to work fine with XP and Windows 7 with UAC turns off. On the Windows 7 and UAC turns on, the SQL Express uninstall failed to run. I know the problem is caused by the UAC prompt message didn't show up so that user can select 'Allow/Yes' to uninstall SQL Express, but I don't know why that message failed??
Please help! Thanks in advance!
I have an MSI install project with installing SQL Express 2008 at Redistributable. During my uninstallation, i have to uninstall this SQL Express at the end. It seems to work fine with XP and Windows 7 with UAC turns off. On the Windows 7 and UAC turns on, the SQL Express uninstall failed to run. I know the problem is caused by the UAC prompt message didn't show up so that user can select 'Allow/Yes' to uninstall SQL Express, but I don't know why that message failed??
Please help! Thanks in advance!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 23, 2012
05:57 PM
Updated solution:
In order to fix this, I have to create an install script wrapper that executes the SQL Express uninstall command and then call this wrapper in the 'Deferred Execution in System Context' to elevate the admin-right.
In order to fix this, I have to create an install script wrapper that executes the SQL Express uninstall command and then call this wrapper in the 'Deferred Execution in System Context' to elevate the admin-right.