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
c6f281fc
Commit
c6f281fc
authored
Apr 29, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make sure to only open a patch database in msi_apply_patch_package.
parent
73f12944
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
action.c
dlls/msi/action.c
+2
-7
No files found.
dlls/msi/action.c
View file @
c6f281fc
...
...
@@ -541,12 +541,7 @@ static UINT msi_apply_patch_package( MSIPACKAGE *package, LPCWSTR file )
TRACE
(
"%p %s
\n
"
,
package
,
debugstr_w
(
file
)
);
/* FIXME:
* We probably want to make sure we only open a patch collection here.
* Patch collections (.msp) and databases (.msi) have different GUIDs
* but currently MSI_OpenDatabaseW will accept both.
*/
r
=
MSI_OpenDatabaseW
(
file
,
MSIDBOPEN_READONLY
,
&
patch_db
);
r
=
MSI_OpenDatabaseW
(
file
,
MSIDBOPEN_READONLY
+
MSIDBOPEN_PATCHFILE
,
&
patch_db
);
if
(
r
!=
ERROR_SUCCESS
)
{
ERR
(
"failed to open patch collection %s
\n
"
,
debugstr_w
(
file
)
);
...
...
@@ -565,7 +560,7 @@ static UINT msi_apply_patch_package( MSIPACKAGE *package, LPCWSTR file )
/*
* There might be a CAB file in the patch package,
* so append it to the list of storage to search for streams.
* so append it to the list of storage
s
to search for streams.
*/
append_storage_to_db
(
package
->
db
,
patch_db
->
storage
);
...
...
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