Skip to content
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

Standard BA crash when clicking BA cancel button while executing MSI with visible UI #4936

Closed
wixbot opened this issue Oct 26, 2015 · 5 comments

Comments

@wixbot
Copy link

wixbot commented Oct 26, 2015

Environment: Windows 2012 x64, Wix v3.9
Using standard BA with a customized theme - executing a chain with 7 packages (Exe+MSI)
The second package in this chain uses DisplayInternalUI ="yes".

While the MSI UI shows - click the BA 'Cancel' button (shown behind the MSI UI - yet still active.
This causes the BA to freeze and crash.

BA Log ends at: "Applying execute package"

MSI log shows error:: Failed to create a window for the dialog DlgCustom!
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2884. The arguments are: DlgCustom, ,

Windows event log: The program Setup.exe version 1.0.0.0 stopped interacting with Windows and was closed.

Hope this helps!

Originally opened by amiryavin

@wixbot
Copy link
Author

wixbot commented Oct 26, 2015

Click the BA 'Cancel' not the MSI UI Cancel..

Originally posted by amiryavin

@wixbot
Copy link
Author

wixbot commented Oct 28, 2015

This occur only when clicking on Cancel when PrepareDlg is shown - or when executing SpawnDialog event from another dialog. Clicking cancel will raise the BA cancel dialog over the MSI UI
When MSI showing a 'static' dialog the cancel button does not pop up and the MSI gets focused and everything works fine

Originally posted by amiryavin

@wixbot
Copy link
Author

wixbot commented Oct 29, 2015

found this defect was reported earlier:
http://stackoverflow.com/questions/10309742/wix-burn-bootstrapper-crash-issue-if-cancel-button-is-clicked

still exist in 3.9

Originally posted by amiryavin

@wixbot
Copy link
Author

wixbot commented Oct 30, 2015

  1. Doc WixStdBA isn't a good DisplayInternalUI host.
  2. BalExtension could issue warnings to the effect of No Download #1.
  3. In WiX v4, revisit the whole issue.

Release changed from v3.9 to v3.x

@wixbot wixbot added this to the v3.x milestone Dec 20, 2015
@rseanhall rseanhall added extensions and removed burn labels Apr 21, 2020
@rseanhall
Copy link
Contributor

Duplicate of #4342.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants