Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 12-19-2009, 07:54 AM   #1
Warrior Member
 
Join Date: Dec 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Command line Argument in exe

Hi, I want to create an installer using NSIS, In which, that installer should accept command line arguments.
for eg:

Let us consider, I have an installer, It contains two exe's, If I run that installer directly, then that should ask the user which exes has to execute. else if I run through command prompt, then that should have capable to accept my command line argument.. In that command line itself I mentioned which one has to install

command line arguments means.

myinstaller_name.exe -firstexe_name

Can Any one help me..

lizalemin is offline   Reply With Quote
Old 12-19-2009, 12:08 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: May 2009
Location: U.K
Posts: 197
Thanks: 5
Thanked 39 Times in 36 Posts
Social Networking View Member's Twitter Profile 
Default Re: Command line Argument in exe

I only have limited knowledge of NSIS... i only use windows from time to time. someone else may be able to help.

I seem to recall NSIS was GetParameters.

EDIT: check the help docs

http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3

http://nsis.sourceforge.net/Docs/AppendixE.html#E.1

Best Ways To Make Money Online

Eight bytes walk into a bar. The bartender asks, “Can I get you anything?”
“Yeah,” reply the bytes. “Make us a double.”
Luke Graham is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
argument, command, exe, line

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 02:20 AM.