[wix-users] How to disable Counting package reference for msi package

Lugia Liu (lliu04) Lugia.Liu at quest.com
Wed Jun 12 01:40:21 PDT 2019


Hi Nir

I don’t know how to override reference counting. I tried to modify PlanPackageBeginEventArgs.State to RequestState.ForceAbsent or RequestState.Absent in PlanPackageBegin event, but in PlanPackageComplete PlanPackageCompleteEventArgs. Execute is still ActionState. None. Log still likes “Will not uninstall package:xxxxxx, found dependents: 1”.

From: Nir Bar <nir.bar at panel-sw.com>
Sent: Wednesday, June 12, 2019 3:27 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Lugia Liu (lliu04) <Lugia.Liu at quest.com>
Subject: Re: [wix-users] How to disable Counting package reference for msi package

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.

I believe you can override reference counting by handling PlanPackageBegin event in a custom bootstrapper application


--
Nir Bar
WiX Expert


---- On Wed, 12 Jun 2019 09:39:30 +0300 Lugia Liu (lliu04) via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote ----

You are so nice to reply me. Until now I still haven't solved this issue. So many scenarios I can't uninstall program derive from the Counting package reference.
Expecting experts to help.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Blair Murri via wix-users
Sent: Thursday, June 6, 2019 1:50 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Blair Murri <osito at live.com<mailto:osito at live.com>>
Subject: Re: [wix-users] How to disable Counting package reference for msi package

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.


I remember seeing code to reference associate the MSIs that bundles install, but I don't recall if it's in the default flow or not.

Hoping this prompts someone with better recollection than I at this point to jump in with something more authoritative.

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> on behalf of Lugia Liu (lliu04) via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Sent: Tuesday, June 4, 2019 1:23:25 AM
To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>
Cc: Lugia Liu (lliu04)
Subject: [wix-users] How to disable Counting package reference for msi package

Hi guys,
I have a question to ask for help.
I have a same msi A built in several bundles, and I want all bundle which include the msi A installed can uninstall msi A ,or only the one which installed it can uninstall it.
But as the feature Counting package reference built in msi package, if any bundle else was installed, none of the bundles can uninstall msi A directly. So I want to know how can I disable Counting package reference for msi package.
Expecting for your reply!

Thank you!


____________________________________________________________________
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