[wix-devs] 5980 - ResolveSource not working

Sean Hall r.sean.hall at gmail.com
Sun May 17 15:44:31 PDT 2020


I updated the issue with my findings. Apparently Windows Installer doesn't
allow programmatically resolving source, so I assume v3 added
INSTALLUILEVEL_SOURCERESONLY to give the user the chance to resolve it and
subscribes to the INSTALLLOGMODE_RESOLVESOURCE just out of curiosity.

How should Burn prevent the combination of a NULL hWnd from Apply and
setting the internal UI level to INSTALLUILEVEL_NONE |
INSTALLUILEVEL_SOURCERESONLY? Require non-NULL hWnd in Apply? Only allow
NULL hWnd in Apply if no packages have that uiLevel? Automatically remove
INSTALLUILEVEL_SOURCERESONLY from uiLevel if NULL hWnd? Something else?

On Sat, May 16, 2020 at 8:12 PM Sean Hall <r.sean.hall at gmail.com> wrote:

> While working on the DisplayInternalUI stuff,
> https://github.com/wixtoolset/issues/issues/5980 came up in one of my
> searches. In v3 during uninstallation, we always call
> MsiSetMsiSetExternalUI(Record) with the uiLevel of INSTALLUILEVEL_NONE |
> INSTALLUILEVEL_SOURCERESONLY. But we also
> include INSTALLLOGMODE_RESOLVESOURCE in our message filter. Why are we
> asking for resolve source messages when we're setting the uiLevel such that
> we want Windows Installer to handle resolving source?
>



More information about the wix-devs mailing list