Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Permissions issues with WinFX installation

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-10-2006   #1 (permalink)
Scott Bussinger
Guest


 

Permissions issues with WinFX installation

I've been trying to install the December CTP of WinFX and I've been having
problems getting it all to work. I've tracked down at least some of the
problems and wanted to report them here. One symptom of the problem was that
if I browsed to a website that hosted a XBAP application (e.g.
http://www.valil.com/winfx/Valil.Chess.WinFX.xbap) it didn't recognize it as
a WPF application and asked to download it instead.

The problem is that when the WinFX runtime components are installed, they've
have the access rights in the registry set incorrectly. I normally run WinXP
as a non-administrator user. I rarely use the Administrator account and
elevate my account permissions temporarily when necessary to administrator
rights using MakeMeAdmin (see
http://blogs.msdn.com/aaron_margosis...24/193721.aspx if you
want details). This works quite well for almost everything.

When WinFX installs, it (correctly) creates a MIME type in this registry
key:
HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-ms-xbap
and gives Read/Write permissions to the administrators and Read permissions
to users. The problem is that when the installation registers these file
extensions and handlers:
HKEY_CLASSES_ROOT\.xbap
HKEY_CLASSES_ROOT\Windows.Xbap
HKEY_CLASSES_ROOT\Windows.Xbap.1
it gives Read/Write permissions to the administrators and NO permissions to
users. So when you try to run the WPF application using Internet Explorer as
a non-administrator it can't read any of the registry keys and considers the
..xbap file an unknown file type. Running as an administrator or manually
adding Read permissions for users to the above keys solves the problem. I
suspect there are many other issues besides this specific one when running
as a non-administrator though because of permission settings not being
correct on other keys (I'm new to WPF so I'm not sure where else to check
yet).

Note that I've tried installing with the Local Security Policy for "System
objects: Default owner for objects created by members of the Administrators
group." set to both "Object Creator" and "Administrators group" and the
effects seem to be the same.



My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista HP Permissions Issues sauvagii Vista networking & sharing 2 01-31-2008 03:30 AM
Issues setting permissions SuperPlay Vista security 1 02-19-2007 04:07 PM
Slow "right click" and Permissions issues Aaron Matthew Arnwine Vista General 1 02-05-2007 10:31 PM
Installation issue and WinFX (.NET 3.0) mentas Avalon 0 02-25-2006 09:46 AM


Vistax64.com 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 2005-2008

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 47 48 49 50 51