I want to call a .exe file from a custom action passing it command line
arguments. I would like to tell the .exe file the insall location which I
think would be TargetDir. Can I use the TargetDir property as a command line
argument for the custom action and if so what is the proper syntax?
Paul - 12 Jan 2005 01:33 GMT
I should have mentioned that this is in a deployment project of visual studio
2003
> I want to call a .exe file from a custom action passing it command line
> arguments. I would like to tell the .exe file the insall location which I
> think would be TargetDir. Can I use the TargetDir property as a command line
> argument for the custom action and if so what is the proper syntax?
Phil Wilson - 12 Jan 2005 15:20 GMT
If you look at the properties of the custom action (select it, F4) you can
put [TARGETDIR] in the Arguments property. It's case-sensitive - using
TargetDir will fail.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
>I want to call a .exe file from a custom action passing it command line
> arguments. I would like to tell the .exe file the insall location which I
> think would be TargetDir. Can I use the TargetDir property as a command
> line
> argument for the custom action and if so what is the proper syntax?