mgillespie
14th October 2003 09:40 UTC
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.
Joost Verburg
14th October 2003 13:43 UTC
Reproduced. We'll have a look at it.
mgillespie
14th October 2003 19:52 UTC
Thanks. I feel relieved it's not something I am doing wrong for a change!!! :-)
Joost Verburg
17th October 2003 20:51 UTC
Thanks for your bugreport :)
Ramon uploaded a fix.
mgillespie
17th October 2003 21:16 UTC
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.
Joost Verburg
17th October 2003 21:25 UTC
You can check for a command line parameter and skip the other pages.
mgillespie
17th October 2003 21:36 UTC
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.
Joost Verburg
17th October 2003 21:44 UTC
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