Page 1 of 1
Can we chnage the color of progress bar
Posted: Wed Jun 16, 2010 1:22 am
by mukeshnaval
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
Re: Can we chnage the color of progress bar
Posted: Wed Jun 16, 2010 4:11 am
by MichaelNesmith
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.
Re: Can we chnage the color of progress bar
Posted: Fri Jun 18, 2010 5:50 am
by mukeshnaval
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
Re: Can we chnage the color of progress bar
Posted: Fri Jun 18, 2010 4:59 pm
by MichaelNesmith
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.
Re: Can we chnage the color of progress bar
Posted: Tue Jun 22, 2010 1:48 am
by ulrichard
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.
Re: Can we chnage the color of progress bar
Posted: Tue Jun 22, 2010 3:52 am
by MichaelNesmith
Sure, but it wouldn't be an actual progress bar, would it?
Re: Can we chnage the color of progress bar
Posted: Wed Aug 31, 2016 8:51 am
by OttawaDeveloper
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.
Re: Can we chnage the color of progress bar
Posted: Thu Sep 01, 2016 4:02 pm
by FrancescoT
Dear OttawaDeveloper,
unfortunately it's still not possible to change the color of a progress-bar.
Regards.