New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cancelling an uninstall process at a certain time launches MSI's install UI sequence #4823
Comments
Clarifying "Sample Program" shortcut on desktop
|
When you use @DisplayInternalUI, Burn runs your MsiPackage with UI during install. It has to because there are no rules about how @DisplayInternalUI works, so it can be required that the user provide input. We can't change that in v3.x; in v4.0, we can't enforce it but it could be a documented policy that @DisplayInternalUI MsiPackages must be silently installable too.
|
This is happening during uninstall. I designed the bundle with @DisplayInternalUI in mind, and Burn correctly displays the MsiPackage's UI sequence during install. It was my understanding that Burn never displayed the MsiPackage's UI during uninstall, and this has usually borne true. I attempted to explain with the above that if the user cancels the uninstall, usually Burn exits normally, except for this small window of time after the desktop shortcut is removed; then it displays the install UI when it should be rolling back the uninstall.
|
This bug was marked as "resolved" due to a misunderstanding. Please re-evaluate.
|
No, the issue was understood. You can hear triage's comments in the weekly meeting (summary here). The problem is that this is the behavior for WiX v3.x. Changing it could break other people. For example, with an MSI that cannot be silently installed (thus required The bug was moved to WiX v4.x where breaking changes can be made. Then since
|
All right, fair enough. We rely on
|
Thank you for the quick triage and correspondence, by the way.
|
Note: we'd recommend looking at moving away from
|
Yes, I was aware of the official recommendation regarding
|
This bug was discovered on Windows 10 x64, insider preview build 10162.
Bug was present in 3.9.1208.0, 3.10.0.1823 and 4.0.2926.0.
I have a burn bootstrapper with conditions to launch 1 of four MSI packages, split into 32 and 64 bits on the one hand and 2 languages on the other. During installation I use the MSI package's UI sequence, in lieu of only using the Burn UI. The uninstall process, of course, only uses the Burn UI.
The bug manifests if I press the cancel button just after the desktop shortcut is removed. Not as soon as the shortcut is removed, but a half-beat afterwards.
It's as if the rollback (re-install) call to msiexec somehow loses the /quiet flag, and the user gets to see the install process.
If you then cancel out of the MSI dialog, the system is left in a state where the MSI has effectively been uninstalled - items in ProgramFiles removed as well as shortcuts - but the bootstrapper still has an entry in ARP.
The MSI installs 1 application, 1 service program, and NDIS based drivers by way of the DifXAppExtension.
The following logs are mostly in English, though some strings might be in Japanese.
Bundle uninstall log
MSI package uninstall log
MSI package rollback log
Before uninstall - note "Sample Program" shortcut on the left side of the desktop
Start uninstall
Press cancel just after "Sample Program" shortcut is removed by installer
MSI package's install sequence welcome screen displayed
MSI package's install dialog cancellation confirmation
MSI package's "installation was interrupted" exit dialog
Burn's final error dialog
The text was updated successfully, but these errors were encountered: