使用Orca从命令行编辑msi?

编程入门 行业动态 更新时间:2024-10-26 02:24:18
本文介绍了使用Orca从命令行编辑msi?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Visual Studio 2008并为我的应用程序创建了一个安装项目。该应用程序具有高分辨率图标(适用于Vista)。 Visual Studio中存在一个错误,安装程序会创建一个低分辨率图标的桌面快捷方式。

I'm using Visual Studio 2008 and have created a setup project for my application. The application has a high-resolution icon (for Vista). There's a bug in Visual Studio, and the installer creates a desktop shortcut with a low resolution icon.

我在Microsoft Connect中记录了这个错误( connect.microsoft/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=338258 )并最终得到一个答案,即使用Orca编辑msi文件并替换图标。这个解决方案运行正常。

I logged this bug in Microsoft Connect (connect.microsoft/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=338258) and finally got an answer, which is to use Orca to edit the msi file and replace the icon. That solutions works fine.

现在我想自动化这个过程,所以我可以将它包含在我的构建脚本中。有没有办法做到这一点?

Now I want to automate that process, so I can include it in my build script. Is there a way to do that?

推荐答案

您可以编写VBS,JS(使用cscript,内置于每个Windows )修改MSI,语法几乎就像SQL一样。 这是一个显示各种示例的MSDN页面。

You can write VBS, JS (using cscript, which is built in with every Windows) to modify the MSI, the syntax is pretty much SQL like. Here is a MSDN page that shows various examples.

更多推荐

使用Orca从命令行编辑msi?

本文发布于:2023-10-23 00:18:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1519177.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:命令行   编辑   Orca   msi

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!