[wix-users] Bundle upgrade gets stuck

Dima Vasilkov dimvasilk at gmail.com
Thu Feb 3 20:36:20 PST 2022


Hello,

Apologies if this is the wrong place to post this question. I have a bundle
that installs several msi and exe packages. During an upgrade the progress
bar "thinks" that installation is still proceeding after it has finished. I
noticed in the logs that the new packages are installed successfully but
the uninstall of the previous bundle shows as applying but does not have a
corresponding applied line

...
[4F30:1AF8][2022-02-03T22:40:44]i301: Applying execute package:
electronApp, action: Install, path: C:\ProgramData\Package
Cache\174D930F105B94670F139923F7B0ED0CB8A018CB\cpc_ui_1.21.54.exe,
arguments: '"C:\ProgramData\Package
Cache\174D930F105B94670F139923F7B0ED0CB8A018CB\cpc_ui_1.21.54.exe"
/D="C:\Program Files\PhotoCapture"'
[3BB4:4668][2022-02-03T22:40:51]i319: Applied execute package: electronApp,
result: 0x0, restart: None
[4F30:1AF8][2022-02-03T22:40:51]i301: Applying execute package:
{6695674c-6fbb-42b8-b780-89638ab59d0e}, action: Uninstall, path:
C:\ProgramData\Package
Cache\{6695674c-6fbb-42b8-b780-89638ab59d0e}\CPC-s.exe, arguments:
'"C:\ProgramData\Package
Cache\{6695674c-6fbb-42b8-b780-89638ab59d0e}\CPC-s.exe" -uninstall -quiet
-burn.related.upgrade
-burn.ancestors={3be2842e-c37a-476b-8c26-ddb09d6e661c}
-burn.filehandle.self=1160'

I checked the log for the uninstall of the previous version
({6695674c-6fbb-42b8-b780-89638ab59d0e}) and it appears to have uninstalled
correctly

[1D28:361C][2022-02-03T22:40:51]i001: Burn v3.11.2.4516, Windows v10.0
(Build 19043: Service Pack 0), path: C:\ProgramData\Package
Cache\{6695674c-6fbb-42b8-b780-89638ab59d0e}\CPC-s.exe
[1D28:361C][2022-02-03T22:40:51]i000: Initializing string variable
'InstallFolder' to value '[ProgramFiles64Folder]'
[1D28:361C][2022-02-03T22:40:51]i000: Initializing string variable
'KeepProjects' to value 'No'
[1D28:361C][2022-02-03T22:40:51]i003: This bundle is being run by a related
bundle as type 'Upgrade'.
[1D28:361C][2022-02-03T22:40:51]i009: Command Line:
'"-burn.clean.room=C:\ProgramData\Package
Cache\{6695674c-6fbb-42b8-b780-89638ab59d0e}\CPC-s.exe"
-burn.filehandle.attached=584 -burn.filehandle.self=592 -uninstall -quiet
-burn.related.upgrade
-burn.ancestors={3be2842e-c37a-476b-8c26-ddb09d6e661c}
-burn.filehandle.self=1160 -burn.embedded
BurnPipe.{2B37F28C-6003-46AA-9162-81BA63C1F961}
{90D3A99C-1B1E-4AD3-A1A9-6E21CB241D84} 20272'
...
[3110:341C][2022-02-03T22:40:52]i371: Updating session, registration key:
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6695674c-6fbb-42b8-b780-89638ab59d0e},
resume: None, restart initiated: No, disable resume: Yes
[1D28:361C][2022-02-03T22:40:52]i399: Apply complete, result: 0x0, restart:
None, ba requested restart:  No

Manually closing the processes of the old version in task manager causes
the progress bar to complete. Are there additional logs I can check or
particular patterns that would cause behavior like this and anything I can
do to fix it?

Thank you!

Best,
Dima


More information about the wix-users mailing list