user1234
user1234

Reputation: 309

How to create progress bar from the start of Execwait function till the end of Execwait in NSIS?

How to create progress bar from the start of Execwait function till the end of Execwait in NSIS?

I have a custom page, In the leave function of custom page I am calling some other function and then I call uninstaller to install the previous version. I would like to display progress bar or any other UI just to convey to the user tat un-installation is going on. After this uninstallation installation of the current version will be called.

Any help is highly appreciated!!

Upvotes: 1

Views: 896

Answers (3)

Frank S. Thomas
Frank S. Thomas

Reputation: 4775

You could use the Marquee plugin to show a scrolling text during the ExecWait call:

Marquee::start /NOUNLOAD /color=0x000000 /top=80 "Running $PROGRAM"
ExecWait "$PROGRAM"
Marquee::stop

Upvotes: 0

Anders
Anders

Reputation: 101666

If you are executing a MSI then there is an API so you can monitor the progress. NSIS does not have native support for this though...

Upvotes: 1

Seki
Seki

Reputation: 11465

I think it is not possible to Monitor the ExecWait progression.

I you can modify the uninstaller that is started via ExecWait, try to show a progression in that part.

Upvotes: 0

Related Questions