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 > Misc Newsgroups > Avalon

Vista - Permissions issues with WinFX installation

 
 
Old 01-10-2006   #1 (permalink)
Scott Bussinger


 
 

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
 

Thread Tools


Similar Threads
Thread Forum
Vista HP Permissions Issues Vista networking & sharing
Issues setting permissions Vista security
Installation Issues 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