Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista installation & setup

Vista - Uninstall fails on Vista - seems not to elevate

Reply
 
Old 06-09-2006   #1 (permalink)
Joel_D


 
 

Uninstall fails on Vista - seems not to elevate


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

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Re: elevate script permission for vista uac VB Script
Vista fails to uninstall Palm Desktop S/W Vista installation & setup
Howto: elevate control panel applet on vista Vista General
Vista Install fails - needs a program uninstall Vista installation & setup
Uninstall fails on Vista - seems not to elevate Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46