Normally patch sequencing (and patch targeting) are done when building the MSPs
themselves by manipulating their applicability (targeting) and sequencing
(patchfamily) metadata.
In your MBA you can only control what users do using your bundle, you cannot
control what they do by using alternate means of accessing the Windows
Installer APIs. Controls there would, once again, have to be contained in your
MSPs.
RelatedBundle is used to associate (in various ways) other "Burn" bundle
packages so that already installed bundles "know" about them once installed, or
alternately are removed, as configured.
OnDetectTargetMsiPackage and OnPlanTargetMsiPackage are used to allow you to
gather and control if any given MSP will be added/removed from any given MSI,
so you have the info needed to ensure that things are not installed/removed
out-of-order. The actual order-of-application/removal if multiple MSPs are
selected is determined by Windows Installer using the MSP's own sequencing
metadata (which requires Windows Installer 3.0 or greater).
> Date: Wed, 2 Oct 2013 12:55:35 -0700
> From: tomer.d...@intergraph.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Sequencing Patches with MBA
>
> Hi,
>
> I have a MBA and I need to support 2 types of release
>
> 1. Which warn the user if a previous version exists and ask him to remove it
> from ARP first
> 2. Removable patch
>
> I have couple questions
>
> 1. I am not sure where and if I need to use <RelatedBundle….
> Action="Patch"/> in MBA
>
> 2. How can I ensure correct sequencing of patches, is this done with the
> DetectTargetMsiPackage event?
>
> 3. Assuming I install Patch 1, 2, 3 – I would like to prevent the user from
> uninstalling patch 2 befire uninstalling patch 3 ...how can I detect user
> remove a "middle" patch?
>
> Thanks in advance
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Sequencing-Patches-with-MBA-tp7589408.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users