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
85874c07
Commit
85874c07
authored
Oct 06, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Look at the requested action instead of the action taken in MSI_SetFeatureStates.
parent
a9c3195e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
action.c
dlls/msi/action.c
+4
-4
No files found.
dlls/msi/action.c
View file @
85874c07
...
...
@@ -1785,7 +1785,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
BOOL
feature_state
=
((
feature
->
Level
>
0
)
&&
(
feature
->
Level
<=
level
));
if
(
(
feature_state
)
&&
(
feature
->
Action
==
INSTALLSTATE_UNKNOWN
)
)
if
(
feature_state
&&
feature
->
ActionRequest
==
INSTALLSTATE_UNKNOWN
)
{
if
(
feature
->
Attributes
&
msidbFeatureAttributesFavorSource
)
msi_feature_set_state
(
package
,
feature
,
INSTALLSTATE_SOURCE
);
...
...
@@ -1814,7 +1814,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
{
BOOL
selected
=
feature
->
Level
>
0
&&
feature
->
Level
<=
level
;
if
(
selected
&&
feature
->
Action
==
INSTALLSTATE_UNKNOWN
)
if
(
selected
&&
feature
->
Action
Request
==
INSTALLSTATE_UNKNOWN
)
{
msi_feature_set_state
(
package
,
feature
,
feature
->
Installed
);
}
...
...
@@ -1839,7 +1839,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
LIST_FOR_EACH_ENTRY
(
cl
,
&
feature
->
Components
,
ComponentList
,
entry
)
{
if
(
cl
->
component
->
ForceLocalState
&&
feature
->
Action
==
INSTALLSTATE_SOURCE
)
feature
->
Action
Request
==
INSTALLSTATE_SOURCE
)
{
msi_feature_set_state
(
package
,
feature
,
INSTALLSTATE_LOCAL
);
break
;
...
...
@@ -1850,7 +1850,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
{
component
=
cl
->
component
;
switch
(
feature
->
Action
)
switch
(
feature
->
Action
Request
)
{
case
INSTALLSTATE_ABSENT
:
component
->
anyAbsent
=
1
;
...
...
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