- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Property search of registry corrupts DWORD value.
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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,)