I had to do a similar thing in my WiX project which builds both x86 and x64
MSIs.

Here is how I did some registry keys that needed to go both registry
sections on x64 sytsems.

    <!-- 32-bit Registry Keys - Goes to 32-bit registry section
(WOW6432Node) on 64-bit systems -->
    <Component Id="C_Registry_x86" Guid="PUT-GUID-HERE "
Directory="INSTALLLOCATION" Win64="no">
      <RegistryKey Root="HKLM" Key="SOFTWARE\Acme\Product">
        <RegistryValue Id="x86_Value" Type="string" Name="KeyName"
Value="KeyValue" />
      </RegistryKey>      
    </Component>

    <!-- 64-bit Registry Keys - Goes to standard registry on 64-bit systems,
cannot be included in 32-bit MSI -->
    <?if $(var.Platform)=x64 ?>
    <Component Id="C_Registry_x64" Guid="PUT-GUID-HERE"
Directory="INSTALLLOCATION" Win64="yes">
      <RegistryKey Root="HKLM" Key="SOFTWARE\Acme\Product">
        <RegistryValue Id="x64_Value" Type="string" Name="KeyName"
Value="KeyValue" />
      </RegistryKey>
    </Component>
    <?endif ?>

Hope that helps.
-- 
View this message in context: 
http://n2.nabble.com/64-bit-and-32-bit-Registry-Keys-in-same-MSI-tp4439679p4440161.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to