Hello,

I have a requirement that my 64 bit msi should create registry entries on the 
Wow6432Node.

In my wix file, I have the following logic

<?ifdef BUILDi386?>
      <RegistryValue Id="Reg01" Root="HKLM" 
Key="SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\UCMA SDK V2.0 Assemblies" 
Type="string" Value="[INSTALLDIR]Bin" />
<?endif ?>
<?ifdef BUILDAMD64?>
      <RegistryValue Id="Reg01" Root="HKLM" 
Key="SOFTWARE\Wow6432Node\Microsoft\.NETFramework\AssemblyFolders\UCMA SDK V2.0 
Assemblies" Type="string" Value="[INSTALLDIR]Bin" />
<?endif ?>

Specifically, I force going to the WowNode if the build is for creating a 64 
bit msi.

However, I observe that on a 64 bit build, the registry entry is always created 
in the normal hive (SOFTWARE\Microsoft\.NETFramework\AssemblyFolders) and not 
on the WOW node (SOFTWARE\Wow6432Node\Microsoft\.NETFramework\AssemblyFolders)

I was wondering if someone could help me on how to achieve it. What could I be 
missing?

Thanks in advance,
Aseef.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to