msi: Conformance test, check that INSTALLUILEVEL flags don't trigger UI install.

Misha Koshelev mk144210 at bcm.tmc.edu
Sat Feb 10 23:06:34 CST 2007


Thanks to James Hawkins for numerous emails and help. This patch is a
conformance test that tickles bug #6992 which is now fixed, where MSI
was comparing whether the UI level requested was greater than or equal
to a certain value to determine whether or not to do a graphical
install, but was ignoring the fact that flags could be set in the higher
bits that should not affect the UI level, and this, in turn, caused a
problem with the Vector NTI installer. This conformance test makes an
MSI with three files, one that is always created (this is a check for
installer working), one that is created only in full UI install (thus
the function can know that a full UI install occurred), and one that is
never created (I guess this would be making sure that the installer is
not completely ignoring conditions for file installation). It then
installs it, checks which ones were created, and gives the user
appropriate, verbose error messages.

I tested this conformance test and it is able to detect a UI versus
execute-only install in wine and in VMWared WinXP and Win98. It
successfully passes in its final form on all three platforms, and fails
if I revert the Wine behavior so that it does not take INSTALLUILEVEL
flags into account, telling the user that a full UI install occurred 
even though only an execute one was requested.

Changelog:

        * msi: Conformance test, check that INSTALLUILEVEL flags don't
trigger UI install.




More information about the wine-patches mailing list