Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
43f7bc86
Commit
43f7bc86
authored
Apr 27, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Use a unique product code when testing MsiConfigureFeature parameter validation.
This is to avoid ERROR_INSTALL_ALREADY_RUNNING errors on Windows.
parent
d9510f59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
msi.c
dlls/msi/tests/msi.c
+2
-2
No files found.
dlls/msi/tests/msi.c
View file @
43f7bc86
...
...
@@ -247,10 +247,10 @@ static void test_null(void)
r
=
MsiConfigureFeatureA
(
"{00000000-0000-0000-0000-000000000000}"
,
NULL
,
0
);
ok
(
r
==
ERROR_INVALID_PARAMETER
,
"wrong error
\n
"
);
r
=
MsiConfigureFeatureA
(
"{00000000-0000-0000-0000-00000000000
0
}"
,
"foo"
,
0
);
r
=
MsiConfigureFeatureA
(
"{00000000-0000-0000-0000-00000000000
1
}"
,
"foo"
,
0
);
ok
(
r
==
ERROR_INVALID_PARAMETER
,
"wrong error %d
\n
"
,
r
);
r
=
MsiConfigureFeatureA
(
"{00000000-0000-0000-0000-00000000000
0
}"
,
"foo"
,
INSTALLSTATE_DEFAULT
);
r
=
MsiConfigureFeatureA
(
"{00000000-0000-0000-0000-00000000000
2
}"
,
"foo"
,
INSTALLSTATE_DEFAULT
);
ok
(
r
==
ERROR_UNKNOWN_PRODUCT
,
"wrong error %d
\n
"
,
r
);
/* make sure empty string to MsiGetProductInfo is not a handle to default registry value, saving and restoring the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment