有没有办法使用自定义操作更改“开始”菜单链接名称的名称

发布于 2024-07-06 08:18:53 字数 142 浏览 8 评论 0原文

我们正在本地化我们的应用程序,需要根据当前的 UI 文化更改“开始”菜单中显示的名称。 我们希望在安装过程中使用自定义操作来执行此操作。 我们正在使用 Windows Installer 部署项目,并且不打算使用任何第三方部署工具。

谢谢你!

We are localizing our application and need to change the name displayed in the Start menu based on the current UI culture. We would like to do this using a Custom Action during the installation. We are using Windows Installer deployment projects and do not plan on using any third party deployment tools.

Thank you!

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

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

发布评论

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

评论(1

悟红尘 2024-07-13 08:18:53

CustomAction 无法修改数据库的内容(执行时它是只读的)。 您必须接管快捷方式的整个创建过程。 在执行此操作之前,我会推荐一个更好的 Windows Installer 创建工具,因为您需要编写大量代码来处理安装和卸载以及引用计数的回滚场景。

有比 Visual Studio 部署项目更好的工具。 有些像 WiX 工具集 是免费的(功能齐全,但需要更多工作)。

A CustomAction cannot modify the contents of a database (it is read-only while executing). You'd have to take over the entire creation of the shortcut. I would recommend a better Windows Installer creation tool before doing that since you'll need to write a lot of code to handle the rollback scenarios for instal and uninstall plus reference counting.

There are better tools out there than the Visual Studio deployment projects. Some like the WiX toolset are free (fully featured but more work).

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