Uninstall fails on Vista - seems not to elevate

Posted: 06-09-2006, 10:18 AM

I have been doing some msi package installation testing on Windows Vista
Beta2 with UAC enabled. I have a Windows Installer package which installs
fine. However, when I uninstall from Add/Remove Programs the uninstall fails
during InstallValidate with the following error:

"Error 1321. The Installer has insufficient privileges to modify file X"

The file in question has security which allows local Administrators full
control, but gives no rights to standard Users ie. not even Read access.

I am logged on as an Administrator with Windows UAC enabled. Hence, when I
begin the Uninstall I am asked to "elevate privileges" by Windows, which I
agree to.

I believe this means the Installation should be running with full Admin
access, just like pre-Vista, or like having UAC turned off. However, it looks
like at this point in the Uninstallation, the Installer doesn't really have
Admin access as it can't read the file.

If I turn UAC off, via the local security policy, the Uninstall completes no
problem.

Is UAC elevation working correctly here? Any ideas?

J
Reply With Quote

Responses to "Uninstall fails on Vista - seems not to elevate"

Joel_D
Guest
Posts: n/a
 
Uninstall fails on Vista - seems not to elevate
Posted: 06-09-2006, 10:19 AM

I have been doing some msi package installation testing on Windows Vista
Beta2 with UAC enabled. I have a Windows Installer package which installs
fine. However, when I uninstall from Add/Remove Programs the uninstall fails
during InstallValidate with the following error:

"Error 1321. The Installer has insufficient privileges to modify file X"

The file in question has security which allows local Administrators full
control, but gives no rights to standard Users ie. not even Read access.

I am logged on as an Administrator with Windows UAC enabled. Hence, when I
begin the Uninstall I am asked to "elevate privileges" by Windows, which I
agree to.

I believe this means the Installation should be running with full Admin
access, just like pre-Vista, or like having UAC turned off. However, it looks
like at this point in the Uninstallation, the Installer doesn't really have
Admin access as it can't read the file.

If I turn UAC off, via the local security policy, the Uninstall completes no
problem.

Is UAC elevation working correctly here? Any ideas?

J
Reply With Quote
Andre Da Costa [Extended64]
Guest
Posts: n/a
 
Re: Uninstall fails on Vista - seems not to elevate
Posted: 06-09-2006, 10:37 AM
They are still working out the issues. You should report this:
For Feedback:
http://go.microsoft.com/fwlink/?linkid=55160

Feedback reporting tool:
http://go.microsoft.com/fwlink/?linkid=43655
--
--
Andre
Windows Connected | http://www.windowsconnected.com
Extended64 | http://www.extended64.com
Blog | http://www.extended64.com/blogs/andre
http://spaces.msn.com/members/adacosta


"Joel_D" <Joel_D@discussions.microsoft.com> wrote in message
news:11214CD2-E97E-4615-B246-75D8AC6BAC59@microsoft.com...
>
> I have been doing some msi package installation testing on Windows Vista
> Beta2 with UAC enabled. I have a Windows Installer package which installs
> fine. However, when I uninstall from Add/Remove Programs the uninstall
> fails
> during InstallValidate with the following error:
>
> "Error 1321. The Installer has insufficient privileges to modify file X"
>
> The file in question has security which allows local Administrators full
> control, but gives no rights to standard Users ie. not even Read access.
>
> I am logged on as an Administrator with Windows UAC enabled. Hence, when I
> begin the Uninstall I am asked to "elevate privileges" by Windows, which I
> agree to.
>
> I believe this means the Installation should be running with full Admin
> access, just like pre-Vista, or like having UAC turned off. However, it
> looks
> like at this point in the Uninstallation, the Installer doesn't really
> have
> Admin access as it can't read the file.
>
> If I turn UAC off, via the local security policy, the Uninstall completes
> no
> problem.
>
> Is UAC elevation working correctly here? Any ideas?
>
> J

Reply With Quote
Joel_D
Guest
Posts: n/a
 
Re: Uninstall fails on Vista - seems not to elevate
Posted: 06-09-2006, 10:58 AM
Thanks, will do.

Is there any way of getting confirmation that this is a bug that will be
fixed, or at least it is recognised as an MS issue, rather than my issue?

J

"Andre Da Costa [Extended64]" wrote:
> They are still working out the issues. You should report this:
> For Feedback:
> http://go.microsoft.com/fwlink/?linkid=55160
>
> Feedback reporting tool:
> http://go.microsoft.com/fwlink/?linkid=43655
> --
> --
> Andre
> Windows Connected | http://www.windowsconnected.com
> Extended64 | http://www.extended64.com
> Blog | http://www.extended64.com/blogs/andre
> http://spaces.msn.com/members/adacosta

Reply With Quote
Andre Da Costa [Extended64]
Guest
Posts: n/a
 
Re: Uninstall fails on Vista - seems not to elevate
Posted: 06-09-2006, 11:13 AM
UAC right now is an ongoing issue, all I can say is, they are working onti.
--
--
Andre
Windows Connected | http://www.windowsconnected.com
Extended64 | http://www.extended64.com
Blog | http://www.extended64.com/blogs/andre
http://spaces.msn.com/members/adacosta

"Joel_D" <JoelD@discussions.microsoft.com> wrote in message
news:02B3FFAF-E7D8-40F3-BD4F-4F17A3DE1D81@microsoft.com...
> Thanks, will do.
>
> Is there any way of getting confirmation that this is a bug that will be
> fixed, or at least it is recognised as an MS issue, rather than my issue?
>
> J
>
> "Andre Da Costa [Extended64]" wrote:
>
>> They are still working out the issues. You should report this:
>> For Feedback:
>> http://go.microsoft.com/fwlink/?linkid=55160
>>
>> Feedback reporting tool:
>> http://go.microsoft.com/fwlink/?linkid=43655
>> --
>> --
>> Andre
>> Windows Connected | http://www.windowsconnected.com
>> Extended64 | http://www.extended64.com
>> Blog | http://www.extended64.com/blogs/andre
>> http://spaces.msn.com/members/adacosta
>
>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
how uninstall window vista? prodigal Windows Vista Install & Setup 6 10-01-2006 12:19 AM
Uninstall CTYANKEE Windows Vista Install & Setup 19 06-28-2006 08:47 PM
Vista 2 fails installing Moajnic Windows Vista Install & Setup 7 06-02-2006 06:32 AM
Vista Beat 2 fails installation Moajnic Windows Vista Install & Setup 0 05-31-2006 01:14 AM
HOW DO I UNINSTALL MY WINDOWS XP? TEM Windows Vista Install & Setup 4 05-14-2006 10:55 AM