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
- :
- Compact Project - Registry Square Brackets
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
Nov 14, 2007
03:24 PM
Compact Project - Registry Square Brackets
Using a compact project I want to set a registry value to [CheckIn("%1")]
but it always writes C:\. I've tried this with other project types and it works as it should, but not with compact projects. It seems that if you have anything between square brackets the whole lot gets replaced with C:\.
I've tried escaping the square brackets with the backslash character but that doesn't work. \[bla\] gives me \C:\.
Any help here?
Also (not that I want to do this) having one open bracket like "[bla" causes the installer to freeze on Installing Registry Item: - while taking up all the CPU and not even a cancel can stop it.
but it always writes C:\. I've tried this with other project types and it works as it should, but not with compact projects. It seems that if you have anything between square brackets the whole lot gets replaced with C:\.
I've tried escaping the square brackets with the backslash character but that doesn't work. \[bla\] gives me \C:\.
Any help here?
Also (not that I want to do this) having one open bracket like "[bla" causes the installer to freeze on Installing Registry Item: - while taking up all the CPU and not even a cancel can stop it.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 14, 2007
10:28 PM
If it's any help the XML file has [\[]Import("%1")[\]] for the value, which is the same as the XML from the Basic MSI project (which works).
So this looks like a bug in the Compact Installer.
So this looks like a bug in the Compact Installer.