Velu
Velu

Reputation: 895

How to move progress bar during 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

Upvotes: 2

Views: 1777

Answers (1)

Sunil Agarwal
Sunil Agarwal

Reputation: 4277

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.

Upvotes: 1

Related Questions