Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
08172ad1
Commit
08172ad1
authored
Feb 24, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Feb 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Return the result of the call to OpenSourceKey.
parent
34d50c1e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
source.c
dlls/msi/source.c
+1
-1
source.c
dlls/msi/tests/source.c
+0
-9
No files found.
dlls/msi/source.c
View file @
08172ad1
...
...
@@ -1016,7 +1016,7 @@ UINT WINAPI MsiSourceListAddMediaDiskW(LPCWSTR szProduct, LPCWSTR szUserSid,
rc
=
OpenSourceKey
(
szProduct
,
&
sourcekey
,
MSICODE_PRODUCT
,
dwContext
,
FALSE
);
if
(
rc
!=
ERROR_SUCCESS
)
return
ERROR_UNKNOWN_PRODUCT
;
return
rc
;
OpenMediaSubkey
(
sourcekey
,
&
mediakey
,
TRUE
);
...
...
dlls/msi/tests/source.c
View file @
08172ad1
...
...
@@ -2024,11 +2024,8 @@ static void test_MsiSourceListAddMediaDisk(void)
r
=
MsiSourceListAddMediaDiskA
(
prodcode
,
usersid
,
MSIINSTALLCONTEXT_USERUNMANAGED
,
MSICODE_PRODUCT
,
1
,
"label"
,
"prompt"
);
todo_wine
{
ok
(
r
==
ERROR_BAD_CONFIGURATION
,
"Expected ERROR_BAD_CONFIGURATION, got %d
\n
"
,
r
);
}
res
=
RegCreateKeyA
(
userkey
,
"SourceList"
,
&
source
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
...
...
@@ -2158,11 +2155,8 @@ static void test_MsiSourceListAddMediaDisk(void)
r
=
MsiSourceListAddMediaDiskA
(
prodcode
,
usersid
,
MSIINSTALLCONTEXT_USERMANAGED
,
MSICODE_PRODUCT
,
1
,
"label"
,
"prompt"
);
todo_wine
{
ok
(
r
==
ERROR_BAD_CONFIGURATION
,
"Expected ERROR_BAD_CONFIGURATION, got %d
\n
"
,
r
);
}
res
=
RegCreateKeyA
(
userkey
,
"SourceList"
,
&
source
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
...
...
@@ -2199,11 +2193,8 @@ static void test_MsiSourceListAddMediaDisk(void)
r
=
MsiSourceListAddMediaDiskA
(
prodcode
,
NULL
,
MSIINSTALLCONTEXT_MACHINE
,
MSICODE_PRODUCT
,
1
,
"label"
,
"prompt"
);
todo_wine
{
ok
(
r
==
ERROR_BAD_CONFIGURATION
,
"Expected ERROR_BAD_CONFIGURATION, got %d
\n
"
,
r
);
}
res
=
RegCreateKeyA
(
prodkey
,
"SourceList"
,
&
source
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
...
...
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