msi: Remove two tests that depend on the sort order of RegEnumValue.
This commit is contained in:
parent
c5d63b5535
commit
2634d86a08
|
@ -1434,15 +1434,6 @@ static void test_MsiGetProductCode(void)
|
||||||
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
|
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
|
||||||
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
|
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
|
||||||
|
|
||||||
/* another product value exists */
|
|
||||||
lstrcpyA(product, "prod");
|
|
||||||
r = MsiGetProductCodeA(component, product);
|
|
||||||
todo_wine
|
|
||||||
{
|
|
||||||
ok(r == ERROR_INSTALL_FAILURE, "Expected ERROR_INSTALL_FAILURE, got %d\n", r);
|
|
||||||
ok(!lstrcmpA(product, prodcode2), "Expected %s, got %s\n", prodcode2, product);
|
|
||||||
}
|
|
||||||
|
|
||||||
lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
|
lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
|
||||||
lstrcatA(keypath, "Installer\\Managed\\");
|
lstrcatA(keypath, "Installer\\Managed\\");
|
||||||
lstrcatA(keypath, usersid);
|
lstrcatA(keypath, usersid);
|
||||||
|
@ -1556,15 +1547,6 @@ static void test_MsiGetProductCode(void)
|
||||||
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
|
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
|
||||||
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
|
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
|
||||||
|
|
||||||
/* another product value exists */
|
|
||||||
lstrcpyA(product, "prod");
|
|
||||||
r = MsiGetProductCodeA(component, product);
|
|
||||||
todo_wine
|
|
||||||
{
|
|
||||||
ok(r == ERROR_INSTALL_FAILURE, "Expected ERROR_INSTALL_FAILURE, got %d\n", r);
|
|
||||||
ok(!lstrcmpA(product, prodcode2), "Expected %s, got %s\n", prodcode2, product);
|
|
||||||
}
|
|
||||||
|
|
||||||
lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
|
lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
|
||||||
lstrcatA(keypath, "Installer\\Managed\\");
|
lstrcatA(keypath, "Installer\\Managed\\");
|
||||||
lstrcatA(keypath, usersid);
|
lstrcatA(keypath, usersid);
|
||||||
|
|
Loading…
Reference in New Issue