Sonntag, 24. Februar 2013

BURN #03: Applying patches in the bootstrapper

Slipstreaming msp packages (like tweaking the RTM installer to install patches automatically)

Technically, slipstreaming is installing the patch-msp with the msi in a single transaction:
msiexec /i D:\product.msi PATCH=D:\patch.msp

Andreas Kerl's .NET-dev article explained how to slipstream patches into an installer:
<PackageGroup Id="Product">
  <MsiPackage Id="Product" Name="packages\product.msi">
    <SlipstreamMsp Id="Patch"/>
  </MsiPackage>
  <MspPackage Name="packages\patch.msp"/>
</PackageGroup>

Well, that does not seem to be necessary, much simpler and also working due to the MspPackage/@Slipstream attribute being set to 'yes' always, this works too:
<PackageGroup Id="Product">
  <MsiPackage Id="Product" Name="packages\product.msi"/>
  <MspPackage Id="Patch" Name="packages\patch.msp"/>
</PackageGroup>

See Stewart Heath's article.

Keine Kommentare:

Kommentar veröffentlichen