Old 22nd September 2006, 07:57   #1
aryu
Junior Member
 
Join Date: Sep 2006
Posts: 4
Can I define my own Parameters for the Setup.exe

Hello,

I've got a problem: Since there're only few differences between upgrade and installation, I want to merge them into a unique script. I want to have a parameter to inform the Setup.exe whether it runs for upgrade or for installation.
How can I do it? Thanks
aryu is offline   Reply With Quote
Old 22nd September 2006, 10:11   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You can pass parameters to the installer on the command line and read them in the script using $CMDLINE.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump