|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] 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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|