以编程方式修改补丁创建属性 (.pcp) 文件?
有没有办法使用 msiexec.exe 和 msimsp.exe 以及补丁创建属性文件来编写修补程序构建的完整过程?
我使用 msiexec.exe 创建前后 msi 文件的网络安装,使用 Orca 创建 .pcp 文件,使用 msimsp.exe 创建补丁文件。
我一直在遵循这两篇文章中的步骤:
假设我已创建从 1.0 到 1.1 的补丁,现在想要创建从 1.1 到 1.2(或 1.0 到 1.2)的补丁。我想重复使用用 Orca 创建的 .pcp 文件,但对该文件的任何修改都应通过脚本(例如 VBScript)完成,而不是必须再次在 Orca 中打开它。据我了解,我至少必须更改 PatchGUID 值。
如何使用脚本进行此类修改?
Is there a way to script the complete process of a hotfix build using msiexec.exe and msimsp.exe with a Patch Creation Properties file?
I use msiexec.exe to create network installations of the before and after msi files, Orca to create a .pcp file, and msimsp.exe to create the patch file.
I have been following the steps in these two articles:
How to create installation patches for VS.NET deployment projects
Suppose I had created a patch from 1.0 to 1.1 and now want to create a patch from 1.1 to 1.2 (or 1.0 to 1.2). I would like to reuse the .pcp file I created with Orca, but any modifications to that file should be done through scripting (e.g. VBScript) rather than someone having to open it in Orca again. From what I understand, I have to - at the very least - change the PatchGUID value.
How do I make such a modification using scripting?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么不采用 WIX 方式:
http://wix.sourceforge.net/manual-wix3/patch_building.htm
Why not the WIX way:
http://wix.sourceforge.net/manual-wix3/patch_building.htm