cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Show a Progress Bar in the Dialog

How to Show a Progress Bar in the Dialog

Summary

This article discusses how to display a progress bar indicator when copying files.

Synopsis

This article discusses how to display a progress bar indicator when copying files.

Discussion

The following code can be used display a progress bar. The progress bar makes use of the following functions:

Enable (Status): Enables the display of the progress indicator (status bar).

StatusUpdate: The StatusUpdate function enables or disables the link between file transfer operations and the progress indicator of the status bar. When bLink is ON, the link is enabled and nFinalPercent specifies a final percentage to be displayed at the end of the next file transfer.

SetStatusWindow: The SetStatusWindow function sets an initial or current value for the percentage complete indicator of the progress indicator (status bar) and specifies the current message to display on the top line of the progress indicator.

Disable (Status): Disables and hides the progress indicator (status bar).

Enable(STATUS);
StatusUpdate(ON, 100);
SetStatusWindow(0, "Installation in progress...");
SetStatusWindow(100, "Installation complete");
Delay(2);
Disable(STATUS);

Was this article helpful? Yes No
No ratings
Comments

This looks like InstallScript so its not clear that its appropriate for Basic MSI. Why is it not clearly marked as such and where are the topics relating to Basic MSI progress bar usage?

Is this solution works only for Install Script templates. 

How to achieve the same in Basic MSI templates. 

Any leads?

 

Thanks.

Version history
Last update:
‎Jan 09, 2008 11:55 AM
Updated by: