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
5ecbc4f8
Commit
5ecbc4f8
authored
Jun 09, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Directly pass the disk id to installfiles_cb.
The MEDIAINFO structure is modified by the cabinet_next_cabinet callback if there's a continuous cabinet in the installer.
parent
dcb501de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
files.c
dlls/msi/files.c
+3
-3
No files found.
dlls/msi/files.c
View file @
5ecbc4f8
...
@@ -196,7 +196,7 @@ static BOOL installfiles_cb(MSIPACKAGE *package, LPCWSTR file, DWORD action,
...
@@ -196,7 +196,7 @@ static BOOL installfiles_cb(MSIPACKAGE *package, LPCWSTR file, DWORD action,
LPWSTR
*
path
,
DWORD
*
attrs
,
PVOID
user
)
LPWSTR
*
path
,
DWORD
*
attrs
,
PVOID
user
)
{
{
static
MSIFILE
*
f
=
NULL
;
static
MSIFILE
*
f
=
NULL
;
MSIMEDIAINFO
*
mi
=
user
;
UINT_PTR
disk_id
=
(
UINT_PTR
)
user
;
if
(
action
==
MSICABEXTRACT_BEGINEXTRACT
)
if
(
action
==
MSICABEXTRACT_BEGINEXTRACT
)
{
{
...
@@ -207,7 +207,7 @@ static BOOL installfiles_cb(MSIPACKAGE *package, LPCWSTR file, DWORD action,
...
@@ -207,7 +207,7 @@ static BOOL installfiles_cb(MSIPACKAGE *package, LPCWSTR file, DWORD action,
return
FALSE
;
return
FALSE
;
}
}
if
(
f
->
disk_id
!=
mi
->
disk_id
||
(
f
->
state
!=
msifs_missing
&&
f
->
state
!=
msifs_overwrite
))
if
(
f
->
disk_id
!=
disk_id
||
(
f
->
state
!=
msifs_missing
&&
f
->
state
!=
msifs_overwrite
))
return
FALSE
;
return
FALSE
;
msi_file_update_ui
(
package
,
f
,
szInstallFiles
);
msi_file_update_ui
(
package
,
f
,
szInstallFiles
);
...
@@ -265,7 +265,7 @@ UINT ACTION_InstallFiles(MSIPACKAGE *package)
...
@@ -265,7 +265,7 @@ UINT ACTION_InstallFiles(MSIPACKAGE *package)
data
.
mi
=
mi
;
data
.
mi
=
mi
;
data
.
package
=
package
;
data
.
package
=
package
;
data
.
cb
=
installfiles_cb
;
data
.
cb
=
installfiles_cb
;
data
.
user
=
mi
;
data
.
user
=
(
PVOID
)(
UINT_PTR
)
mi
->
disk_id
;
if
(
file
->
IsCompressed
&&
if
(
file
->
IsCompressed
&&
!
msi_cabextract
(
package
,
mi
,
&
data
))
!
msi_cabextract
(
package
,
mi
,
&
data
))
...
...
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