Skip to content
⌘ NSIS Forum Archive

Setup with parameters through cmd

4 posts

Davion#

Setup with parameters through cmd

Is there a way to execute a NSIS Setup per Commandline?
Ok, I'll Specify what I mean

normally you have to choose the installpath, the Setup Type etc in the Setup Dialogs

but is there a way to call the Setup.exe through the commandline like this:
c:\>Setup.exe /c:\Program Files\Folder /normal /no shortcuts

to run the setup Silent, installing on "c:\Program Files\Folder" as a "normal" Setup and creating "no shortcuts"?

Is there a way to realize this, or Do I need a special plugin?

thanks in advance

Dave
evilO#
Hi Davion 🙂

No plugin is needed for that.. NSIS setups support the silent mode, providing that you do a bit of coding 😁

Check these links, everything you need is there:


4.12 Silent Installers/Uninstallers





B.3 Get command line parameters




Example:




Good luck 😉

evilO/Olive
Davion#
And this would give me the ability to enter all the needed input in the cmd and run the Setup Silent?