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
8722d0c4
Commit
8722d0c4
authored
Mar 23, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: The AppSearch and CCPSearch actions must be run only once.
parent
a4be941d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
5 deletions
+20
-5
action.c
dlls/msi/action.c
+0
-2
appsearch.c
dlls/msi/appsearch.c
+16
-0
msipriv.h
dlls/msi/msipriv.h
+1
-0
upgrade.c
dlls/msi/upgrade.c
+3
-3
No files found.
dlls/msi/action.c
View file @
8722d0c4
...
...
@@ -96,8 +96,6 @@ static const WCHAR szAllocateRegistrySpace[] =
{
'A'
,
'l'
,
'l'
,
'o'
,
'c'
,
'a'
,
't'
,
'e'
,
'R'
,
'e'
,
'g'
,
'i'
,
's'
,
't'
,
'r'
,
'y'
,
'S'
,
'p'
,
'a'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
szBindImage
[]
=
{
'B'
,
'i'
,
'n'
,
'd'
,
'I'
,
'm'
,
'a'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
szCCPSearch
[]
=
{
'C'
,
'C'
,
'P'
,
'S'
,
'e'
,
'a'
,
'r'
,
'c'
,
'h'
,
0
};
static
const
WCHAR
szDeleteServices
[]
=
{
'D'
,
'e'
,
'l'
,
'e'
,
't'
,
'e'
,
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
's'
,
0
};
static
const
WCHAR
szDisableRollback
[]
=
...
...
dlls/msi/appsearch.c
View file @
8722d0c4
...
...
@@ -1064,6 +1064,14 @@ UINT ACTION_AppSearch(MSIPACKAGE *package)
MSIQUERY
*
view
=
NULL
;
UINT
r
;
if
(
check_unique_action
(
package
,
szAppSearch
))
{
TRACE
(
"Skipping AppSearch action: already done in UI sequence
\n
"
);
return
ERROR_SUCCESS
;
}
else
register_unique_action
(
package
,
szAppSearch
);
r
=
MSI_OpenQuery
(
package
->
db
,
&
view
,
query
);
if
(
r
!=
ERROR_SUCCESS
)
return
ERROR_SUCCESS
;
...
...
@@ -1111,6 +1119,14 @@ UINT ACTION_CCPSearch(MSIPACKAGE *package)
MSIQUERY
*
view
=
NULL
;
UINT
r
;
if
(
check_unique_action
(
package
,
szCCPSearch
))
{
TRACE
(
"Skipping AppSearch action: already done in UI sequence
\n
"
);
return
ERROR_SUCCESS
;
}
else
register_unique_action
(
package
,
szCCPSearch
);
r
=
MSI_OpenQuery
(
package
->
db
,
&
view
,
query
);
if
(
r
!=
ERROR_SUCCESS
)
return
ERROR_SUCCESS
;
...
...
dlls/msi/msipriv.h
View file @
8722d0c4
...
...
@@ -1084,6 +1084,7 @@ static const WCHAR szHU[] = {'H','K','E','Y','_','U','S','E','R','S','\\',0};
static
const
WCHAR
szWindowsFolder
[]
=
{
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'F'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
szAppSearch
[]
=
{
'A'
,
'p'
,
'p'
,
'S'
,
'e'
,
'a'
,
'r'
,
'c'
,
'h'
,
0
};
static
const
WCHAR
szMoveFiles
[]
=
{
'M'
,
'o'
,
'v'
,
'e'
,
'F'
,
'i'
,
'l'
,
'e'
,
's'
,
0
};
static
const
WCHAR
szCCPSearch
[]
=
{
'C'
,
'C'
,
'P'
,
'S'
,
'e'
,
'a'
,
'r'
,
'c'
,
'h'
,
0
};
/* memory allocation macro functions */
static
void
*
msi_alloc
(
size_t
len
)
__WINE_ALLOC_SIZE
(
1
);
...
...
dlls/msi/upgrade.c
View file @
8722d0c4
...
...
@@ -209,13 +209,13 @@ UINT ACTION_FindRelatedProducts(MSIPACKAGE *package)
return
ERROR_SUCCESS
;
}
if
(
check_unique_action
(
package
,
szFindRelatedProducts
))
if
(
check_unique_action
(
package
,
szFindRelatedProducts
))
{
TRACE
(
"Skipping FindRelatedProducts action: already done
on client sid
e
\n
"
);
TRACE
(
"Skipping FindRelatedProducts action: already done
in UI sequenc
e
\n
"
);
return
ERROR_SUCCESS
;
}
else
register_unique_action
(
package
,
szFindRelatedProducts
);
register_unique_action
(
package
,
szFindRelatedProducts
);
rc
=
MSI_DatabaseOpenViewW
(
package
->
db
,
Query
,
&
view
);
if
(
rc
!=
ERROR_SUCCESS
)
...
...
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