Bob

Thanks for the reply. 
I looked at the wix registry element and under the root attribute

HKCU
Operation occurs under HKEY_CURRENT_USER. It is recommended to set the
KeyPath='yes' attribute when setting this value in order to ensure that
the installer writes the necessary registry entries when there are
multiple users on the same computer.

Does it mean if I have 1 component for 1 registry element, then I can
set KeyPath="yes" at the component level to make it write registries for
all users?

Currently I put lots of registries under 1 component. Splitting it would
take a lot of effort as they all need GUIDs.

    <DirectoryRef Id="MyBin">
        <Component Id='IShieldReg'
Guid='32eb06a3-680f-4b7f-b759-1dbd6017f690' KeyPath="yes">

            <RegistryKey Root="HKCR" Key="Licenses" Action="create"/>
            <RegistryKey Root="HKCR" Key="Licenses\DFGKDFgzdfgkjlll0-0"
Action="create">
                ....

Brian


-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 10 March 2009 01:09
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX shortcuts for ALLUSERS

Yu, Brian wrote:
> I managed it by adding <Property Id="ALLUSERS" Value="1" />
> But I notice the HKCU registry does not get deployed on all users
>
> Is there a way to have this done?
>   

No. A per-machine installation writes to per-machine locations, not the 
all users' per-user locations. So a per-machine shortcut goes to a 
different directory (CSIDL_COMMON_PROGRAMS, per the docs).

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

_____________________________________________________________________
This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are 
incorporated under the laws of England and Wales (company no. 05677531 and VAT 
registration no. 872810613). Our registered office is at 155 Bishopsgate, 
London EC2M 3TQ. This e-mail and/or any attached documents may contain 
privileged and confidential information and should only be read by those 
persons to whom this e-mail is addressed. Use by other than intended recipients 
is prohibited. If you are not the addressee, you must not copy, distribute, 
disclose or use any of the information in it. If you have received it in error, 
please delete it and immediately notify the sender. EASYSCREEN reserves the 
right to monitor all e-mail messages passing through its network. As we cannot 
guarantee the genuineness, accuracy or completeness of the information 
contained in this message, the statements set forth are not legally binding.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to