开发者

How to show files being copied, moved,etc. on installer screen using WIX

I have my installer and is working fine.

What I want to add more is that I want to show the work done by installer o开发者_如何学Pythonn installer screen (Example, installing Microsoft SQL Server 2005, we get the files being copied, moved, registry entry created,......)

Similarly I want to show this on my installer.

So can anyone help me on this to how to show all these at runtime on installer screen.

Thanks, Sunil


Just copying my answer to the same question on wix-users list:

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.

Hope this helps,

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜