Can we chnage the color of progress bar

Got a problem you cannot solve? Try here.
mukeshnaval
Posts: 6
Joined: Tue Jun 01, 2010 3:31 am

Can we chnage the color of progress bar

Postby mukeshnaval » Wed Jun 16, 2010 1:22 am

Hi,

Can we chnage the color of progress bar control.
Currently it showing the progress in green colour. I want to change it so it will show the progress in yellow.

Thanks & Regards
Mukesh

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Can we chnage the color of progress bar

Postby MichaelNesmith » Wed Jun 16, 2010 4:11 am

Yes:

PROGRESSMODE: Initially an empty string. If set to MARQUEE, the standard ProgressBar control will move like a marquee, ideal for use with tasks whose completion times are indeterminate. On Windows 7, two more progress modes are available: ERROR and PAUSE. Setting this variable to ERROR will display installation progress on the taskbar in red color, alerting the end-user that a possibly fatal error has occured. Setting this variable to PAUSE will display installation progress on the taskbar in yellow color, alerting the end-user that their attention is required for installation to resume. While you may set and use these progress modes at any time to change the installation taskbar progress color from the default green color to red or yellow, it is recommended to do so only when end-user attention is actually required to continue (or abort) setup. These additional progress modes have no effect earlier than Windows 7.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

mukeshnaval
Posts: 6
Joined: Tue Jun 01, 2010 3:31 am

Re: Can we chnage the color of progress bar

Postby mukeshnaval » Fri Jun 18, 2010 5:50 am

thanks for reply.

But if we set the PROGRESSMODE = Pause.
It will set the progress color to yellow in task bar, not the actual progress bar color. progress bar color is still green.
and sincce this feature is available in the windows 7 only. not other OS.

I want the solution that will set actual progress bar color not the taskbar progress color.


Regards,
Mukesh Naval

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Can we chnage the color of progress bar

Postby MichaelNesmith » Fri Jun 18, 2010 4:59 pm

Ah, good point. The actual progress bar currently supports marquee and regular modes only. It would have to be a custom control to get it working on non-Windows 7 OS's with other colors too, so I am not sure if this is worth putting in a request for to R&D, since you'd be stuck with green on other platforms.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

Re: Can we chnage the color of progress bar

Postby ulrichard » Tue Jun 22, 2010 1:48 am

Correct me if I'm wrong, but I think some themes use an avi video as the progress bar e.g. swoosh.avi that you could easily replace.
http://www.pointline.com
http://www.paraeasy.ch
http://ulrichard.ch

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Can we chnage the color of progress bar

Postby MichaelNesmith » Tue Jun 22, 2010 3:52 am

Sure, but it wouldn't be an actual progress bar, would it?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

OttawaDeveloper
Posts: 3
Joined: Tue Aug 30, 2016 11:57 am

Re: Can we chnage the color of progress bar

Postby OttawaDeveloper » Wed Aug 31, 2016 8:51 am

Well this is an old thread, however it is what i am trying to do.
I am using the latest X5 verison of InstallAware.

The progress bar seems to have properties: BarColor and BackgroundColor.
I have not found any documentation about these, but expected them to have an effect on the color.
Is this a new feature that has not been completed maybe?

I am simply looking to change the progress color from green to red, but otherwise not change how it works.
I tried some of the ideas found here, and a few more.
Some seem to have an effect in the designer, but when installer is built, do not get same results.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Can we chnage the color of progress bar

Postby FrancescoT » Thu Sep 01, 2016 4:02 pm

Dear OttawaDeveloper,

unfortunately it's still not possible to change the color of a progress-bar.

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 106 guests