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
3faddc21
Commit
3faddc21
authored
Nov 11, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Calculate file install states after evaluating component conditions, not before.
parent
fa9757bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
action.c
dlls/msi/action.c
+4
-5
No files found.
dlls/msi/action.c
View file @
3faddc21
...
...
@@ -2162,8 +2162,7 @@ static UINT set_file_install_states( MSIPACKAGE *package )
DWORD
file_size
;
LPWSTR
p
;
if
(
!
comp
)
continue
;
if
(
!
comp
->
Enabled
)
continue
;
if
(
file
->
IsCompressed
)
comp
->
ForceLocalState
=
TRUE
;
...
...
@@ -2264,9 +2263,6 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
ACTION_GetComponentInstallStates
(
package
);
ACTION_GetFeatureInstallStates
(
package
);
TRACE
(
"Calculating file install states
\n
"
);
set_file_install_states
(
package
);
if
(
!
process_overrides
(
package
,
msi_get_property_int
(
package
->
db
,
szlevel
,
1
)
))
{
TRACE
(
"Evaluating feature conditions
\n
"
);
...
...
@@ -2291,6 +2287,9 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
comp
->
Enabled
=
TRUE
;
}
TRACE
(
"Calculating file install states
\n
"
);
set_file_install_states
(
package
);
msi_set_property
(
package
->
db
,
szCosting
,
szOne
);
/* set default run level if not set */
level
=
msi_dup_property
(
package
->
db
,
szlevel
);
...
...
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