- NSIS Discussion
- LoadingBar UI
Archive: LoadingBar UI
deguix
4th April 2004 13:33 UTC
LoadingBar UI
When a great idea appears, I have to do it fast...
Loading Bar UI
Loading Bar UI for NSIS is a special UI used to create a real "Loading Bar" [on startup or any other time] for any installer.
See readme for more details (I made it so fast, probably it has some spelling errors).
(I posted it here to see your opinions)
deguix
4th April 2004 13:38 UTC
An example of how it looks like:
Joost Verburg
4th April 2004 13:59 UTC
Wouldn't it be better to create a plug-in for a progress-bar window?
deguix
4th April 2004 14:04 UTC
I don't know, because I can't create one. I don't know any other language than the NSIS language itself, so that's my solution for now. Maybe someone could do that for me...
Joel
4th April 2004 15:17 UTC
The creator can use the Banner plugin as an example, since the dialog is already in the resource.
Shea
14th June 2004 21:32 UTC
Is there a way to change the UI so it shows another progress bar under it? I normally use this UI for installers that download things, like updates or something. When I download things the loading bar just stops in the middle until the download is done then starts moving again. If it's like a 3MB download, and the persons on dial-up it can take a while to download and the bar just sits there. Is there a way to make it so that when NSISdl is called it replaces the text area with another loading bar to show the download progress? Or could it replace the loading bar already there for a loading bar that shows download progress?
Yathosho
14th June 2004 21:49 UTC
would be nice to have some combination of a splash with that progressbar, since i'd be interested in using a ui like this progress-bar (with an image above).
Shea
14th June 2004 22:27 UTC
Maybe deguix will make some more of them just for us! ;-)
deguix
14th June 2004 23:44 UTC
Maybe deguix will make some more of them just for us! ;-)
Sorry, right now I can't, I'm working more on InstallOptionsEx project than even using NSIS. But I don't expect to make plugins, just to modify already existant ones to gain experience.
would be nice to have some combination of a splash with that progressbar, since i'd be interested in using a ui like this progress-bar (with an image above).
Hmmm... I think you can run the loading bar first (with
Wait command and use System plugin to position the loading bar below the image (or somewhere else). Anyways, it's ever better to have a plugin to do all that for you, isn't it?
Is there a way to change the UI so it shows another progress bar under it?
You can't do that without creating another plugin. However you could make show the banner bigger enough to support the original appearance of instfiles page when using NSISdl (without the buttons).
Shea
15th June 2004 01:38 UTC
I resized it to show the download progress bar. But there's a big space between the two. Is there any way I can move the NSISdl progress bar or would I have to edit the source of the plugin?
deguix
15th June 2004 02:39 UTC
[You] have to edit the source of the plugin
Shea
15th June 2004 05:38 UTC
Obviously deguix, you are pretty busy with your InstallOptionsEx plugin, but does anyone else want to help? I'm not much for programming except for NSIS, VBS, HTML, CSS, etc. I've never worked with system plugins or anything before.
Tupsan
5th August 2005 14:04 UTC
LoadingBar
Hi Great thing that LoadingBar. I want to use this in my program wath I do is the following. I install 5 versions of Office in silent mode. I would like to display you Loadingbar during this installation. My code now is:
Section /o "Microsoft Word - Microsoft Excell"
Exec "H:\INSTALL\Microsoft\office_cust\setup.exe TRANSFORMS=versie1.MST /qb /q -n"
SectionEnd
This installation takes up to 2 minutes and during this time I would like to display a Loadingbar or something.
Please help me.
Brgds,
Tusan
deguix
5th August 2005 17:01 UTC
The readme contains the information on how to prepare the UI. The only thing you should note is that all the code for the progressbar to move should be in its script, not in your script.
JasonFriday13
1st May 2006 01:30 UTC
deguix, if you are interested, I have made my own dialog for the loading bar that looks like an MSI loading bar. I have used it for wrapping some of my installers. Take a look.
inbox4sumit
29th June 2007 21:46 UTC
Removed
Removed
saiaman
28th February 2011 13:27 UTC
Icon
Can you show a sample using LoadingBar_Icon.exe and setting the icon and the Executable icon too ?
Thanks a lot
Afrow UK
28th February 2011 13:42 UTC
That icon used is the executable icon. Use !define MUI_ICON (MUI) or Icon to set it.
Stu