I created another component where I added registry entries for HKLM and HKCR 
and it works fine. You cannot add per-user and per-machine registries in one 
component.

Regards,

Aparna Karkare

(O) +91-80 6624 3681 | (M) +91-9742366933


-----Original Message-----
From: Karkare,Aparna [mailto:akark...@travelers.com] 
Sent: Thursday, January 03, 2013 4:15 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] <RegistryValue Root="HKCR"

My WiX application is changing values of Registry keys in HKCU all fine. I just 
now added another registry key to be updated which is in HKCR, I am getting 
below error:

error LGHT0204 : ICE57: Component 'CMP_IE8NonZoneSettings' has both per-user 
and per-machine data with a per-machine KeyPath

<ComponentGroup Id="IE8NonZoneSettingsGroup">
       <Component Id="CMP_IE8NonZoneSettings" Guid 
="{6329FA17-E70E-4D82-955E-09481D8C7AFB}" Directory="INSTALLLOCATION">
              <!--Settings for default browser-->
              <RegistryValue Root="HKCR" Key="HTTP\shell\open\command" 
Value="'C:\Program Files\Internet Explorer\IEXPLORE.EXE' -nohome" Type="string" 
/> (Not working)

<!--Temporary Internet Files '2' = Every time I start IE -->
              <RegistryValue Root="HKCU" 
Key="Software\Microsoft\Windows\CurrentVersion\Internet Settings" 
Name="SyncMode5" Value="2" Type="integer" /> (Working)
</Component>
</ComponentGroup>

Can somebody help me?


Regards,
Aparna Karkare
(O) +91-80 6624 3681 | (M) +91-9742366933


==============================================================================
This communication, including attachments, is confidential, may be subject to 
legal privileges, and is intended for the sole use of the addressee. Any use, 
duplication, disclosure or dissemination of this communication, other than by 
the addressee, is prohibited. If you have received this communication in error, 
please notify the sender immediately and delete or destroy this communication 
and all copies. 
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


==============================================================================
This communication, including attachments, is confidential, may be subject to 
legal privileges, and is intended for the sole use of the addressee. Any use, 
duplication, disclosure or dissemination of this communication, other than by 
the addressee, is prohibited. If you have received this communication in error, 
please notify the sender immediately and delete or destroy this communication 
and all copies. 


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to