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
cae3215a
Commit
cae3215a
authored
Jul 21, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Jul 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set the component's initial state based on its attributes.
parent
3c03ae2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
action.c
dlls/msi/action.c
+19
-2
No files found.
dlls/msi/action.c
View file @
cae3215a
...
...
@@ -1115,8 +1115,25 @@ static MSICOMPONENT* load_component( MSIRECORD * row )
comp
->
KeyPath
=
msi_dup_record_field
(
row
,
6
);
comp
->
Installed
=
INSTALLSTATE_ABSENT
;
comp
->
Action
=
INSTALLSTATE_UNKNOWN
;
comp
->
ActionRequest
=
INSTALLSTATE_UNKNOWN
;
switch
(
comp
->
Attributes
)
{
case
msidbComponentAttributesLocalOnly
:
comp
->
Action
=
INSTALLSTATE_LOCAL
;
comp
->
ActionRequest
=
INSTALLSTATE_LOCAL
;
break
;
case
msidbComponentAttributesSourceOnly
:
comp
->
Action
=
INSTALLSTATE_SOURCE
;
comp
->
ActionRequest
=
INSTALLSTATE_SOURCE
;
break
;
case
msidbComponentAttributesOptional
:
comp
->
Action
=
INSTALLSTATE_LOCAL
;
comp
->
ActionRequest
=
INSTALLSTATE_LOCAL
;
break
;
default:
comp
->
Action
=
INSTALLSTATE_UNKNOWN
;
comp
->
ActionRequest
=
INSTALLSTATE_UNKNOWN
;
}
comp
->
Enabled
=
TRUE
;
...
...
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