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
9d688043
Commit
9d688043
authored
Aug 24, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Resolve the target folder if necessary when building link filenames.
parent
d7952d8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
action.c
dlls/msi/action.c
+11
-1
No files found.
dlls/msi/action.c
View file @
9d688043
...
...
@@ -3518,7 +3518,17 @@ static WCHAR *get_link_file( MSIPACKAGE *package, MSIRECORD *row )
directory
=
MSI_RecordGetString
(
row
,
2
);
link_folder
=
msi_get_target_folder
(
package
,
directory
);
if
(
!
link_folder
)
{
/* some installers use a separate root */
MSIFOLDER
*
folder
=
msi_get_loaded_folder
(
package
,
directory
);
while
(
folder
->
Parent
&&
strcmpW
(
folder
->
Parent
,
folder
->
Directory
))
{
folder
=
msi_get_loaded_folder
(
package
,
folder
->
Parent
);
}
msi_resolve_target_folder
(
package
,
folder
->
Directory
,
TRUE
);
link_folder
=
msi_get_target_folder
(
package
,
directory
);
}
/* may be needed because of a bug somewhere else */
msi_create_full_path
(
link_folder
);
...
...
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