Home All Groups Group Topic Archive Search About

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

Author
13 Jan 2005 8:22 AM
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

Author
13 Jan 2005 9:18 AM
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?


Mark T.. wrote:
Show quote
> 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
>
Author
14 Jan 2005 5:26 PM
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

Show quote
"Mark T.." <Any@NoSpam.Any> wrote in message
news:eXO%23R%23U%23EHA.3368@TK2MSFTNGP10.phx.gbl...
>I found that [TARGETDIR] is the correct variable
>
> Is there any full list of other variables to be used in the Setup Project?
>
>
> Mark T.. wrote:
>> 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
>>
>

AddThis Social Bookmark Button