views:

23

answers:

1

Hi...

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 on 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

A: 

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,

Yan Sklyarenko

related questions