开发者

Using OnInstalling feature event in Installshield installscript

开发者 https://www.devze.com 2023-01-16 04:47 出处:网络
I am new to Installshield and having some problems. My Questions are : How Can I use OnIstalling Event of a specific feature to reset the progress bar for the installation of this feature (In this f

I am new to Installshield and having some problems.

My Questions are :

How Can I use OnIstalling Event of a specific feature to reset the progress bar for the installation of this feature (In this feature SQL scripts will be install)?

开发者_StackOverflow中文版and

How reset the progress bar for the installation of a feature ( I need to run SQL Scripts and i want the progress bar to be start from 0% when SQL scripts start installing)

kindly help, your answers will be highly appreciable.


In your OnInstalling handler, try these functions:

SetStatusWindow ( nPercent, szString );
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.

StatusUpdate ( bLink, nFinalPercent );
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. During that file transfer, the status bar is updated smoothly from its current value to the value specified by nFinalPercent. When bLink is OFF, the link is disabled and the progress indicator of the status bar is not updated automatically during subsequent file transfers.

0

精彩评论

暂无评论...
验证码 换一张
取 消