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
de11a50b
Commit
de11a50b
authored
Jan 05, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't crash on secondary root folders in msi_resolve_target_folder.
parent
c77b4147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
action.c
dlls/msi/action.c
+7
-2
No files found.
dlls/msi/action.c
View file @
de11a50b
...
...
@@ -2285,8 +2285,13 @@ void msi_resolve_target_folder( MSIPACKAGE *package, const WCHAR *name, BOOL loa
}
else
if
(
!
load_prop
||
!
(
path
=
msi_dup_property
(
package
->
db
,
folder
->
Directory
)))
{
parent
=
msi_get_loaded_folder
(
package
,
folder
->
Parent
);
path
=
msi_build_directory_name
(
3
,
parent
->
ResolvedTarget
,
folder
->
TargetDefault
,
NULL
);
if
(
folder
->
Parent
&&
strcmpW
(
folder
->
Directory
,
folder
->
Parent
))
{
parent
=
msi_get_loaded_folder
(
package
,
folder
->
Parent
);
path
=
msi_build_directory_name
(
3
,
parent
->
ResolvedTarget
,
folder
->
TargetDefault
,
NULL
);
}
else
path
=
msi_build_directory_name
(
2
,
folder
->
TargetDefault
,
NULL
);
}
msi_clean_path
(
path
);
if
(
folder
->
ResolvedTarget
&&
!
strcmpiW
(
path
,
folder
->
ResolvedTarget
))
...
...
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