Hello everyone.
Recently I have faced some very weird issue. Not sure if it is some kind of defect or just my lack of knowledge (which is most probably the case). Here it is: I have naked installer with one single component which contains: <RegistryValue Root="HKLM" Key="Software\MegaProduct" Name="test_value" Value="[TEST]" Type="string" Action="write" /> Nothing suspicious, isn't it? Well when I try to lunch installer from command line and initialize TEST property with some value that begins (!!!) with '#' it fails: Msiexec.exe /i MegaProduct.msi TEST=#somevalue MSI (s) (C8:BC) [10:15:09:412]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\MegaProduct,,BinaryType=0,,) MSI (s) (C8:BC) [10:15:09:412]: Executing op: RegAddValue(Name=test_value,Value=#somevalue,) MSI (s) (C8:BC) [10:15:09:413]: Note: 1: 1406 2: test_value 3: Software\MegaProduct MSI (s) (C8:BC) [10:15:09:413]: Note: 1: 2205 2: 3: Error MSI (s) (C8:BC) [10:15:09:413]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1406 MSI (s) (C8:BC) [10:15:15:492]: Note: 1: 2205 2: 3: Error MSI (s) (C8:BC) [10:15:15:492]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (C8:BC) [10:15:15:492]: Product: MegaProduct -- Error 1406. Could not write value test_value to key \Software\MegaProduct. System error . Verify that you have sufficient access to that key, or contact your support personnel. It seems that hardcoded version works fine: <RegistryValue Root="HKLM" Key="Software\MegaProduct" Name="test_value" Value="#somevalue" Type="string" Action="write" /> Any thoughts why is it happening? Shall I report defect? BR, Vadym. </pre><font face="arial" size="2" color="#736F6E"> <a href="http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature"> <img src="http://www.sdl.com/email.png" border=0><br><br>www.sdl.com </a><br><br> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users