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
- :
- Setting registry value associated with component
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
Oct 28, 2010
08:53 AM
Setting registry value associated with component
I have component which is set up to put down a registry key in HKCR. The (Default) value in the key is a type string whose value is a fully qualified path to one of our executables. I want to wrap that path in quotes, so that it gets inserted into the registry as:
"C:\Program Files\Company\something.exe"
and not
C:\Program Files\Company\something.exe
I've tried the literal string with quotes. No go.
I've tried escaping the quote chars with \". No go.
I've tried wrapping it with brackets (saw this in some other post) [\"]. No go.
Is this possible?
"C:\Program Files\Company\something.exe"
and not
C:\Program Files\Company\something.exe
I've tried the literal string with quotes. No go.
I've tried escaping the quote chars with \". No go.
I've tried wrapping it with brackets (saw this in some other post) [\"]. No go.
Is this possible?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 28, 2010
10:26 AM
Some genius had a custom action that was overwriting the registry value put down with the component. So having quotes in the registry value is fine. There is no need to escape them.
By the way, that genius was me.
By the way, that genius was me.