English 中文(简体)
Modifying Patch Creation Properties (.pcp) file programmatically?
原标题:

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

Patching and Updates

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?

问题回答




相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

msi install program as startup

is it possible to install a program as a start up program using MSI installer?

Web Setup Project - Repair to overwrite files

I have a web setup project that creates an MSI. After first installation, my web site has some config files that can be modify manually. When triggering that MSI again, I am offered to repair the ...

Visual Studio Setup Projects: Cleartype

I use a Visual Studio Setup project to create an installer for some assemblies. However, the fonts the installer uses are always aliased, and don t appear to be the Windows standard. (source: ...

Implementing Update functionality

I want to implement the Update functionality for one of my .NET application. I saw that the Advanced Installer contains this functionality. Anybody recommends Advanced Installer for updating my ...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

热门标签