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
d17ebc40
Commit
d17ebc40
authored
May 31, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
May 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Advance to the right cabinet in ACTION_MsiPublishAssemblies.
parent
8bfc0877
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
26 deletions
+24
-26
action.c
dlls/msi/action.c
+21
-21
media.c
dlls/msi/media.c
+3
-5
No files found.
dlls/msi/action.c
View file @
d17ebc40
...
@@ -6919,33 +6919,33 @@ static UINT ACTION_MsiPublishAssemblies( MSIPACKAGE *package )
...
@@ -6919,33 +6919,33 @@ static UINT ACTION_MsiPublishAssemblies( MSIPACKAGE *package )
if
(
assembly
->
installed
&&
!
mi
->
is_continuous
)
if
(
assembly
->
installed
&&
!
mi
->
is_continuous
)
continue
;
continue
;
if
(
assembly
->
file
->
Sequence
>
mi
->
last_sequence
||
mi
->
is_continuous
||
if
(
assembly
->
file
->
IsCompressed
)
(
assembly
->
file
->
IsCompressed
&&
!
mi
->
is_extracted
))
{
{
MSICABDATA
data
;
if
(
assembly
->
file
->
disk_id
!=
mi
->
disk_id
||
mi
->
is_continuous
)
r
=
ready_media
(
package
,
assembly
->
file
,
mi
);
if
(
r
!=
ERROR_SUCCESS
)
{
{
ERR
(
"Failed to ready media
\n
"
);
MSICABDATA
data
;
break
;
}
data
.
mi
=
mi
;
r
=
ready_media
(
package
,
assembly
->
file
,
mi
);
data
.
package
=
package
;
if
(
r
!=
ERROR_SUCCESS
)
data
.
cb
=
installassembly_cb
;
{
data
.
user
=
&
assemblies
;
ERR
(
"Failed to ready media
\n
"
);
break
;
}
if
(
assembly
->
file
->
IsCompressed
&&
data
.
mi
=
mi
;
!
msi_cabextract
(
package
,
mi
,
&
data
))
data
.
package
=
package
;
{
data
.
cb
=
installassembly_cb
;
ERR
(
"Failed to extract cabinet: %s
\n
"
,
debugstr_w
(
mi
->
cabinet
));
data
.
user
=
&
assemblies
;
r
=
ERROR_FUNCTION_FAILED
;
break
;
if
(
!
msi_cabextract
(
package
,
mi
,
&
data
))
{
ERR
(
"Failed to extract cabinet: %s
\n
"
,
debugstr_w
(
mi
->
cabinet
));
r
=
ERROR_FUNCTION_FAILED
;
break
;
}
}
}
}
}
else
if
(
!
assembly
->
file
->
IsCompressed
)
{
{
LPWSTR
source
=
resolve_file_source
(
package
,
assembly
->
file
);
LPWSTR
source
=
resolve_file_source
(
package
,
assembly
->
file
);
...
...
dlls/msi/media.c
View file @
d17ebc40
...
@@ -629,12 +629,10 @@ static UINT msi_load_media_info(MSIPACKAGE *package, MSIFILE *file, MSIMEDIAINFO
...
@@ -629,12 +629,10 @@ static UINT msi_load_media_info(MSIPACKAGE *package, MSIFILE *file, MSIMEDIAINFO
static
const
WCHAR
query
[]
=
{
static
const
WCHAR
query
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'`'
,
'M'
,
'e'
,
'd'
,
'i'
,
'a'
,
'`'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
'`'
,
'M'
,
'e'
,
'd'
,
'i'
,
'a'
,
'`'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
'`'
,
'L'
,
'a'
,
's'
,
't'
,
'S'
,
'e'
,
'q'
,
'u'
,
'e'
,
'n'
,
'c'
,
'e'
,
'`'
,
' '
,
'>'
,
'='
,
'`'
,
'L'
,
'a'
,
's'
,
't'
,
'S'
,
'e'
,
'q'
,
'u'
,
'e'
,
'n'
,
'c'
,
'e'
,
'`'
,
' '
,
'>'
,
'='
,
' '
,
'%'
,
'i'
,
' '
,
'%'
,
'i'
,
' '
,
'A'
,
'N'
,
'D'
,
' '
,
'`'
,
'D'
,
'i'
,
's'
,
'k'
,
'I'
,
'd'
,
'`'
,
' '
,
'>'
,
'='
,
' '
,
'O'
,
'R'
,
'D'
,
'E'
,
'R'
,
' '
,
'B'
,
'Y'
,
' '
,
'`'
,
'D'
,
'i'
,
's'
,
'k'
,
'I'
,
'd'
,
'`'
,
0
};
' '
,
'%'
,
'i'
,
' '
,
'O'
,
'R'
,
'D'
,
'E'
,
'R'
,
' '
,
'B'
,
'Y'
,
' '
,
'`'
,
'D'
,
'i'
,
's'
,
'k'
,
'I'
,
'd'
,
'`'
,
0
};
row
=
MSI_QueryGetRecord
(
package
->
db
,
query
,
file
->
Sequence
,
mi
->
disk_id
);
row
=
MSI_QueryGetRecord
(
package
->
db
,
query
,
file
->
Sequence
);
if
(
!
row
)
if
(
!
row
)
{
{
TRACE
(
"Unable to query row
\n
"
);
TRACE
(
"Unable to query row
\n
"
);
...
...
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