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
fa2420d6
Commit
fa2420d6
authored
Mar 12, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Perform a case insensitive match on filenames from cabinets.
parent
0f40d262
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
files.c
dlls/msi/files.c
+12
-2
No files found.
dlls/msi/files.c
View file @
fa2420d6
...
...
@@ -247,6 +247,17 @@ static UINT msi_create_directory( MSIPACKAGE *package, const WCHAR *dir )
return
ERROR_SUCCESS
;
}
static
MSIFILE
*
find_file
(
MSIPACKAGE
*
package
,
const
WCHAR
*
filename
)
{
MSIFILE
*
file
;
LIST_FOR_EACH_ENTRY
(
file
,
&
package
->
files
,
MSIFILE
,
entry
)
{
if
(
!
strcmpiW
(
filename
,
file
->
File
))
return
file
;
}
return
NULL
;
}
static
BOOL
installfiles_cb
(
MSIPACKAGE
*
package
,
LPCWSTR
file
,
DWORD
action
,
LPWSTR
*
path
,
DWORD
*
attrs
,
PVOID
user
)
{
...
...
@@ -255,8 +266,7 @@ static BOOL installfiles_cb(MSIPACKAGE *package, LPCWSTR file, DWORD action,
if
(
action
==
MSICABEXTRACT_BEGINEXTRACT
)
{
f
=
msi_get_loaded_file
(
package
,
file
);
if
(
!
f
)
if
(
!
(
f
=
find_file
(
package
,
file
)))
{
TRACE
(
"unknown file in cabinet (%s)
\n
"
,
debugstr_w
(
file
));
return
FALSE
;
...
...
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