Have a look at Type="binary" (REG_BINARY), eg.

        <RegistryValue Root="HKLM" Key="Software\SomeKey" Name="SomeValue" 
           Value="02000000" Type="binary" Action="write" />

-Rob


Keith Moore wrote
> 
> Is there a way to write a the STX character to the registry?  I am using
> Wix 3.5.
> 
> I have the registry import file below:
> -----------------------------------------
> Windows Registry Editor Version 5.00
> 
>  [HKEY_LOCAL_MACHINE\SOFTWARE\SomeKey]
> "SomeValue"=hex(1):02,00,00,00
> -----------------------------------------
> 
> And I tried to use heat to harvest from it but I get the error "heat.exe :
> error HEAT0001 : Unsupport registry value "SomeValue"=hex(1):02,00,00,00
> at line 4"
> 
> I've also tried using &#2; in the wxs file but that gives me an XML
> parsing error " Character ' ', hexadecimal value 0x2 is illegal in XML
> documents"
> 
> Any ideas how I could write this value, I would also like to write &#10;
> 
> Thanks.
> 


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Write-STX-Start-of-Text-ASCII-2-to-a-registry-string-tp7107136p7109135.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to