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
9a4ba8c1
Commit
9a4ba8c1
authored
Nov 01, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Search the patch package for source cabinet files.
parent
ecd35a02
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
8 deletions
+19
-8
action.c
dlls/msi/action.c
+7
-0
msipriv.h
dlls/msi/msipriv.h
+1
-0
table.c
dlls/msi/table.c
+11
-8
No files found.
dlls/msi/action.c
View file @
9a4ba8c1
...
...
@@ -526,6 +526,13 @@ static UINT msi_apply_patch_package( MSIPACKAGE *package, LPCWSTR file )
}
msi_parse_patch_summary
(
package
,
patch_db
);
/*
* There might be a CAB file in the patch package,
* so append it to the list of storage to search for streams.
*/
append_storage_to_db
(
package
->
db
,
patch_db
->
storage
);
msiobj_release
(
&
patch_db
->
hdr
);
return
ERROR_SUCCESS
;
...
...
dlls/msi/msipriv.h
View file @
9a4ba8c1
...
...
@@ -563,6 +563,7 @@ extern UINT read_raw_stream_data( MSIDATABASE*, LPCWSTR stname,
extern
UINT
msi_table_apply_transform
(
MSIDATABASE
*
db
,
IStorage
*
stg
);
extern
UINT
MSI_DatabaseApplyTransformW
(
MSIDATABASE
*
db
,
LPCWSTR
szTransformFile
,
int
iErrorCond
);
extern
void
append_storage_to_db
(
MSIDATABASE
*
db
,
IStorage
*
stg
);
/* action internals */
extern
UINT
MSI_InstallPackage
(
MSIPACKAGE
*
,
LPCWSTR
,
LPCWSTR
);
...
...
dlls/msi/table.c
View file @
9a4ba8c1
...
...
@@ -2101,14 +2101,7 @@ UINT msi_table_apply_transform( MSIDATABASE *db, IStorage *stg )
}
if
(
ret
==
ERROR_SUCCESS
)
{
MSITRANSFORM
*
t
;
t
=
msi_alloc
(
sizeof
*
t
);
t
->
stg
=
stg
;
IStorage_AddRef
(
stg
);
list_add_tail
(
&
db
->
transforms
,
&
t
->
entry
);
}
append_storage_to_db
(
db
,
stg
);
end:
if
(
stgenum
)
...
...
@@ -2119,6 +2112,16 @@ end:
return
ret
;
}
void
append_storage_to_db
(
MSIDATABASE
*
db
,
IStorage
*
stg
)
{
MSITRANSFORM
*
t
;
t
=
msi_alloc
(
sizeof
*
t
);
t
->
stg
=
stg
;
IStorage_AddRef
(
stg
);
list_add_tail
(
&
db
->
transforms
,
&
t
->
entry
);
}
void
msi_free_transforms
(
MSIDATABASE
*
db
)
{
while
(
!
list_empty
(
&
db
->
transforms
)
)
...
...
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