如何显示正在复制、移动等的文件使用 WIX 在安装程序屏幕上

发布于 2024-08-29 03:45:19 字数 211 浏览 3 评论 0原文

我有我的安装程序并且工作正常。

我想补充的是,我想在安装程序屏幕上显示安装程序完成的工作(例如,安装 Microsoft SQL Server 2005,我们得到正在复制、移动的文件、创建的注册表项,......)

类似地我想在我的安装程序上显示这一点。

那么任何人都可以帮助我解决如何在运行时在安装程序屏幕上显示所有这些内容。

谢谢, 苏尼尔

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

池木 2024-09-05 03:45:19

只需复制我对 wix 用户列表上同一问题的回答:

使用 ProgressText元素。

“模板”属性是放置标记以反映进度的地方。例如,请参阅标准 InstallFiles 操作
表“ActionData messages”列出了该操作的可能标记。

示例:

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

输出:

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

等。

希望这有帮助,

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,

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文