cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tdhintz
Level 6

Property search of registry corrupts DWORD value.

When an InstallShield project performs a property search for a DWORD value it stores it in the property in the form "#Value".  For example, a DWORD value of 0x1 is stored in the property as "#1".  If the install also writes this property to the registry another "#" is prepended resulting in "##1".  This appears to be interpreted as the string "#1" instead of a DWORD.  This causes the installed software to fail because the value is now a string, not a DWORD.

How can the property search be corrected?  The added hash symbol is not compatible with the registry write operation.

Example:


AppSearch: Property: SQL_ENCRYPT, Signature: NewSignature15
MSI (c) (78:C0) [09:00:44:158]: PROPERTY CHANGE: Modifying SQL_ENCRYPT property. Its current value is '0'. Its new value: '#1'.

...

MSI (s) (E8:BC) [09:03:14:190]: Executing op: RegAddValue(Name=EncryptSQL,Value=##1,)

Labels (1)
0 Kudos
(0) Replies