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
33a4fe19
Commit
33a4fe19
authored
Nov 28, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Nov 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't check for the media or cabinet if the cabinet is internal.
parent
32d3ffc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
files.c
dlls/msi/files.c
+4
-1
No files found.
dlls/msi/files.c
View file @
33a4fe19
...
...
@@ -617,6 +617,10 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m
return
ERROR_FUNCTION_FAILED
;
}
/* cabinet is internal, no checks needed */
if
(
!
mi
->
cabinet
||
mi
->
cabinet
[
0
]
==
'#'
)
return
ERROR_SUCCESS
;
/* package should be downloaded */
if
(
file
->
IsCompressed
&&
GetFileAttributesW
(
mi
->
source
)
==
INVALID_FILE_ATTRIBUTES
&&
...
...
@@ -647,7 +651,6 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m
}
if
(
file
->
IsCompressed
&&
mi
->
cabinet
&&
mi
->
cabinet
[
0
]
!=
'#'
&&
GetFileAttributesW
(
mi
->
source
)
==
INVALID_FILE_ATTRIBUTES
)
{
ERR
(
"Cabinet not found: %s
\n
"
,
debugstr_w
(
mi
->
source
));
...
...
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