Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6c6b2a7a
Commit
6c6b2a7a
authored
Mar 02, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Look at the requested action when publishing assemblies, not the action taken.
parent
ff3ed5f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
action.c
dlls/msi/action.c
+10
-5
No files found.
dlls/msi/action.c
View file @
6c6b2a7a
...
...
@@ -6481,20 +6481,25 @@ static UINT load_assembly(MSIRECORD *rec, LPVOID param)
{
ASSEMBLY_LIST
*
list
=
param
;
MSIASSEMBLY
*
assembly
;
LPCWSTR
component
;
assembly
=
msi_alloc_zero
(
sizeof
(
MSIASSEMBLY
));
if
(
!
assembly
)
return
ERROR_OUTOFMEMORY
;
assembly
->
component
=
get_loaded_component
(
list
->
package
,
MSI_RecordGetString
(
rec
,
1
));
component
=
MSI_RecordGetString
(
rec
,
1
);
assembly
->
component
=
get_loaded_component
(
list
->
package
,
component
);
if
(
!
assembly
->
component
)
return
ERROR_SUCCESS
;
if
(
!
assembly
->
component
||
!
assembly
->
component
->
Enabled
||
!
(
assembly
->
component
->
Action
&
(
INSTALLSTATE_LOCAL
|
INSTALLSTATE_SOURCE
))
)
if
(
assembly
->
component
->
ActionRequest
!=
INSTALLSTATE_LOCAL
&&
assembly
->
component
->
ActionRequest
!=
INSTALLSTATE_SOURCE
)
{
TRACE
(
"Component not s
et for install, not publishing assembly
\n
"
);
msi_free
(
assembly
)
;
TRACE
(
"Component not s
cheduled for installation: %s
\n
"
,
debugstr_w
(
component
)
);
assembly
->
component
->
Action
=
assembly
->
component
->
Installed
;
return
ERROR_SUCCESS
;
}
assembly
->
component
->
Action
=
assembly
->
component
->
ActionRequest
;
assembly
->
feature
=
find_feature_by_name
(
list
->
package
,
MSI_RecordGetString
(
rec
,
2
));
assembly
->
file
=
msi_find_file
(
list
->
package
,
assembly
->
component
->
KeyPath
);
...
...
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