wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 24 forks source link

Bundle splash screen showing on removal of previous base version during upgrade #7969

Open yuvnith opened 9 months ago

yuvnith commented 9 months ago

WiX Version

4.0.3

.NET or MSBuild or Visual Studio Version

.Net 8.0.101

HeatWave Version

1.0.2.1

Windows Version

Win 10 22H2

Repro Repo

No response

Repro Steps

  1. Create a base setup and minor release setups with a splash screen
  2. Install the base setup and then run the minor release setup to perform an upgrade
  3. Observe that a splash screen shows up during uninstallation of base setup

Discussion link: https://github.com/orgs/wixtoolset/discussions/7902

Actual Result

When we perform an upgrade, the splash screen shows up during uninstallation of base setup which is not expected.

Expected Result

Splash screen should not be seen during uninstallation stage of base setup, when we perform an upgrade

Acknowledgements

yuvnith commented 9 months ago

Discussion Link: https://github.com/orgs/wixtoolset/discussions/7902

mareklinka commented 9 months ago

@yuvnith thanks for going ahead and opening the issue!

As mentioned in the discussion, I'm facing the same problem. For ease of handling, I'm copying the logs from the original discussion topic.

Detect phase
[0ED0:2480][2023-12-07T12:12:20]i102: Detected related bundle: {26286E5F-E4FE-4ACC-A47C-BC61A218FA6B}, type: Upgrade, scope: PerMachine, version: 0.0.0.0, cached: Yes

Plan phase
[0ED0:2480][2023-12-07T12:12:26]i207: Planned related bundle: {26286E5F-E4FE-4ACC-A47C-BC61A218FA6B}, detect type: Upgrade, default plan type: Upgrade, ba plan type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, default requested restore: ForcePresent, ba requested restore: ForcePresent, restore: Install, dependency: None

Execute phase
[24C4:2BB4][2023-12-07T12:13:09]i301: Applying execute package: {26286E5F-E4FE-4ACC-A47C-BC61A218FA6B}, action: Uninstall, path: C:\ProgramData\Package Cache\{26286E5F-E4FE-4ACC-A47C-BC61A218FA6B}\Bundle.exe, arguments: '"C:\ProgramData\Package Cache\{26286E5F-E4FE-4ACC-A47C-BC61A218FA6B}\Bundle.exe" -uninstall -burn.related.upgrade -burn.ancestors={A137F230-5028-4BD0-9CB1-6C321FABAEEE} -burn.filehandle.self=1004'
[24C4:2BB4][2023-12-07T12:13:13]i366: The process for package: {26286E5F-E4FE-4ACC-A47C-BC61A218FA6B} exited with code: 0x0. The exit code has been translated to type: Success and restart: None.
[0ED0:2480][2023-12-07T12:13:13]i319: Applied execute package: {26286E5F-E4FE-4ACC-A47C-BC61A218FA6B}, result: 0x0, restart: None

The uninstalling bundle (the old version) seems to receive IBootstrapperCommand.Display == Display.Embedded, but there are no -q or -s switches passed to it.

yuvnith commented 9 months ago

Hello, @robmen. Is there a tentative date or version for the bug to be fixed?