cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
thaopham
Flexera beginner

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!
Labels (1)
0 Kudos
1 Reply
thaopham
Flexera beginner

Re: Uninstall SQL Express 2008 with UAC failed during uninstallation.

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.
0 Kudos