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
9460ae35
Commit
9460ae35
authored
May 13, 2008
by
James Hawkins
Committed by
Alexandre Julliard
May 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Copy the assembly file directly if it's not compressed.
parent
47f83635
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
action.c
dlls/msi/action.c
+15
-0
No files found.
dlls/msi/action.c
View file @
9460ae35
...
...
@@ -5659,6 +5659,9 @@ static UINT ITERATE_PublishAssembly( MSIRECORD *rec, LPVOID param )
file
=
msi_find_file
(
package
,
comp
->
KeyPath
);
GetTempPathW
(
MAX_PATH
,
path
);
if
(
file
->
IsCompressed
)
{
r
=
msi_extract_file
(
package
,
file
,
path
);
if
(
r
!=
ERROR_SUCCESS
)
{
...
...
@@ -5668,6 +5671,18 @@ static UINT ITERATE_PublishAssembly( MSIRECORD *rec, LPVOID param )
PathAddBackslashW
(
path
);
lstrcatW
(
path
,
file
->
FileName
);
}
else
{
PathAddBackslashW
(
path
);
lstrcatW
(
path
,
file
->
FileName
);
if
(
!
CopyFileW
(
file
->
SourcePath
,
path
,
FALSE
))
{
ERR
(
"Failed to copy temporary assembly: %d
\n
"
,
GetLastError
());
return
ERROR_FUNCTION_FAILED
;
}
}
r
=
install_assembly
(
path
);
if
(
r
!=
ERROR_SUCCESS
)
...
...
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