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
32c7a52f
Commit
32c7a52f
authored
May 08, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
May 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Resolve the target path for the ODBC driver file if necessary.
parent
791a4665
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
action.c
dlls/msi/action.c
+5
-0
No files found.
dlls/msi/action.c
View file @
32c7a52f
...
...
@@ -6082,6 +6082,11 @@ static UINT ITERATE_InstallODBCDriver( MSIRECORD *rec, LPVOID param )
ptr
+=
lstrlenW
(
ptr
)
+
1
;
*
ptr
=
'\0'
;
if
(
!
driver_file
->
TargetPath
)
{
const
WCHAR
*
dir
=
msi_get_target_folder
(
package
,
driver_file
->
Component
->
Directory
);
driver_file
->
TargetPath
=
msi_build_directory_name
(
2
,
dir
,
driver_file
->
FileName
);
}
driver_path
=
strdupW
(
driver_file
->
TargetPath
);
ptr
=
strrchrW
(
driver_path
,
'\\'
);
if
(
ptr
)
*
ptr
=
'\0'
;
...
...
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