wixtoolset / issues

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

WiX UI Dialogs not appearing in the taskbar when using WixInternalUIBootstrapperApplication #8135

Open davidneale opened 5 months ago

davidneale commented 5 months ago

WiX Version

5.0.0

.NET or MSBuild or Visual Studio Version

MSBuild version 17.9.8+b34f75857 for .NET Framework

HeatWave Version

1.0.3.14

Windows Version

Windows10 22H2 (OS Build 19045.3271)

Repro Repo

https://github.com/davidneale/Wix5NoTaskbarIcon_Repro

Repro Steps

  1. Clone and build the provided Repro repo
  2. Copy DummyBundle's bin folder output to a new Windows Sandbox instance
  3. Start DummyBundle.exe from inside the new Windows Sandbox instance
  4. Continue through the installer's wizard until it moves on from the Bootstrapper to the internal MsiPackage's UI

Actual Result

DummyMsi Setup Window appears but there is no Icon in the Windows Taskbar for it (2nd image).

Bootstrapper Window (Appears in Taskbar and Task Manager): image

DummyMsi Setup Window (Not in Taskbar or Task Manager): image

Expected Result

Expected to see an icon in the taskbar during the internal MSI's installation. Either the same way that an icon appears appears when the MSI is installed without a bootstrapper application or keep the same taskbar icon/task that the bootstrapper is using.

Standalone MSI Window (Appears in Taskbar and Task Manager): image

Acknowledgements

robmen commented 5 months ago

@davidneale how is this different from #8104 (besides having very nice repro steps)?

davidneale commented 5 months ago

This issue is specifically talking about the internal MSI's UI not the Bundle. Although the Repro repo provided doubles as a Repro repo for #8104.

I'm fairly new to WiX and could certainly be wrong here but it seems like they are two separate issues.

8104 is about the Icon for the Bundle and how it is not applying correctly for the Bootstrapper application. This issue is with regards to the Internal MSI not showing any icon whatsoever. The bootstrapper application is not present in task manager's "Apps" section in the Process tab and is pushed down into the "Background Processes" section

See in the 2nd image provided in the Actual Result section, the internal WixUI_InstallDir is visible but there is no icon in the taskbar whatsoever.

Here's another image to hopefully clarify the difference. image

Thanks for responding so quickly! (And also for the Deployment Dojo series, as it has been a great help)

ad-chuliang commented 1 week ago

@davidneale Have you resolve this issue? I met the same problem, WixInternalUIBootstrapperApplication can solve all my problems, but is not the taskbar icon.

jobyjcteoco commented 1 week ago

I am also facing the same issue with WixInternalUIBootstrapperApplication. Setting the SplashScreenSourceFile to a jpg file also didn't solve the issue. Could someone have a look on this issue please? Thanks.

robmen commented 1 week ago

Could someone have a look on this issue please? Thanks.

@jobyjcteoco, the issue is marked up for grabs. Since you can reproduce the issue, perhaps you would be interested in diagnosing the root cause and implementing a fix.

jobyjcteoco commented 1 week ago

@jobyjcteoco, the issue is marked up for grabs. Since you can reproduce the issue, perhaps you would be interested in diagnosing the root cause and implementing a fix. @robmen, I would love to investigate, but I am not that good in CPP coding I am afraid.