cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mikegru
Level 4

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?
Labels (1)
0 Kudos
(1) Reply
mikegru
Level 4

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.
0 Kudos