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
4b4f737b
Commit
4b4f737b
authored
Jan 05, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jan 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Only read an internal package if the file to install is compressed.
parent
d65daea4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
files.c
dlls/msi/files.c
+10
-12
No files found.
dlls/msi/files.c
View file @
4b4f737b
...
...
@@ -573,22 +573,20 @@ static UINT load_media_info(MSIPACKAGE *package, MSIFILE *file, struct media_inf
mi
->
first_volume
=
strdupW
(
mi
->
volume_label
);
source_dir
=
msi_dup_property
(
package
,
cszSourceDir
);
lstrcpyW
(
mi
->
source
,
source_dir
);
if
(
mi
->
cabinet
&&
mi
->
cabinet
[
0
]
==
'#'
)
if
(
file
->
IsCompressed
&&
mi
->
cabinet
)
{
r
=
writeout_cabinet_stream
(
package
,
&
mi
->
cabinet
[
1
],
mi
->
source
);
if
(
r
!=
ERROR_SUCCESS
)
if
(
mi
->
cabinet
[
0
]
==
'#'
)
{
ERR
(
"Failed to extract cabinet stream
\n
"
);
return
ERROR_FUNCTION_FAILED
;
r
=
writeout_cabinet_stream
(
package
,
&
mi
->
cabinet
[
1
],
mi
->
source
);
if
(
r
!=
ERROR_SUCCESS
)
{
ERR
(
"Failed to extract cabinet stream
\n
"
);
return
ERROR_FUNCTION_FAILED
;
}
}
}
else
{
lstrcpyW
(
mi
->
source
,
source_dir
);
if
(
mi
->
cabinet
)
else
lstrcatW
(
mi
->
source
,
mi
->
cabinet
);
}
...
...
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