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
d9a8f0b5
Commit
d9a8f0b5
authored
Nov 05, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Nov 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: The options must include a source type.
parent
7fe6aad7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
source.c
dlls/msi/source.c
+3
-0
source.c
dlls/msi/tests/source.c
+2
-8
No files found.
dlls/msi/source.c
View file @
d9a8f0b5
...
...
@@ -606,6 +606,9 @@ UINT WINAPI MsiSourceListAddSourceExW( LPCWSTR szProduct, LPCWSTR szUserSid,
if
(
!
szSource
||
!*
szSource
)
return
ERROR_INVALID_PARAMETER
;
if
(
!
(
dwOptions
&
(
MSISOURCETYPE_NETWORK
|
MSISOURCETYPE_URL
)))
return
ERROR_INVALID_PARAMETER
;
if
(
dwOptions
&
MSICODE_PATCH
)
{
FIXME
(
"Unhandled options MSICODE_PATCH
\n
"
);
...
...
dlls/msi/tests/source.c
View file @
d9a8f0b5
...
...
@@ -594,18 +594,12 @@ static void test_MsiSourceListAddSourceEx(void)
r
=
pMsiSourceListAddSourceExA
(
prodcode
,
usersid
,
MSIINSTALLCONTEXT_USERUNMANAGED
,
MSICODE_PRODUCT
,
"source"
,
0
);
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
);
r
=
pMsiSourceListAddSourceExA
(
prodcode
,
usersid
,
MSIINSTALLCONTEXT_USERUNMANAGED
,
MSICODE_PATCH
,
"source"
,
0
);
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
);
/* NULL szSource */
r
=
pMsiSourceListAddSourceExA
(
prodcode
,
usersid
,
...
...
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