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
2590c081
Commit
2590c081
authored
Jul 18, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Jul 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set name in ACTION_AppSearchGetSignature.
parent
dc98a727
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
appsearch.c
dlls/msi/appsearch.c
+2
-3
No files found.
dlls/msi/appsearch.c
View file @
2590c081
...
@@ -37,7 +37,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msi);
...
@@ -37,7 +37,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msi);
typedef
struct
tagMSISIGNATURE
typedef
struct
tagMSISIGNATURE
{
{
LP
WSTR
Name
;
/* NOT owned by this structure */
LP
CWSTR
Name
;
/* NOT owned by this structure */
LPWSTR
File
;
LPWSTR
File
;
DWORD
MinVersionMS
;
DWORD
MinVersionMS
;
DWORD
MinVersionLS
;
DWORD
MinVersionLS
;
...
@@ -95,6 +95,7 @@ static UINT ACTION_AppSearchGetSignature(MSIPACKAGE *package, MSISIGNATURE *sig,
...
@@ -95,6 +95,7 @@ static UINT ACTION_AppSearchGetSignature(MSIPACKAGE *package, MSISIGNATURE *sig,
TRACE
(
"(package %p, sig %p)
\n
"
,
package
,
sig
);
TRACE
(
"(package %p, sig %p)
\n
"
,
package
,
sig
);
memset
(
sig
,
0
,
sizeof
(
*
sig
));
memset
(
sig
,
0
,
sizeof
(
*
sig
));
sig
->
Name
=
name
;
rc
=
MSI_OpenQuery
(
package
->
db
,
&
view
,
ExecSeqQuery
,
name
);
rc
=
MSI_OpenQuery
(
package
->
db
,
&
view
,
ExecSeqQuery
,
name
);
if
(
rc
==
ERROR_SUCCESS
)
if
(
rc
==
ERROR_SUCCESS
)
{
{
...
@@ -951,9 +952,7 @@ UINT ACTION_AppSearch(MSIPACKAGE *package)
...
@@ -951,9 +952,7 @@ UINT ACTION_AppSearch(MSIPACKAGE *package)
}
}
TRACE
(
"Searching for Property %s, Signature_ %s
\n
"
,
TRACE
(
"Searching for Property %s, Signature_ %s
\n
"
,
debugstr_w
(
propBuf
),
debugstr_w
(
sigBuf
));
debugstr_w
(
propBuf
),
debugstr_w
(
sigBuf
));
/* This clears all the fields, so set Name and Property afterward */
rc
=
ACTION_AppSearchGetSignature
(
package
,
&
sig
,
sigBuf
);
rc
=
ACTION_AppSearchGetSignature
(
package
,
&
sig
,
sigBuf
);
sig
.
Name
=
sigBuf
;
if
(
rc
==
ERROR_SUCCESS
)
if
(
rc
==
ERROR_SUCCESS
)
{
{
rc
=
ACTION_AppSearchComponents
(
package
,
&
value
,
&
sig
);
rc
=
ACTION_AppSearchComponents
(
package
,
&
value
,
&
sig
);
...
...
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