Hi All.

Should each registry entry be it's own component, or should it just be
part of a single component from which the "keypath" is the file that
contains the registy entries?

I would like the add/remove programs repair to fix any registry
entries that have been altered.  Is there a benefit, or downside to
either approach?

For example,

<Component Id="component0" DiskId="1" Guid="PUT-GUID-HERE">
      <File Id="file0" Name="foo.exe" src="C:\tmp\foo.exe" />
</Component>
<Component Id="component1" DiskId="1" Guid="PUT-GUID-HERE">
       <Registry Id="foo.exe" Root="HKCR" Key="test">
             <Registry Value="Company" Type="string" />
       </Registry>
</Component>


or,

<Component Id="component0" DiskId="1" Guid="PUT-GUID-HERE">
      <File Id="file0" Name="foo.exe" src="C:\tmp\foo.exe" KeyPath="yes" />
          <Registry Id="foo.exe" Root="HKCR" Key="test">
              <Registry Value="Company" Type="string" />
          </Registry>
</Component>


Thank you,
Jon

-------------------------------------------------------------------------
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