Brian Pang
2010-11-19 22:16:21 UTC
Hi,
RegistrySearch for REG_DWORD handling using WiX Installer.
After the RegistrySearch it returns REG_SZ with "#1".
How do you resolve this issue so it will set the return type to an REG_DWORD and
value of 1?
Thanks in advance!
<Property Id="PORT" Value="12345"> <RegistrySearch Id="idPORT"
Key="SOFTWARE\Company\Product" Name="Port" Root="HKLM" Type="raw" />
</Property> <File ..........> <RegistryKey Root="HKLM"
Key="SOFTWARE\Company\Product" Action="create"> <RegistryValue
Name="Port" Value="#[PORT]" Type="integer" /> </RegistryKey> </File>
RegistrySearch for REG_DWORD handling using WiX Installer.
After the RegistrySearch it returns REG_SZ with "#1".
How do you resolve this issue so it will set the return type to an REG_DWORD and
value of 1?
Thanks in advance!
<Property Id="PORT" Value="12345"> <RegistrySearch Id="idPORT"
Key="SOFTWARE\Company\Product" Name="Port" Root="HKLM" Type="raw" />
</Property> <File ..........> <RegistryKey Root="HKLM"
Key="SOFTWARE\Company\Product" Action="create"> <RegistryValue
Name="Port" Value="#[PORT]" Type="integer" /> </RegistryKey> </File>