Commit 03cddf9d authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Add a test for MsiSetFeatureState.

parent 7a2944d5
......@@ -9241,6 +9241,9 @@ static void test_featureparents(void)
r = MsiSetFeatureState(hpkg, "orion", INSTALLSTATE_ABSENT);
ok( r == ERROR_SUCCESS, "failed to set feature state: %d\n", r);
r = MsiSetFeatureState(hpkg, "nosuchfeature", INSTALLSTATE_ABSENT);
ok( r == ERROR_UNKNOWN_FEATURE, "Expected ERROR_UNKNOWN_FEATURE, got %u\n", r);
state = 0xdeadbee;
action = 0xdeadbee;
r = MsiGetFeatureState(hpkg, "zodiac", &state, &action);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment