Creating a MSI patch (.msp) by hand?

Posted by Jerry Chong on Stack Overflow See other posts from Stack Overflow or by Jerry Chong
Published on 2010-03-19T02:20:25Z Indexed on 2010/03/19 2:21 UTC
Read the original article Hit count: 363

Filed under:
|
|
|
|

Our team has recently been considering pushing out a minor registry fix to users to modify one particular problematic key. Pretty straightforward stuff, just needed to update 1 key/value inside the registry.

So at the moment, we are using Wix to build .msi installers for the product. While looking into Wix's support for generating .msp patch files, it seems that the only way to create an .msp is a somewhat overcomplicated multi-step process to:

  1. Get a copy of the original MSI, and compile a new copy of the fixed MSI
  2. Write a new Wix file that points to both installers
  3. Compile the Wix file into a .wixobj with Candle to a .psp
  4. Run Torch/Pyro over before/after snapshots of the original installers and the .psp, or alternatively using MsiMsp.exe

Now my question is, can't I simply describe the registry change into a Wix file and directly compile it into the .msp, without step 1 and 4 - which is a huge amount of effort for just a simple change?

© Stack Overflow or respective owner

Related posts about msi

Related posts about wix