开发者

How to move progress bar during custom action

开发者 https://www.devze.com 2022-12-29 04:39 出处:网络
While running the custom action in the installer there is no progress bar. We are using the Immediate C# manage code custom action.

While running the custom action in the installer there is no progress bar. We are using the Immediate C# manage code custom action.

Is any other ways to show the progress while running the custom action ?

Advance thanks \ Velu开发者_开发问答


Use ProgressText element.

The 'Template' attribute is the place to put tokens to reflect the progress. See the standard InstallFiles action for example. The table "ActionData messages" lists the possible tokens for this action.

Sample:

<ProgressText Action="InstallFiles" Template="File: [9][1]">!(loc.InstallFilesActionText)</ProgressText>

Outputs:

File: C:\Program Files\MyApp\bin\my.dll

etc.

0

精彩评论

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