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
d447ae63
Commit
d447ae63
authored
Apr 05, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Honor msidbFeatureAttributesFollowParent.
parent
ce0b3a03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
6 deletions
+26
-6
action.c
dlls/msi/action.c
+26
-6
No files found.
dlls/msi/action.c
View file @
d447ae63
...
...
@@ -2232,18 +2232,23 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
}
}
}
/* disable child features of unselected parent features */
/* disable child features of unselected parent or follow parent */
LIST_FOR_EACH_ENTRY
(
feature
,
&
package
->
features
,
MSIFEATURE
,
entry
)
{
FeatureList
*
fl
;
if
(
is_feature_selected
(
feature
,
level
))
continue
;
LIST_FOR_EACH_ENTRY
(
fl
,
&
feature
->
Children
,
FeatureList
,
entry
)
{
fl
->
feature
->
Action
=
INSTALLSTATE_UNKNOWN
;
fl
->
feature
->
ActionRequest
=
INSTALLSTATE_UNKNOWN
;
if
(
!
is_feature_selected
(
feature
,
level
))
{
fl
->
feature
->
Action
=
INSTALLSTATE_UNKNOWN
;
fl
->
feature
->
ActionRequest
=
INSTALLSTATE_UNKNOWN
;
}
else
if
(
fl
->
feature
->
Attributes
&
msidbFeatureAttributesFollowParent
)
{
fl
->
feature
->
Action
=
feature
->
Action
;
fl
->
feature
->
ActionRequest
=
feature
->
ActionRequest
;
}
}
}
}
...
...
@@ -2267,6 +2272,21 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
}
}
}
LIST_FOR_EACH_ENTRY
(
feature
,
&
package
->
features
,
MSIFEATURE
,
entry
)
{
FeatureList
*
fl
;
if
(
!
is_feature_selected
(
feature
,
level
))
continue
;
LIST_FOR_EACH_ENTRY
(
fl
,
&
feature
->
Children
,
FeatureList
,
entry
)
{
if
(
fl
->
feature
->
Attributes
&
msidbFeatureAttributesFollowParent
)
{
fl
->
feature
->
Action
=
feature
->
Action
;
fl
->
feature
->
ActionRequest
=
feature
->
ActionRequest
;
}
}
}
}
/* now we want to set component state based based on feature state */
...
...
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