Old 4th April 2004, 12:33   #1
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
LoadingBar UI

When a great idea appears, I have to do it fast...

Loading Bar UI

Quote:
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)
Attached Files
File Type: zip loadingbar.zip (7.1 KB, 7460 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 4th April 2004, 12:38   #2
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
An example of how it looks like:
Attached Images
File Type: png loadingbar.png (1.1 KB, 23358 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 4th April 2004, 12:59   #3
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Wouldn't it be better to create a plug-in for a progress-bar window?

Last edited by Joost Verburg; 4th April 2004 at 13:49.
Joost Verburg is offline   Reply With Quote
Old 4th April 2004, 13:04   #4
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
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...

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 4th April 2004, 14:17   #5
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
The creator can use the Banner plugin as an example, since the dialog is already in the resource.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 14th June 2004, 20:32   #6
Shea
Junior Member
 
Join Date: Jan 2004
Posts: 39
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?
Shea is offline   Reply With Quote
Old 14th June 2004, 20:49   #7
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
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).
Yathosho is offline   Reply With Quote
Old 14th June 2004, 21:27   #8
Shea
Junior Member
 
Join Date: Jan 2004
Posts: 39
Maybe deguix will make some more of them just for us! ;-)
Shea is offline   Reply With Quote
Old 14th June 2004, 22:44   #9
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Quote:
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.

Quote:
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?

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

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 15th June 2004, 00:38   #10
Shea
Junior Member
 
Join Date: Jan 2004
Posts: 39
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?
Shea is offline   Reply With Quote
Old 15th June 2004, 01:39   #11
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Quote:
[You] have to edit the source of the plugin

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 15th June 2004, 04:38   #12
Shea
Junior Member
 
Join Date: Jan 2004
Posts: 39
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.
Shea is offline   Reply With Quote
Old 5th August 2005, 13:04   #13
Tupsan
Junior Member
 
Join Date: Aug 2005
Posts: 18
Exclamation 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
Tupsan is offline   Reply With Quote
Old 5th August 2005, 16:01   #14
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
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.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 1st May 2006, 00:30   #15
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 886
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.
Attached Files
File Type: zip loadingbar_iconmsi.zip (1.9 KB, 1168 views)

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 29th June 2007, 20:46   #16
inbox4sumit
Junior Member
 
Join Date: Jun 2007
Posts: 4
Removed

Removed

Last edited by inbox4sumit; 29th June 2007 at 21:13.
inbox4sumit is offline   Reply With Quote
Old 28th February 2011, 12:27   #17
saiaman
Junior Member
 
Join Date: Feb 2011
Posts: 1
Icon

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

Thanks a lot
saiaman is offline   Reply With Quote
Old 28th February 2011, 12:42   #18
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
That icon used is the executable icon. Use !define MUI_ICON (MUI) or Icon to set it.

Stu
Afrow UK is offline   Reply With Quote
Old 11th December 2019, 21:52   #19
Nutzzz
Member
 
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 69
I needed something like this, but without a description field. The current one looks off-center if the description is left blank, so I tweaked it a bit, and figured I'd share. There's one with the icon on the left, and one without.
Attached Files
File Type: zip LoadingBar_NoDesc.zip (3.7 KB, 72 views)
Nutzzz is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump