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
a13bbaf7
Commit
a13bbaf7
authored
Nov 07, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Nov 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Factor schedule_install_files out of ACTION_InstallFiles.
parent
de3b84df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
13 deletions
+17
-13
files.c
dlls/msi/files.c
+17
-13
No files found.
dlls/msi/files.c
View file @
a13bbaf7
...
...
@@ -581,6 +581,22 @@ static UINT get_file_target(MSIPACKAGE *package, LPCWSTR file_key,
return
ERROR_FUNCTION_FAILED
;
}
static
void
schedule_install_files
(
MSIPACKAGE
*
package
)
{
MSIFILE
*
file
;
LIST_FOR_EACH_ENTRY
(
file
,
&
package
->
files
,
MSIFILE
,
entry
)
{
if
(
!
ACTION_VerifyComponentForAction
(
file
->
Component
,
INSTALLSTATE_LOCAL
))
{
TRACE
(
"File %s is not scheduled for install
\n
"
,
debugstr_w
(
file
->
File
));
ui_progress
(
package
,
2
,
file
->
FileSize
,
0
,
0
);
file
->
state
=
msifs_skipped
;
}
}
}
/*
* ACTION_InstallFiles()
*
...
...
@@ -608,20 +624,8 @@ UINT ACTION_InstallFiles(MSIPACKAGE *package)
MSICODE_PRODUCT
,
INSTALLPROPERTY_PACKAGENAMEW
,
ptr
);
}
/* FIXME("Write DiskPrompt\n"); */
/* Pass 1 */
LIST_FOR_EACH_ENTRY
(
file
,
&
package
->
files
,
MSIFILE
,
entry
)
{
if
(
!
ACTION_VerifyComponentForAction
(
file
->
Component
,
INSTALLSTATE_LOCAL
))
{
ui_progress
(
package
,
2
,
file
->
FileSize
,
0
,
0
);
TRACE
(
"File %s is not scheduled for install
\n
"
,
debugstr_w
(
file
->
File
));
file
->
state
=
msifs_skipped
;
}
}
schedule_install_files
(
package
);
/*
* Despite MSDN specifying that the CreateFolders action
...
...
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