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

  • Thread starter Thread starter Mark T..
  • Start date Start date
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
 
I found that [TARGETDIR] is the correct variable

Is there any full list of other variables to be used in the Setup Project?
 
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
 
Back
Top