msi/tests: Add a test for MsiInstallProduct with command line containing double quotes inside of the property.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
oldstable
Dmitry Timoshkov 2015-10-06 18:10:29 +08:00 committed by Alexandre Julliard
parent de5168146d
commit 1b3087e79f
1 changed files with 7 additions and 0 deletions

View File

@ -4716,6 +4716,13 @@ static void test_propcase(void)
ok(delete_pf("msitest\\augustus", TRUE), "File not installed\n");
ok(delete_pf("msitest", FALSE), "Directory not created\n");
r = MsiInstallProductA(msifile, "BLAHBLAH=\"Copyright \"\"My Company\"\" 2015\" MyProp=42");
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
todo_wine
ok(delete_pf("msitest\\augustus", TRUE), "File not installed\n");
todo_wine
ok(delete_pf("msitest", FALSE), "Directory not created\n");
error:
DeleteFileA(msifile);
DeleteFileA("msitest\\augustus");