I have tried prefexing # for all the DWORD types but after running the MSI i
see that the registry is getting updated as type REG_SZ



John Hall-9 wrote:
> 
>> It seems that MSI cannot write REG_DWORD type values to 
>> registry..Wht is the workaround for this?
> 
> Anidil,
> 
> The documentation for the registry table in MSI says:
> 
> "This column is the localizable registry value. The field is Formatted.
> If the value is attached to one of the following prefixes (i.e. #%value)
> then the value is interpreted as described in the table. Note that each
> prefix begins with a number sign (#). If the value begins with two or
> more consecutive number signs (#), the first # is ignored and value is
> interpreted and stored as a string.
> 
>  #x The value is interpreted and stored as a hexadecimal value
> (REG_BINARY). 
>  #% The value is interpreted and stored as an expandable string
> (REG_EXPAND_SZ). 
>  # The value is interpreted and stored as an integer (REG_DWORD). 
> 
> So just put a '#' on the front of your number: Value='#1'
> 
> Regards,
> John
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-writing-registry-values-tf4149618.html#a11806670
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to