Sadly, the Windows Installer doesn't support that.

On Fri, Nov 19, 2010 at 2:16 PM, Brian Pang <bria...@yahoo.com> wrote:

> 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>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to