In case of installation on x64 I need to write two registry values:
1) <RegistryValue Root="HKLM" Key="SOFTWARE\Microsoft\Exchange" Name="Info" Type="string" Action="write" Value="8">
2) <RegistryValue Root="HKLM" Key="SOFTWARE\Wow6432Node\Microsoft\Exchange" Name="Info" Type="string" Action="write" Value="9"/>
I'm using <?if $(var.PlatformName) = x64 ?>
to check if I'm on x64.
On win 7 64-bit it works fine, but on xp 64-bit it writes the value of the second key ("9") to the place of the first key (I guess it overwrites the first key). Any idea why? or how should I solve it?