Archive: Problems with latest CVS (or my script..)


Problems with latest CVS (or my script..)
We have a requirement to make a install that requires no user interaction (based on a commandline paramater). I have noticed that MUI is broken slightly in the latest CVS. I have reproduced this problem by making minimal changes to the MUI Basic.nsi, and it still exhibits the same behaviour.

The problem is, is that when we bypass the Welcome page (by using page abort), the InstallFiles page has no header or subtext displayed. I have included the basic.nsi script that exhibits this problem.

To reproduce, use this script, it will include all the files in CWD, and anything below it, make sure there are some largish files, so you get a large install (and thus enough time to see the problem).

When you run the compiled setup normally, it's fine, if you run the compiled setup with the noreboot commanline, you will notice the install files page has no header or subtext.

Is this a NSIS/MUI problem, or have I done something wrong???

Script is attached.


Reproduced. We'll have a look at it.


Thanks. I feel relieved it's not something I am doing wrong for a change!!! :-)


Thanks for your bugreport :)

Ramon uploaded a fix.


Thanks. Can I suggest a feature enhancement. Perhaps as well as having the silent install, having a semi-silent switch. i.e it shows the progress dialog, but that's all. We use this to distribute a large NSIS install from within a larger installer.


You can check for a command line parameter and skip the other pages.


That's what I already do, but if NSIS were to be able to do this for any install, by perhaps different levels of silent switch.

/silent
/nointeract

or something like that.


I don't think this is something many people need and it can be written using the script language.

http://nsis.sourceforge.net/site/ind...5&tx_faq_faq=7