Skip to content
⌘ NSIS Forum Archive

Help: Dual mode installation

4 posts

papavero64#

Help: Dual mode installation

Hi,
I need to prepare an installer that accept a command line parameter which
allows me to choose from an user interactive installation or a not interactive installation based on a configuration file. Now I have been able to create the configuration file from the interactive installation created with the interactive installation.

I.e.:
install -g (starts the interactive installation and creates the configuration file "conf.ini")

install -f conf.ini (starts the not interactive installation where all the parameters are the same as the previous installation and showing a subset of the windows showed in the interactive mode)

Thanks in advance
Paolo
papavero64#
Thanks for your reply, but I already red the document and just found how to perform an interactive installation or a fully silent one.
I haven't been able to find how to perform two different graphical installation depending on command line parameters.

Paolo
RobGrant#
Mate, just write a quick install script that asks which version they want to install, then depending on their answer Exec another installer, much easier.