[wix-users] Can a patch remove a feature added by a patch

Nir Bar nir.bar at panel-sw.com
Tue Jun 25 11:16:13 PDT 2019


It works on all components.
You can set it per single component by setting Component/@UninstallWhenSuperseded="yes"



--

Nir Bar

WiX Expert




---- On Tue, 25 Jun 2019 19:21:55 +0300  <mailto:duggal_sunny at yahoo.com> wrote ----


Nir, 
 
Does this property setting works at component level? Or feature level? 
 
Thx 
Manish 
 
Sent from my iPhone 
 
> On Jun 25, 2019, at 4:31 AM, Nir Bar via wix-users <mailto:wix-users at lists.wixtoolset.org> wrote: 
> 
> Marking patch2 as superseding and setting MSIUNINSTALLSUPERSEDEDCOMPONENTS to 1 should do the trick. 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Nir Bar 
> 
> WiX Expert 
> 
> 
> 
> 
> ---- On Tue, 25 Jun 2019 14:27:41 +0300 Mouni K <mailto:mouni.c2cbit at gmail.com> wrote ---- 
> 
> 
> Ok. But what we are looking for is to clean up all the files/folders created by that patch1 using patch2. 
> 
> Does this sound feasible? 
> 
> 
> 
> Thanks 
> 
> 
> 
> On Tue, Jun 25, 2019 at 4:01 PM Nir Bar via wix-users <mailto:mailto:wix-users at lists.wixtoolset.org> wrote: 
> 
> 
> 
> 
> 
> If patch2 supersede patch1, then set property MSIUNINSTALLSUPERSEDEDCOMPONENTS to 1 to uninstall any component introduced in patch1 that was deleted in patch2. 
> 
> I'm not sure though whether or not the feature introduced in patch1 will be uninstalled or be marked as advertised. 
> 
> 
> 
> -- 
> 
> Nir Bar 
> 
> WiX Expert 
> 
> 
> 
> 
> 
> 
> ---- On Tue, 25 Jun 2019 13:24:13 +0300 Mouni K via wix-users <mailto:mailto:wix-users at lists.wixtoolset.org> wrote ---- 
> 
> 
> 
> Hi WixUsers, 
> 
> We have released a new feature with a patch say, patch1.msp. 
> 
> Now we want to remove the above feature using a subsequent patch2.msp. 
> 
> We want to remove the feature using a patch and not in a major 
> release/upgrade. 
> Is this possible to do? 
> 
> Thanks for your help! 
> 
> Mounika. 
> 
> ____________________________________________________________________ 
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/ 
> 
> ____________________________________________________________________ 
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/ 
> 
> ____________________________________________________________________ 
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list