The skeleton used to build patches
authorRod Widdowson <rdw@steadingsoftware.com>
Mon, 4 Jun 2012 13:51:47 +0000 (13:51 +0000)
committerRod Widdowson <rdw@steadingsoftware.com>
Mon, 4 Jun 2012 13:51:47 +0000 (13:51 +0000)
msi/WiX/Patch.wxs [new file with mode: 0644]

diff --git a/msi/WiX/Patch.wxs b/msi/WiX/Patch.wxs
new file mode 100644 (file)
index 0000000..fa3e04d
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>\r
+  <PatchCreation\r
+     Id='{1E09E74F-D547-464B-80B7-1FF63C496BAB}'\r
+     CleanWorkingFolder='yes'\r
+     OutputPath='patch.pcp'\r
+     WholeFilesOnly='yes'\r
+     >\r
+    \r
+    <!-- Information oput into the summary (Details) field -->\r
+    <PatchInformation \r
+       Description='This patch does something' \r
+       Comments='comments' \r
+       Manufacturer='Shibboleth Consortium'/>\r
+    \r
+    <!-- Recommended values for 'Classification' are\r
+         Critical Update, Hotfix, Security Rollup, Security Update, Service Pack, Update, Update Rollup. \r
+\r
+         DisplayName goes into the Name Column for "View installed updates" in control panel's "Porgram and Feature".\r
+      -->\r
+    <PatchMetadata\r
+       AllowRemoval='yes'\r
+       Description='This patch does something'\r
+       ManufacturerName='Shibboleth Consortium'\r
+       TargetProductName='Shibboleth SP Version'\r
+       MoreInfoURL='http://www.shibboleth.net/secadv/bla/bla'\r
+       Classification='Update' \r
+       DisplayName='Shibboleth Patch sevadv blabla'/> \r
+    \r
+    <!-- Note:\r
+         That SequenceStart must be greater than the last\r
+         sequence in the File table in the target package or the patch\r
+         will not install. -->\r
+\r
+    <Family DiskId='5000'\r
+            MediaSrcProp='Sample' \r
+            Name='Sample'\r
+            SequenceStart='5000'>\r
+      <UpgradeImage SourceFile='C:\My Downloads\shib\SPInst\patch\251\admin\ShibbolethSP-main-x64.msi' Id='SampleUpgrade'>\r
+        <TargetImage SourceFile='C:\My Downloads\shib\SPInst\patch\250\admin\ShibbolethSP-main-x64.msi' Order='2'      \r
+                     Id='SampleTarget' IgnoreMissingFiles='no' />\r
+      </UpgradeImage>\r
+    </Family>\r
+    \r
+    <!-- Supersede:  Set this value to 'yes' to indicate that this patch will\r
+         supersede all previous patches in this patch family.  The\r
+         default value is 'no'. \r
+         \r
+         PatchFamily is the version of patch - nothing to do with the version of Shibboleth Installed\r
+      -->\r
+\r
+    <PatchSequence PatchFamily='SamplePatchFamily'\r
+                   Sequence='1.0.0.0'\r
+                   Supersede='no' />\r
+    \r
+  </PatchCreation>\r
+</Wix>\r