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
f1af03fa
Commit
f1af03fa
authored
Apr 23, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Reduce the indentation level in ACTION_GetComponentInstallStates.
parent
f69445ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
action.c
dlls/msi/action.c
+13
-10
No files found.
dlls/msi/action.c
View file @
f1af03fa
...
...
@@ -1620,16 +1620,19 @@ static void ACTION_GetComponentInstallStates(MSIPACKAGE *package)
r
=
MsiQueryComponentStateW
(
package
->
ProductCode
,
NULL
,
MSIINSTALLCONTEXT_USERMANAGED
,
comp
->
ComponentId
,
&
comp
->
Installed
);
if
(
r
!=
ERROR_SUCCESS
)
r
=
MsiQueryComponentStateW
(
package
->
ProductCode
,
NULL
,
MSIINSTALLCONTEXT_USERUNMANAGED
,
comp
->
ComponentId
,
&
comp
->
Installed
);
if
(
r
!=
ERROR_SUCCESS
)
r
=
MsiQueryComponentStateW
(
package
->
ProductCode
,
NULL
,
MSIINSTALLCONTEXT_MACHINE
,
comp
->
ComponentId
,
&
comp
->
Installed
);
if
(
r
!=
ERROR_SUCCESS
)
comp
->
Installed
=
INSTALLSTATE_ABSENT
;
if
(
r
==
ERROR_SUCCESS
)
continue
;
r
=
MsiQueryComponentStateW
(
package
->
ProductCode
,
NULL
,
MSIINSTALLCONTEXT_USERUNMANAGED
,
comp
->
ComponentId
,
&
comp
->
Installed
);
if
(
r
==
ERROR_SUCCESS
)
continue
;
r
=
MsiQueryComponentStateW
(
package
->
ProductCode
,
NULL
,
MSIINSTALLCONTEXT_MACHINE
,
comp
->
ComponentId
,
&
comp
->
Installed
);
if
(
r
==
ERROR_SUCCESS
)
continue
;
comp
->
Installed
=
INSTALLSTATE_ABSENT
;
}
}
...
...
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