I want something like the following:
<RegistryValue Id="Command"
Root="HKCR"
Key="myProgram\shell\open\command"
Type="string"
Value='"[SERVER_DIRECTORY]myProgram.exe" "%1"'
Action="write">
</RegistryValue>
Where [SERVER_DIRECTORY]
is the directory myProgram.exe
is installed to (ProgramFiles64Folder\MyProgram
). How can I do this?
It should work the way you tried. But you can reference myProgram.exe
as [#myProgram]
(meaning myProgram
is the Id
of a File
element). See the Formatted type description for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With