Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / January 2005

Tip: Looking for answers? Try searching our database.

command line arguments for custom action

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul - 11 Jan 2005 19:19 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.