Archive: Skipping dialog pages.


Skipping dialog pages.
OK, we have a NSIS 2.0B4 CVS version working really well here (well done devs).

I have 1 problem remaining.

We want to be able to create no user interaction installs (installed as part of parent installs). Note: NOT Silent. We still want to show the progess.

We need this functionality available from a standard install that DOES have user interaction.

What would be the best way to do this? Basically I want a normal install, then when passed a nointeract commandline at runtime (not compile time) just installs without the Welcome, or Finish dialogs, but without the commandline, works normally.

I have the code that reads the commandline working OK, as I use it to supress the reboot dialog, but I also need to supress the Welcome and Finish screens.

Thanks.


Simply call Abort from the pre function of each page you don't want to show, if the right command line switch was passed.