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
ddf0b593
Commit
ddf0b593
authored
Oct 31, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Mark components with missing or outdated files as incomplete.
parent
d9598c38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
action.c
dlls/msi/action.c
+10
-0
No files found.
dlls/msi/action.c
View file @
ddf0b593
...
...
@@ -2005,10 +2005,19 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
TRACE
(
"file %s resolves to %s
\n
"
,
debugstr_w
(
file
->
File
),
debugstr_w
(
file
->
TargetPath
));
/* don't check files of components that aren't installed */
if
(
comp
->
Installed
==
INSTALLSTATE_UNKNOWN
||
comp
->
Installed
==
INSTALLSTATE_ABSENT
)
{
file
->
state
=
msifs_missing
;
/* assume files are missing */
continue
;
}
if
(
GetFileAttributesW
(
file
->
TargetPath
)
==
INVALID_FILE_ATTRIBUTES
)
{
file
->
state
=
msifs_missing
;
comp
->
Cost
+=
file
->
FileSize
;
comp
->
Installed
=
INSTALLSTATE_INCOMPLETE
;
continue
;
}
...
...
@@ -2022,6 +2031,7 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
{
file
->
state
=
msifs_overwrite
;
comp
->
Cost
+=
file
->
FileSize
;
comp
->
Installed
=
INSTALLSTATE_INCOMPLETE
;
}
else
file
->
state
=
msifs_present
;
...
...
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