Wix4 managed BA can't be uninstalled in quiet mode #7966
-
Hi, community, I am using custom BA UI wix4, and Apply method from IEngine.cs takes parent window hwnd
but if run uninstall in quiet mode getting next error:
For quiet mode handler of parent window is NULL, because uninstallation run without window, is there a way to do it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You need to provide a window so that required Windows messages are processed, but you don't need to show the window. This was a bug fix in WiX v4. |
Beta Was this translation helpful? Give feedback.
Sorry, my wording was not great. The window is required in WiX v4 to fix a bug found in v3. The actual issue is linked in the v3 to v4 migration doc.
The window should have been required in v3.