I believe you are right, there is no "All Users" type of thing.  Usually, the 
way this is done in the registry is an application will first look for keys in 
HKCU (for user data).  If it doesn't find anything there it falls back to the 
same location in HKLM.  Unfortunately, that's behavior the app must support... 
not something you can do in your install.

From: Brian Patton [mailto:[EMAIL PROTECTED]
Sent: Friday, December 22, 2006 12:55
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: How can I write a registry key in each user's HKCU

It doesn't look like there's a registry side to the All Users profile. Only 
filesystem (such as start menu and desktop) items seem to get inherited. Any 
other ideas?
On 12/20/06, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

You can't write to every user's profile.  You can however write to the AllUsers 
profile and all users will inherit that if you create a per-machine install 
(see the ALLUSERS Property in the MSI SDK).



From: Brian Patton [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>]
Sent: Wednesday, December 20, 2006 17:59
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: How can I write a registry key in each user's HKCU



Specifically, I'm looking to add a key to HKCU\Software\Microsoft\Internet 
Explorer\MenuExt\ for each user.



I've tried writing to HKU\.DEFAULT\Software\Microsoft\Internet 
Explorer\MenuExt\ but this seems to work only for S-1-5-18 (which must be the 
default user).



I'm thinking something like:

  for each key under HKU that doesn't end in '_Classes'

    write a new key into HKU\{currentkey}\Software\Microsoft\Internet 
Explorer\MenuExt\



Is there any way to iterate through {currentkey} using WiX/MSI?



--
===========
Brian Patton
http://people.bu.edu/bjp/
http://people.bu.edu/reallife/ourstories.html
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to