[wix-users] Installer does not uninstall app

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Jul 25 13:08:59 PDT 2022


If you are using a custom BA and you are changing the behavior of specific callbacks, then it's a result of your changes.

By custom BA, I mean a MBA or a derivative of WixStdBA. In which case, we would need to see which callbacks you have overridden.

https://github.com/wixtoolset/wix3/blob/c02e48ec301a60eba88a3b519d47e88eeaa4c978/src/burn/engine/core.cpp#L308

https://github.com/wixtoolset/wix3/blob/c02e48ec301a60eba88a3b519d47e88eeaa4c978/src/burn/engine/msiengine.cpp#L597

state: Absent

The MSI is not being detected. If it's not detected then planning is irrelevant.

From: Rayner, Russ <russ.rayner at philips.com>
Sent: Monday, July 25, 2022 2:57 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: Installer does not uninstall app

Hi,

Yes, custom BA.
This is an EXE built with bootstrap project.

I don't know why burn does not detect the MSI when I have just finished installing the MSI package.
That is the confusing piece.
And I can find a good number of registry items with the text "Bed Occupancy" including the product ID

If I run the exe a 3nd time, (after the bootstrap project has been 'removed'), the MSI package is executed and shows me the Repair/Remove options that I expected to see the 2nd time I ran the EXE (which should have been the uninstall).
Hope that makes sense!


From: Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>>
Sent: Monday, July 25, 2022 3:33 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Rayner, Russ <russ.rayner at philips.com<mailto:russ.rayner at philips.com>>
Subject: RE: Installer does not uninstall app


You don't often get email from jacob.hoover at greenheck.com<mailto:jacob.hoover at greenheck.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>

Caution: This e-mail originated from outside of Philips, be careful for phishing.

Do you have a custom BA?

[19A0:1264][2022-07-25T15:02:39]i201: Planned package: BedOccupancy, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister

Tells you burn didn't detect the MSI as being installed, so there is nothing for it to do.

From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Rayner, Russ via wix-users
Sent: Monday, July 25, 2022 2:18 PM
To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>
Cc: Rayner, Russ <russ.rayner at philips.com<mailto:russ.rayner at philips.com>>
Subject: [wix-users] Installer does not uninstall app

I am using Wix Toolset v3.11.2.4516

I have a VS 2019 project that installs 1 MSI package.
Install works perfectly, but when I uninstall via ARP, the MSI installer is never executed, but ARP is updated and product is removed.

When I try to install the next build, the install throws error that product is already installed.

This is from the uninstall log.
The product is called BedOccupancy

[19A0:1264][2022-07-25T15:02:35]i001: Burn v3.11.1.2318, Windows v10.0 (Build 14393: Service Pack 0), path: C:\ProgramData\Package Cache\{9c209126-7006-4dea-8ef9-afe9e0275ae3}\Bootstrapper.exe
[19A0:1264][2022-07-25T15:02:35]i009: Command Line: '"-burn.clean.room=C:\ProgramData\Package Cache\{9c209126-7006-4dea-8ef9-afe9e0275ae3}\Bootstrapper.exe" -burn.filehandle.attached=488 -burn.filehandle.self=500 /uninstall'
[19A0:1264][2022-07-25T15:02:35]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\visicusupport\AppData\Local\Temp\Philips_Bed_Occupancy_Monitoring_20220725150235.log'
[19A0:1264][2022-07-25T15:02:35]i000: Setting string variable 'WixBundleManufacturer' to value 'Koninklijke Philips N.V.'
[19A0:1CA8][2022-07-25T15:02:35]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[19A0:1CA8][2022-07-25T15:02:35]i000: Setting version variable 'WixBundleFileVersion' to value '1.0.10.170<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2F1.0.10.170%2F&data=05%7C01%7C%7C87fc1926f92d47e6605e08da6e7476cb%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637943744189422963%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=tfAEgcucovM%2BNPKdvErvV3hKIJxDxYCWv1Z5teMBL60%3D&reserved=0>'
[19A0:1264][2022-07-25T15:02:35]i100: Detect begin, 1 packages
[19A0:1264][2022-07-25T15:02:35]i101: Detected package: BedOccupancy, state: Absent, cached: Complete
[19A0:1264][2022-07-25T15:02:35]i199: Detect complete, result: 0x0
[19A0:1264][2022-07-25T15:02:39]i200: Plan begin, 1 packages, action: Uninstall
[19A0:1264][2022-07-25T15:02:39]i201: Planned package: BedOccupancy, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister
[19A0:1264][2022-07-25T15:02:39]i299: Plan complete, result: 0x0
[19A0:1264][2022-07-25T15:02:39]i300: Apply begin
[19A0:1264][2022-07-25T15:02:39]i010: Launching elevated engine process.
[19A0:1264][2022-07-25T15:02:40]i011: Launched elevated engine process.
[19A0:1264][2022-07-25T15:02:40]i012: Connected to elevated engine.
[1E74:1A4C][2022-07-25T15:02:40]i358: Pausing automatic updates.
[1E74:1A4C][2022-07-25T15:02:40]i359: Paused automatic updates.
[1E74:1A4C][2022-07-25T15:02:40]i360: Creating a system restore point.
[1E74:1A4C][2022-07-25T15:02:40]i362: System restore disabled, system restore point not created.
[1E74:1A4C][2022-07-25T15:02:40]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9c209126-7006-4dea-8ef9-afe9e0275ae3}, resume: Active, restart initiated: No, disable resume: No
[1E74:1A4C][2022-07-25T15:02:40]i326: Removed dependency: {9c209126-7006-4dea-8ef9-afe9e0275ae3} on package provider: {0C407C58-416C-414F-90AE-E53266FF983B}, package BedOccupancy
[1E74:1A4C][2022-07-25T15:02:40]i329: Removed package dependency provider: {0C407C58-416C-414F-90AE-E53266FF983B}, package: BedOccupancy
[1E74:1A4C][2022-07-25T15:02:40]i351: Removing cached package: BedOccupancy, from path: C:\ProgramData\Package Cache\{0C407C58-416C-414F-90AE-E53266FF983B}v1.0.10.170\
[1E74:1A4C][2022-07-25T15:02:40]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9c209126-7006-4dea-8ef9-afe9e0275ae3}, resume: None, restart: None, disable resume: No
[1E74:1A4C][2022-07-25T15:02:40]i330: Removed bundle dependency provider: {9c209126-7006-4dea-8ef9-afe9e0275ae3}
[1E74:1A4C][2022-07-25T15:02:40]i352: Removing cached bundle: {9c209126-7006-4dea-8ef9-afe9e0275ae3}, from path: C:\ProgramData\Package Cache\{9c209126-7006-4dea-8ef9-afe9e0275ae3}\
[1E74:1A4C][2022-07-25T15:02:40]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9c209126-7006-4dea-8ef9-afe9e0275ae3}, resume: None, restart initiated: No, disable resume: No
[19A0:1264][


________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=05%7C01%7C%7C87fc1926f92d47e6605e08da6e7476cb%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637943744189422963%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=pw7kvRegxKkHeQCDVYduJ%2B9A1q6yiIUAixk9ImwNKXU%3D&reserved=0>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list