Archive: LoadingBar UI


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)

An example of how it looks like:


Wouldn't it be better to create a plug-in for a progress-bar window?


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...


The creator can use the Banner plugin as an example, since the dialog is already in the resource.


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?


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).


Maybe deguix will make some more of them just for us! ;-)


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).

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?


[You] have to edit the source of the plugin

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.


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


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.


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.


Removed
Removed


Icon
Can you show a sample using LoadingBar_Icon.exe and setting the icon and the Executable icon too ?

Thanks a lot


That icon used is the executable icon. Use !define MUI_ICON (MUI) or Icon to set it.

Stu