cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vve_77
Level 3

InstallShield 2008 does not set multi-string values correctly

I've found out that IS 2008 does not set multi-string values correctly. If you view the registry values after installing, they appear to be empty, but if you inspect them binary, you can see the first 2 bytes are 00. When these two bytes are removed, the result is as it should be.

IS incorrectly adds a string terminator at the start.

It's an InstallScript-only project.
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Could you post some code that illustrates the issue?
0 Kudos
vve_77
Level 3

Thanks for reading my post.

Although it's an InstallScript project, I use the standard "System Configuration/Registry" approach. After some fiddling, I saw something strange: the multi-string string field is shown as "[~]string". When I open one and just click OK, it is shown as "string[~]". After running the installer again the reguistry values are correct.

I now now what causes it: "Import REG file", this function adds the incorrect leading zeros. The source REG file does not contain them. It can be reproduced every time.
0 Kudos