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
4e25188a
Commit
4e25188a
authored
Nov 22, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Treat the SourceDir folder the same as TargetDir.
parent
7eb27026
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
helpers.c
dlls/msi/helpers.c
+4
-1
package.c
dlls/msi/tests/package.c
+0
-2
No files found.
dlls/msi/helpers.c
View file @
4e25188a
...
...
@@ -231,12 +231,15 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source,
if
(
!
name
)
return
NULL
;
if
(
!
lstrcmpW
(
name
,
cszSourceDir
))
name
=
cszTargetDir
;
f
=
get_loaded_folder
(
package
,
name
);
if
(
!
f
)
return
NULL
;
/* special resolving for Target and Source root dir */
if
(
strcmpW
(
name
,
cszTargetDir
)
==
0
||
strcmpW
(
name
,
cszSourceDir
)
==
0
)
if
(
!
strcmpW
(
name
,
cszTargetDir
)
)
{
if
(
!
f
->
ResolvedTarget
&&
!
f
->
Property
)
{
...
...
dlls/msi/tests/package.c
View file @
4e25188a
...
...
@@ -2939,10 +2939,8 @@ static void test_prop_path(void)
sz
=
sizeof
buffer
;
buffer
[
0
]
=
0
;
r
=
MsiGetSourcePath
(
hpkg
,
"SourceDir"
,
buffer
,
&
sz
);
todo_wine
{
ok
(
r
==
ERROR_SUCCESS
,
"failed to get source path
\n
"
);
ok
(
!
lstrcmpi
(
cwd
,
buffer
),
"SourceDir (%s) should be current dir (%s)
\n
"
,
buffer
,
cwd
);
}
sz
=
sizeof
buffer
;
buffer
[
0
]
=
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