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
d95e3eb4
Commit
d95e3eb4
authored
Feb 17, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: PublishComponents must look at the requested install state of the feature, not the component.
parent
4e1c8767
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
19 deletions
+18
-19
action.c
dlls/msi/action.c
+18
-19
No files found.
dlls/msi/action.c
View file @
d95e3eb4
...
...
@@ -4490,33 +4490,34 @@ static UINT ACTION_ExecuteAction(MSIPACKAGE *package)
static
UINT
ITERATE_PublishComponent
(
MSIRECORD
*
rec
,
LPVOID
param
)
{
MSIPACKAGE
*
package
=
param
;
LPCWSTR
compgroupid
=
NULL
;
LPCWSTR
feature
=
NULL
;
LPCWSTR
text
=
NULL
;
LPCWSTR
qualifier
=
NULL
;
LPCWSTR
component
=
NULL
;
LPWSTR
advertise
=
NULL
;
LPWSTR
output
=
NULL
;
LPCWSTR
compgroupid
,
component
,
feature
,
qualifier
,
text
;
LPWSTR
advertise
=
NULL
,
output
=
NULL
;
HKEY
hkey
;
UINT
rc
=
ERROR_SUCCESS
;
UINT
rc
;
MSICOMPONENT
*
comp
;
DWORD
sz
=
0
;
MSIFEATURE
*
feat
;
DWORD
sz
;
MSIRECORD
*
uirow
;
component
=
MSI_RecordGetString
(
rec
,
3
);
comp
=
get_loaded_component
(
package
,
component
);
if
(
!
comp
)
feature
=
MSI_RecordGetString
(
rec
,
5
);
feat
=
get_loaded_feature
(
package
,
feature
);
if
(
!
feat
)
return
ERROR_SUCCESS
;
if
(
comp
->
ActionRequest
!=
INSTALLSTATE_LOCAL
&&
comp
->
ActionRequest
!=
INSTALLSTATE_SOURCE
&&
comp
->
ActionRequest
!=
INSTALLSTATE_ADVERTISED
)
if
(
feat
->
ActionRequest
!=
INSTALLSTATE_LOCAL
&&
feat
->
ActionRequest
!=
INSTALLSTATE_SOURCE
&&
feat
->
ActionRequest
!=
INSTALLSTATE_ADVERTISED
)
{
TRACE
(
"
Component not scheduled for installation %s
\n
"
,
debugstr_w
(
component
));
comp
->
Action
=
comp
->
Installed
;
TRACE
(
"
Feature %s not scheduled for installation
\n
"
,
debugstr_w
(
feature
));
feat
->
Action
=
feat
->
Installed
;
return
ERROR_SUCCESS
;
}
component
=
MSI_RecordGetString
(
rec
,
3
);
comp
=
get_loaded_component
(
package
,
component
);
if
(
!
comp
)
return
ERROR_SUCCESS
;
compgroupid
=
MSI_RecordGetString
(
rec
,
1
);
qualifier
=
MSI_RecordGetString
(
rec
,
2
);
...
...
@@ -4525,8 +4526,6 @@ static UINT ITERATE_PublishComponent(MSIRECORD *rec, LPVOID param)
goto
end
;
text
=
MSI_RecordGetString
(
rec
,
4
);
feature
=
MSI_RecordGetString
(
rec
,
5
);
advertise
=
create_component_advertise_string
(
package
,
comp
,
feature
);
sz
=
strlenW
(
advertise
);
...
...
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