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
765275a3
Commit
765275a3
authored
Sep 08, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make sure read-only source files are set writable after being copied.
parent
8a9ba8f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
files.c
dlls/msi/files.c
+6
-6
No files found.
dlls/msi/files.c
View file @
765275a3
...
...
@@ -131,13 +131,13 @@ static UINT copy_file(MSIFILE *file)
BOOL
ret
;
ret
=
CopyFileW
(
file
->
SourcePath
,
file
->
TargetPath
,
FALSE
);
if
(
ret
)
{
file
->
state
=
msifs_installed
;
return
ERROR_SUCCESS
;
}
if
(
!
ret
)
return
GetLastError
();
return
GetLastError
();
SetFileAttributesW
(
file
->
TargetPath
,
FILE_ATTRIBUTE_NORMAL
);
file
->
state
=
msifs_installed
;
return
ERROR_SUCCESS
;
}
static
UINT
copy_install_file
(
MSIFILE
*
file
)
...
...
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