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
3b60c2c0
Commit
3b60c2c0
authored
Jan 17, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Support test for aplicable patch of MSIPATCH_DATATYPE_XMLPATH type.
parent
123eba28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
msi.c
dlls/msi/msi.c
+12
-2
No files found.
dlls/msi/msi.c
View file @
3b60c2c0
...
...
@@ -651,6 +651,7 @@ static UINT determine_patch_sequence( MSIPACKAGE *package, DWORD count, MSIPATCH
}
break
;
}
case
MSIPATCH_DATATYPE_XMLPATH
:
case
MSIPATCH_DATATYPE_XMLBLOB
:
{
VARIANT_BOOL
b
;
...
...
@@ -669,7 +670,16 @@ static UINT determine_patch_sequence( MSIPACKAGE *package, DWORD count, MSIPATCH
}
s
=
SysAllocString
(
info
[
i
].
szPatchData
);
hr
=
IXMLDOMDocument_loadXML
(
desc
,
s
,
&
b
);
if
(
info
[
i
].
ePatchDataType
==
MSIPATCH_DATATYPE_XMLPATH
)
{
VARIANT
src
;
V_VT
(
&
src
)
=
VT_BSTR
;
V_BSTR
(
&
src
)
=
s
;
hr
=
IXMLDOMDocument_load
(
desc
,
src
,
&
b
);
}
else
hr
=
IXMLDOMDocument_loadXML
(
desc
,
s
,
&
b
);
SysFreeString
(
s
);
if
(
hr
!=
S_OK
)
{
...
...
@@ -692,7 +702,7 @@ static UINT determine_patch_sequence( MSIPACKAGE *package, DWORD count, MSIPATCH
}
default:
{
FIXME
(
"
patch data type %u not supported
\n
"
,
info
[
i
].
ePatchDataType
);
FIXME
(
"
unknown patch data type %u
\n
"
,
info
[
i
].
ePatchDataType
);
info
[
i
].
dwOrder
=
i
;
info
[
i
].
uStatus
=
ERROR_SUCCESS
;
break
;
...
...
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