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

Setup crash in feature selection dialog #191

Closed
paiden opened this issue Oct 31, 2017 · 2 comments
Closed

Setup crash in feature selection dialog #191

paiden opened this issue Oct 31, 2017 · 2 comments

Comments

@paiden
Copy link

paiden commented Oct 31, 2017

On a Windows10 VM when testing our setup I had a setup crash. In windows event log I found the following stack trace.

It seems the crash happens in the managed UI feature selection dialog provided by WixSharp.

Application: MsiExec.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
   at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
   at System.Windows.Forms.Control.BeginInvoke(System.Delegate, System.Object[])
   at System.Windows.Forms.Control.BeginInvoke(System.Delegate)
   at WixSharp.UIExtensions+<>c__DisplayClass11_0.<ResetCheckedToDefault>b__0(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Unfortunately I do not have more information at the moment, as I will need to analyze further. Also I cannot reproduce it reliably. One time the setup crashes, the next time I can execute the whole install sequence without any issues.

@oleg-shilo
Copy link
Owner

Thank you, the information you provided is enough to start the troubleshooting.

Though ideally I would like to catch the exception under debugger. Is it possible for you to provide a "Hello world" style sample that triggers the problem. It is OK if you cannot though. :)

@oleg-shilo
Copy link
Owner

The problem has been corrected.
The fix will be available in the very next release.
Though you can try the fix from the source code if you don't want to wait.

oleg-shilo added a commit that referenced this issue Nov 13, 2017
- Issue #182: RegistrySearch has "Win64=no" when building x64 installers
- Issue #184: Certificate - SetComponentPermanent(true) does not make component permanent
- Issue #185: INSTALLDIR with russian symbols
- Issue #191: Setup crash in feature selection dialog
- Issue #193: Localization
- Issue #196: ID Generation is weak
- Issue #197: How can I get wixpdb?
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