> 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

Reply via email to