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
bc13c7eb
Commit
bc13c7eb
authored
Feb 01, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Reset file attributes before removing a file.
parent
726c0455
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
files.c
dlls/msi/files.c
+3
-1
No files found.
dlls/msi/files.c
View file @
bc13c7eb
...
@@ -1048,9 +1048,11 @@ UINT ACTION_RemoveFiles( MSIPACKAGE *package )
...
@@ -1048,9 +1048,11 @@ UINT ACTION_RemoveFiles( MSIPACKAGE *package )
}
}
TRACE
(
"removing %s
\n
"
,
debugstr_w
(
file
->
File
)
);
TRACE
(
"removing %s
\n
"
,
debugstr_w
(
file
->
File
)
);
SetFileAttributesW
(
file
->
TargetPath
,
FILE_ATTRIBUTE_NORMAL
);
if
(
!
DeleteFileW
(
file
->
TargetPath
))
if
(
!
DeleteFileW
(
file
->
TargetPath
))
{
{
WARN
(
"failed to delete %s
\n
"
,
debugstr_w
(
file
->
TargetPath
));
WARN
(
"failed to delete %s
(%u)
\n
"
,
debugstr_w
(
file
->
TargetPath
),
GetLastError
(
));
}
}
/* FIXME: check persistence for each directory */
/* FIXME: check persistence for each directory */
else
if
(
r
&&
(
dir
=
strdupW
(
file
->
TargetPath
)))
else
if
(
r
&&
(
dir
=
strdupW
(
file
->
TargetPath
)))
...
...
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