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
f464b7d2
Commit
f464b7d2
authored
May 17, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
May 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't resolve child folders if the target path doesn't change in MsiSetTargetPath.
parent
01433f0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
install.c
dlls/msi/install.c
+14
-8
No files found.
dlls/msi/install.c
View file @
f464b7d2
...
...
@@ -549,17 +549,23 @@ static void set_target_path( MSIPACKAGE *package, MSIFOLDER *folder, const WCHAR
{
FolderList
*
fl
;
MSIFOLDER
*
child
;
WCHAR
*
target_path
;
msi_free
(
folder
->
ResolvedTarget
);
folder
->
ResolvedTarget
=
strdupW
(
path
);
msi_clean_path
(
folder
->
ResolvedTarget
);
msi_set_property
(
package
->
db
,
folder
->
Directory
,
folder
->
ResolvedTarget
);
LIST_FOR_EACH_ENTRY
(
fl
,
&
folder
->
children
,
FolderList
,
entry
)
if
(
!
(
target_path
=
strdupW
(
path
)))
return
;
msi_clean_path
(
target_path
);
if
(
strcmpW
(
target_path
,
folder
->
ResolvedTarget
))
{
child
=
fl
->
folder
;
msi_resolve_target_folder
(
package
,
child
->
Directory
,
FALSE
);
msi_free
(
folder
->
ResolvedTarget
);
folder
->
ResolvedTarget
=
target_path
;
msi_set_property
(
package
->
db
,
folder
->
Directory
,
folder
->
ResolvedTarget
);
LIST_FOR_EACH_ENTRY
(
fl
,
&
folder
->
children
,
FolderList
,
entry
)
{
child
=
fl
->
folder
;
msi_resolve_target_folder
(
package
,
child
->
Directory
,
FALSE
);
}
}
else
msi_free
(
target_path
);
}
UINT
MSI_SetTargetPathW
(
MSIPACKAGE
*
package
,
LPCWSTR
szFolder
,
LPCWSTR
szFolderPath
)
...
...
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