[wix-users] Is there any way to create wix patch with removed components

Christopher Painter chrpai at iswix.com
Sun Dec 6 02:35:43 PST 2020


Transform the XML generated by heat before compiling them.

________________________________
From: Sakshi Mittal <Sakshi.Mittal at bentley.com>
Sent: Sunday, December 6, 2020 4:19 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Christopher Painter <chrpai at iswix.com>
Subject: RE: [wix-users] Is there any way to create wix patch with removed components

Components are generating using Heat.exe. I cannot write manually in each component to use Transitive="yes" attribute.
Anything that I can use at runtime ?

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Christopher Painter via wix-users
Sent: Sunday, December 6, 2020 3:29 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Christopher Painter <chrpai at iswix.com>
Subject: Re: [wix-users] Is there any way to create wix patch with removed components

You also have to use the msidbComponentAttributesTransitive bit flag (Transitive="yes" attribute) for the puncture component pattern to work.

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Nir Bar via wix-users <wix-users at lists.wixtoolset.org>
Sent: Sunday, December 6, 2020 2:09 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Nir Bar <nir.bar at panel-sw.com>
Subject: Re: [wix-users] Is there any way to create wix patch with removed components

You can't remove components in a minor upgrade

However you can add a condition to the removed components such that in practice they'll evaluate to false and be removed



--

Nir Bar

WiX Expert








---- On Thu, 03 Dec 2020 16:12:59 +0200 Sakshi Mittal via wix-users <wix-users at lists.wixtoolset.org> wrote ----



Hi,



I was trying to create patch update with removed components.



Let's suppose Product 1.0 version has A.dll, B.dll and C.dll and in Product 2.0 version has A.dll updated and B.dll and C.dll both gets removed.

1.     Is this possible to create patch (.msp) between 1.0 and 2.0 with the removed dlls ?

2.     If yes, what is the easy way we can do to create patch with several removed components (approx 500 components)

3.     Also if we don't want to write each component manually in Patch file.

4.     And want to generate patch dynamically in one shot. Is there any best way we can try.



Thanks,

Sakshi


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwICAg&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=w4FraHgig27NcVCEKiVCySQXDfnrzZ2fdHj7zAp0di4&m=0ZUKeCAykt736cVaz1kq0jW-nv2vvEgm63OzwLYeS0s&s=tF2JKBr0ogTCLjeQwdGvnR2ovragYowbfVfbtTlt1Wg&e=

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwICAg&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=w4FraHgig27NcVCEKiVCySQXDfnrzZ2fdHj7zAp0di4&m=0ZUKeCAykt736cVaz1kq0jW-nv2vvEgm63OzwLYeS0s&s=tF2JKBr0ogTCLjeQwdGvnR2ovragYowbfVfbtTlt1Wg&e=

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwICAg&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=w4FraHgig27NcVCEKiVCySQXDfnrzZ2fdHj7zAp0di4&m=0ZUKeCAykt736cVaz1kq0jW-nv2vvEgm63OzwLYeS0s&s=tF2JKBr0ogTCLjeQwdGvnR2ovragYowbfVfbtTlt1Wg&e=



More information about the wix-users mailing list