[wix-users] Remove MSI on Update without running a CustomAction in it

Edwin Castro egcastr at gmail.com
Wed Jul 18 06:19:28 PDT 2018


Have you considered adding rows to the Upgrade table of the first msi for
the UpgradeCode of the third msi? That should allow the first msi to
upgrade both the first and third msi if they are both installed. You begin
with both the first and third msi and end up with just the new version of
the first msi.

--
Edwin G. Castro


On Wed, Jul 18, 2018, 05:43 RonnyS via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> I created three msi files in my bootstrapper with the WiX-Toolset.
> Now this installation has to be rebuilt due to dependencies.
>
> All files from the third MSI must be moved to the first MSI.
> The third MSI is then no longer needed.
> I moved the components from the third MSI to the first.
> The CustomActions from the third MSI were also moved to the first MSI.
>
> My problem now is when updating to a new version of the installation which
> starts CustomAction from the third MSI.
> This ensures that just installed program parts (drivers) are uninstalled
> again.
> This CustomAction in the third MSI has as condition (NOT
> UPGRADINGPRODUCTCODE) AND (REMOVE = "ALL").
>
> Is there a way I can remove the third MSI on Update without running the
> CustomAction?
>
> Greetings Ronny
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list