I just realized this was already replied to. Apologies for the spam, everyone.
-----Original Message----- From: Mike Carlson (DEV DIV) Sent: Monday, March 22, 2010 11:26 AM To: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] (no subject) The problem you're running into is that in the MSI world, "[PropertyName]" is used to dynamically (at install-time) pull in the value of a property. So, you need to escape your bracket so it isn't looked at in that way. To escape "[" replace it with "[\[]" To escape "]" replace it with "[\]]" The full doc page for this is here: http://msdn.microsoft.com/en-us/library/aa368609%28VS.85%29.aspx -----Original Message----- From: Patrick Choiniere [mailto:patr...@pcpatricks.com] Sent: Friday, March 19, 2010 6:47 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] (no subject) Hi everyone, I've got a problem I need to solve. When I use the following line below in WIX the linker (lights) gives me an error message. Line: <RegistryValue Name="RegistrationKey" Value="do(&3j%^hP+_2kmfy%f2j`_)[d" Type="string" /> Error message: error LGHT0204 : ICE03: Invalid format string; Table: Registry, Column: Value, Key(s): reg328E9EEEC11F14FEA06055693FAF3FDA I discovered that if I remove the left square bracket "[" from the Value as follows it will compile and link. Now for the $64,000 question, I need the [ in there how do I do this? Line: <RegistryValue Name="RegistrationKey" Value="do(&3j%^hP+_2kmfy%f2j`_)d" Type="string" /> Thanks in advance, Patrick Choiniere ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users