msi/tests: Fix a crash on Windows 10.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
932ed6bf84
commit
4661c8d45b
|
@ -2744,15 +2744,14 @@ static void test_MsiInstallProduct(void)
|
|||
|
||||
MsiSetInternalUI(INSTALLUILEVEL_NONE, NULL);
|
||||
|
||||
/* szPackagePath is NULL */
|
||||
if (0) /* crashes on Win10 1709 */
|
||||
{
|
||||
r = MsiInstallProductA(NULL, "INSTALL=ALL");
|
||||
ok(r == ERROR_INVALID_PARAMETER,
|
||||
"Expected ERROR_INVALID_PARAMETER, got %d\n", r);
|
||||
ok(r == ERROR_INVALID_PARAMETER, "got %u\n", r);
|
||||
|
||||
/* both szPackagePath and szCommandLine are NULL */
|
||||
r = MsiInstallProductA(NULL, NULL);
|
||||
ok(r == ERROR_INVALID_PARAMETER,
|
||||
"Expected ERROR_INVALID_PARAMETER, got %d\n", r);
|
||||
ok(r == ERROR_INVALID_PARAMETER, "got %u\n", r);
|
||||
}
|
||||
|
||||
/* szPackagePath is empty */
|
||||
r = MsiInstallProductA("", "INSTALL=ALL");
|
||||
|
|
Loading…
Reference in New Issue