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
ad80eceb
Commit
ad80eceb
authored
Nov 10, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Component attributes are bitmasks.
parent
53baea13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
action.c
dlls/msi/action.c
+7
-12
No files found.
dlls/msi/action.c
View file @
ad80eceb
...
...
@@ -1800,19 +1800,14 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
{
component
=
cl
->
component
;
switch
(
component
->
Attributes
)
{
case
msidbComponentAttributesLocalOnly
:
msi_component_set_state
(
component
,
INSTALLSTATE_LOCAL
);
break
;
case
msidbComponentAttributesSourceOnly
:
msi_component_set_state
(
component
,
INSTALLSTATE_SOURCE
);
break
;
case
msidbComponentAttributesOptional
:
if
(
component
->
Attributes
&
msidbComponentAttributesOptional
)
msi_component_set_state
(
component
,
INSTALLSTATE_DEFAULT
);
break
;
default:
msi_component_set_state
(
component
,
INSTALLSTATE_LOCAL
);
else
{
if
(
component
->
Attributes
&
msidbComponentAttributesSourceOnly
)
msi_component_set_state
(
component
,
INSTALLSTATE_SOURCE
);
else
msi_component_set_state
(
component
,
INSTALLSTATE_LOCAL
);
}
if
(
component
->
ForceLocalState
)
...
...
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