Re: [WiX-users] Write STX (Start of Text / ASCII 2) to a registry string
Have a look at Type=binary (REG_BINARY), eg. RegistryValue Root=HKLM Key=Software\SomeKey Name=SomeValue Value=0200 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
Re: [WiX-users] Write STX (Start of Text / ASCII 2) to a registry string
Yup, I ended up doing that, I would have liked to keep the value type as string but this will suffice. Thanks, Keith Moore -Original Message- From: robert_h_yang [mailto:robert_y...@non.agilent.com] Sent: Tuesday, 20 December 2011 5:06 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Write STX (Start of Text / ASCII 2) to a registry string Have a look at Type=binary (REG_BINARY), eg. RegistryValue Root=HKLM Key=Software\SomeKey Name=SomeValue Value=0200 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 # Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. # -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Write STX (Start of Text / ASCII 2) to a registry string
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. # Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. # -- 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