Setup project's Registry Editor ... Directory shell command?

M

Mark T..

I need to register MyEXE as described bellow:

[HKEY_CLASSES_ROOT\Directory\shell\MyAppCommand\Command]
@="C:\Program Files\UserChosePath\MyEXE.exe %1"


What variable shall I use in the Setup project's Registry Editor

HKEY_CLASSES_ROOT\Directory\shell\MyAppCommand\Command
(Default) [??????]\MyEXE.exe %1


[TargetDir] returns empty


MT
 
M

Mark T..

I found that [TARGETDIR] is the correct variable

Is there any full list of other variables to be used in the Setup Project?
 
P

Phil Wilson

They're Windows Installer properties, start here:
http://msdn.microsoft.com/library/en-us/msi/setup/properties.asp?frame=true
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

Mark T.. said:
I found that [TARGETDIR] is the correct variable

Is there any full list of other variables to be used in the Setup Project?

I need to register MyEXE as described bellow:

[HKEY_CLASSES_ROOT\Directory\shell\MyAppCommand\Command]
@="C:\Program Files\UserChosePath\MyEXE.exe %1"


What variable shall I use in the Setup project's Registry Editor

HKEY_CLASSES_ROOT\Directory\shell\MyAppCommand\Command
(Default) [??????]\MyEXE.exe %1


[TargetDir] returns empty


MT
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top