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
65915af1
Commit
65915af1
authored
Oct 13, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Append the file signature to the component's directory when searching for…
msi: Append the file signature to the component's directory when searching for the component's key path.
parent
701c2a27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
appsearch.c
dlls/msi/appsearch.c
+9
-0
package.c
dlls/msi/tests/package.c
+1
-4
No files found.
dlls/msi/appsearch.c
View file @
65915af1
...
...
@@ -225,6 +225,15 @@ static UINT ACTION_AppSearchComponents(MSIPACKAGE *package, LPWSTR *appValue, MS
*
appValue
=
strdupW
(
path
);
}
else
if
(
sigpresent
)
{
PathAddBackslashW
(
path
);
lstrcatW
(
path
,
MSI_RecordGetString
(
rec
,
2
));
attr
=
GetFileAttributesW
(
path
);
if
(
attr
!=
INVALID_FILE_ATTRIBUTES
&&
attr
!=
FILE_ATTRIBUTE_DIRECTORY
)
*
appValue
=
strdupW
(
path
);
}
done:
if
(
rec
)
msiobj_release
(
&
rec
->
hdr
);
...
...
dlls/msi/tests/package.c
View file @
65915af1
...
...
@@ -5963,10 +5963,7 @@ static void test_appsearch_complocator(void)
sprintf
(
path
,
"%s
\\
FileName5"
,
CURR_DIR
);
r
=
MsiGetPropertyA
(
hpkg
,
"SIGPROP5"
,
prop
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
todo_wine
{
ok
(
!
lstrcmpA
(
prop
,
path
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
path
,
prop
);
}
ok
(
!
lstrcmpA
(
prop
,
path
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
path
,
prop
);
size
=
MAX_PATH
;
sprintf
(
path
,
"%s
\\
"
,
CURR_DIR
);
...
...
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