This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: InstallShield 2008 does not set multi-string values correctly
Subscribe
- 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
‎Jan 18, 2008
05:02 AM
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.
IS incorrectly adds a string terminator at the start.
It's an InstallScript-only project.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 18, 2008
10:06 AM
Could you post some code that illustrates the issue?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2008
02:54 AM
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.
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.