Archive: Uninstall ProgressBar


Uninstall ProgressBar
Is there a way to take control of the ProgressBar in the MUI_UNPAGE_INSTFILES?

Eg: set a new range

Thanks


You can try the RealProgress plug-in (which is old and buggy BTW), or add a new progress bar using Resource Hacker over the old one and use PBM_SETPOS to control it (which is what RealProgress does; you cannot control the original progress bar because NSIS sends PBM_SETPOS itself).

Stu


Maybe you could try to set new WndProc for that progress bar and process all WM_ messages for it --- just quick idea.


That could work if you ignore messages sent with an lParam of 0 and only accept messages with an lParam of 1 but I think it'd be easier just to add a new progress bar rather than subclassing the existing one.

Stu


Thanks all for the help, I did go with the RealProgress plugin and it works just fine for me.

Thanks again.