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
7cf6be8a
Commit
7cf6be8a
authored
Feb 19, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Feb 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Return ERROR_INVALID_PARAMETER if the context is machine and szUserSid is non-NULL.
parent
4ee1745e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
source.c
dlls/msi/source.c
+3
-0
source.c
dlls/msi/tests/source.c
+2
-5
No files found.
dlls/msi/source.c
View file @
7cf6be8a
...
...
@@ -415,6 +415,9 @@ UINT WINAPI MsiSourceListSetInfoW( LPCWSTR szProduct, LPCWSTR szUserSid,
if
(
!
szValue
)
return
ERROR_UNKNOWN_PROPERTY
;
if
(
dwContext
==
MSIINSTALLCONTEXT_MACHINE
&&
szUserSid
)
return
ERROR_INVALID_PARAMETER
;
if
(
dwOptions
&
MSICODE_PATCH
)
{
FIXME
(
"Unhandled options MSICODE_PATCH
\n
"
);
...
...
dlls/msi/tests/source.c
View file @
7cf6be8a
...
...
@@ -1764,11 +1764,8 @@ static void test_MsiSourceListSetInfo(void)
r
=
MsiSourceListSetInfoA
(
prodcode
,
usersid
,
MSIINSTALLCONTEXT_MACHINE
,
MSICODE_PRODUCT
,
INSTALLPROPERTY_MEDIAPACKAGEPATH
,
"path"
);
todo_wine
{
ok
(
r
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
r
);
}
ok
(
r
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
r
);
RegDeleteValueA
(
media
,
"MediaPackage"
);
RegDeleteKeyA
(
media
,
""
);
...
...
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