HotFix bundle entry is not removing from ARP when Base setup is uninstalled (WiXToolset 4.0.4) #8143
Unanswered
kalyani1217
asked this question in
Questions
Replies: 1 comment 2 replies
-
FYI, WiX v4.0.4 has a security vulnerability. You'll want to upgrade to the latest. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I installed the base version of the setup (version 1.0.0.0) and subsequently applied a Hotfix to upgrade it to version 1.0.1.0. However, upon uninstalling the base setup from the Add/Remove Programs (ARP), I noticed that the Hotfix entry remains visible in both the registry and ARP. However, the files added by the Hotfix are successfully removed during this uninstallation process.
Could you please advise on why the Hotfix entry continues to persist in the ARP even after uninstalling the base setup?. I have used WiXToolset 4.0.4.
Below is the HF log that was generated during uninstallation of Base setup:
`
[8420:13CB8][2024-04-17T12:57:25]i003: This bundle is being run by a related bundle as type 'Patch'.
[8420:13CB8][2024-04-17T12:57:25]i001: Burn x86 v5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8, Windows v10.0 x64 (Build 19045: Service Pack 0), path: C:\ProgramData\Package Cache{C90BD025-5002-4874-B84C-D82A2946A805}\Patch_HF.exe
[8420:13CB8][2024-04-17T12:57:25]i009: Command Line: '-uninstall -burn.related.patch -burn.ignoredependencies={00F05FA6-05CE-4668-9A60-D498AB3E83FC};{268A366B-417F-4B27-A64E-72B3B13AC65F}v1.0.0.0 -burn.ancestors={00F05FA6-05CE-4668-9A60-D498AB3E83FC} -burn.filehandle.self=1344 -log C:\Users\krramire\AppData\Local\Temp\Bundle1_20240417125721_001{C90BD025-5002-4874-B84C-D82A2946A805}.log -burn.embedded BurnPipe.{590ABDE4-E214-490F-85E9-56D06CBE3FC8} {0785CEFD-422D-451A-AC3E-ED8054D95E46} 19660'
[8420:13CB8][2024-04-17T12:57:25]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\krramire\AppData\Local\Temp\Bundle1_20240417125721_001_{C90BD025-5002-4874-B84C-D82A2946A805}.log'
[8420:8AB8][2024-04-17T12:57:26]i000: Setting version variable 'WixBundleFileVersion' to value '5.0.0.0'
[8420:8AB8][2024-04-17T12:57:26]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[8420:13CB8][2024-04-17T12:57:26]i100: Detect begin, 1 packages
[8420:13CB8][2024-04-17T12:57:26]i102: Detected related bundle: {00F05FA6-05CE-4668-9A60-D498AB3E83FC}, type: DependentPatch, scope: PerMachine, version: 1.0.0.0, cached: Yes
[8420:13CB8][2024-04-17T12:57:26]i106: Calculating patch applicability for target product code: {268A366B-417F-4B27-A64E-72B3B13AC65F}, context: Machine
[8420:13CB8][2024-04-17T12:57:26]i101: Detected package: SmallSetup, state: Present, cached: Yes, install registration state: Present, cache registration state: Present
[8420:13CB8][2024-04-17T12:57:26]i105: Detected package: SmallSetup target: {268A366B-417F-4B27-A64E-72B3B13AC65F}, state: Present
[8420:13CB8][2024-04-17T12:57:26]i199: Detect complete, result: 0x0, registration state: Full, cached: Yes, eligible for cleanup: No
[8420:13CB8][2024-04-17T12:57:26]i200: Plan begin, 1 packages, action: Uninstall
[8420:13CB8][2024-04-17T12:57:26]i214: Plan skipped related bundle: {00F05FA6-05CE-4668-9A60-D498AB3E83FC}, because it was previously scheduled.
[8420:13CB8][2024-04-17T12:57:26]i207: Planned related bundle: {00F05FA6-05CE-4668-9A60-D498AB3E83FC}, detect type: DependentPatch, default plan type: DependentPatch, ba plan type: DependentPatch, default requested: None, ba requested: None, execute: None, rollback: None, default requested restore: None, ba requested restore: None, restore: None, dependency: None
[8420:13CB8][2024-04-17T12:57:26]i222: Planned rollback boundary: 'WixDefaultBoundary', vital: Yes, transaction: No (default: No)
[8420:13CB8][2024-04-17T12:57:26]i201: Planned package: SmallSetup, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, default cache strategy: Keep, ba requested strategy: Keep, cache: No, uncache: No, dependency: None, expected install registration state: Present, expected cache registration state: Present
[8420:13CB8][2024-04-17T12:57:26]i218: Plan 1 patch targets for package: SmallSetup
[8420:13CB8][2024-04-17T12:57:26]i219: Planned patch target: {268A366B-417F-4B27-A64E-72B3B13AC65F}, state: Present, default requested: None, ba requested: None, execute: None, rollback: None
[8420:13CB8][2024-04-17T12:57:26]i299: Plan complete, result: 0x0
[8420:13CB8][2024-04-17T12:57:26]i300: Apply begin
[8420:13CB8][2024-04-17T12:57:26]i010: Launching elevated engine process.
[8420:13CB8][2024-04-17T12:57:26]i011: Launched elevated engine process.
[8420:13CB8][2024-04-17T12:57:26]i012: Connected to elevated engine.
[6F88:FC3C][2024-04-17T12:57:26]i358: Pausing automatic updates.
[6F88:FC3C][2024-04-17T12:57:26]i359: Paused automatic updates.
[6F88:FC3C][2024-04-17T12:57:26]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{C90BD025-5002-4874-B84C-D82A2946A805}, options: 0x2, disable resume: Yes
[6F88:FC3C][2024-04-17T12:57:26]i320: Registering bundle dependency provider: {C90BD025-5002-4874-B84C-D82A2946A805}, version: 1.0.1.0
[6F88:FC3C][2024-04-17T12:57:26]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{C90BD025-5002-4874-B84C-D82A2946A805}, resume: Active, restart initiated: No, disable resume: Yes
[8420:13CB8][2024-04-17T12:57:26]i373: Calculating whether to keep registration
[8420:13CB8][2024-04-17T12:57:26]i374: package: SmallSetup, install registration state: Present, cache registration state: Present
[8420:13CB8][2024-04-17T12:57:26]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{C90BD025-5002-4874-B84C-D82A2946A805}, resume: ARP, restart: None, disable resume: Yes, default registration: Full, ba requested registration: Full
[6F88:FC3C][2024-04-17T12:57:26]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{C90BD025-5002-4874-B84C-D82A2946A805}, resume: ARP, restart initiated: No, disable resume: Yes
[6F88:FC3C][2024-04-17T12:57:26]i420: Resuming automatic updates.
[6F88:FC3C][2024-04-17T12:57:26]i421: Resumed automatic updates.
[8420:8AB8][2024-04-17T12:57:26]i000: Setting string variable 'WixStdBARestartRequired' to value ''
[8420:13CB8][2024-04-17T12:57:26]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No
[8420:13CB8][2024-04-17T12:57:26]i500: Shutting down, exit code: 0x0
[8420:13CB8][2024-04-17T12:57:26]i502: Cleanup begin.
[8420:13CB8][2024-04-17T12:57:26]i503: Cleanup not required due to running Apply.
[8420:13CB8][2024-04-17T12:57:26]i599: Cleanup complete, result: 0x0
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: RebootPending = 1
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleAction = 4
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleCommandLineAction = 4
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleElevated = 1
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleFileVersion = 5.0.0.0
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleInProgressName =
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleInstalled = 1
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleLog = C:\Users\krramire\AppData\Local\Temp\Bundle1_20240417125721_001_{C90BD025-5002-4874-B84C-D82A2946A805}.log
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleManufacturer = TODO Manufacturer
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleName = Bundle_HF
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleOriginalSource = D:\Test 3.14 setups on 3.11\Bundle2\Patch\bin\x86\Debug\Patch_HF.exe
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleOriginalSourceFolder = D:\Test 3.14 setups on 3.11\Bundle2\Patch\bin\x86\Debug
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleProviderKey = {C90BD025-5002-4874-B84C-D82A2946A805}
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleTag =
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleUILevel = 1
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixBundleVersion = 1.0.1.0
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixStdBALanguageId = 1033
[8420:13CB8][2024-04-17T12:57:26]i410: Variable: WixStdBARestartRequired =
[8420:13CB8][2024-04-17T12:57:26]i007: Exit code: 0x0, restarting: No
`
Beta Was this translation helpful? Give feedback.
All reactions