[wix-devs] Burn bug: ARP entry

Hoover, Jacob Jacob.Hoover at greenheck.com
Fri Jan 5 14:03:30 PST 2018


I just had a strange issue reported that I am able to reproduce. When canceling an upgrade, the ARP entry is not removed.

Ex:
Bundle v1 and v2. V2 is a Major Upgrade of v1.

Install v1.
Begin installing v2, but as soon as Apply starts executing the first package in the chain hit cancel.

At this point, ARP will have both v1 and v2.  I would have expected canceling to rollback not only the ARP entry, but to remove the bundle from the cache, but this doesn't seem to be the case. (Note, I am seeing this with WixStdBA but not the Wix MBA.)


(Canceling during cache which works)
[2D30:1FE0][2018-01-05T15:10:22]e000: Error 0x80070642: Failed while caching, aborting execution.
[1A44:3694][2018-01-05T15:10:22]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}, resume: None, restart: None, disable resume: No
[1A44:3694][2018-01-05T15:10:22]i330: Removed bundle dependency provider: { GUID }
[1A44:3694][2018-01-05T15:10:22]i352: Removing cached bundle: { GUID }, from path: C:\ProgramData\Package Cache\{ GUID }\
[1A44:3694][2018-01-05T15:10:23]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ GUID }, resume: None, restart initiated: No, disable resume: No
[2D30:1FE0][2018-01-05T15:10:23]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart:  No

(Canceling during apply)
[3B74:43FC][2018-01-05T15:14:17]e000: Error 0x80070642: Failed to install MSI package.
[3B74:43FC][2018-01-05T15:14:17]e000: Error 0x80070642: Failed to execute MSI package.
[255C:402C][2018-01-05T15:14:17]e000: Error 0x80070642: Failed to configure per-machine MSI package.
[255C:402C][2018-01-05T15:14:17]i319: Applied execute package: XXXX, result: 0x80070642, restart: None
[255C:402C][2018-01-05T15:14:17]e000: Error 0x80070642: Failed to execute MSI package.
[3B74:43FC][2018-01-05T15:14:17]i318: Skipped rollback of package: XXXX, action: Uninstall, already: Absent
[255C:402C][2018-01-05T15:14:17]i319: Applied rollback package: XXXX, result: 0x0, restart: None
[3B74:43FC][2018-01-05T15:14:17]i329: Removed package dependency provider: { GUID }, package: XXXX
[3B74:43FC][2018-01-05T15:14:17]i351: Removing cached package: XXXX, from path: C:\ProgramData\Package Cache\{ GUID }v4.25.21.1383\
[3B74:43FC][2018-01-05T15:14:17]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ GUID }, resume: ARP, restart: None, disable resume: No
[3B74:43FC][2018-01-05T15:14:17]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ GUID }, resume: ARP, restart initiated: No, disable resume: No
[255C:402C][2018-01-05T15:14:17]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart:  No
[255C:402C][2018-01-05T15:14:31]i500: Shutting down, exit code: 0x642

Thanks,
Jacob



More information about the wix-devs mailing list