Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
472b9919
Commit
472b9919
authored
Aug 21, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Aug 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't remove a misc file if the action is unknown.
parent
7c9873e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
files.c
dlls/msi/files.c
+3
-0
install.c
dlls/msi/tests/install.c
+1
-4
No files found.
dlls/msi/files.c
View file @
472b9919
...
...
@@ -439,6 +439,9 @@ static BOOL verify_comp_for_removal(MSICOMPONENT *comp, UINT install_mode)
{
INSTALLSTATE
request
=
comp
->
ActionRequest
;
if
(
request
==
INSTALLSTATE_UNKNOWN
)
return
FALSE
;
if
(
install_mode
==
msidbRemoveFileInstallModeOnInstall
&&
(
request
==
INSTALLSTATE_LOCAL
||
request
==
INSTALLSTATE_SOURCE
))
return
TRUE
;
...
...
dlls/msi/tests/install.c
View file @
472b9919
...
...
@@ -4317,10 +4317,7 @@ static void test_removefiles(void)
ok
(
delete_pf
(
"msitest
\\
attoparsec"
,
TRUE
),
"File deleted
\n
"
);
ok
(
!
delete_pf
(
"msitest
\\
storeys"
,
TRUE
),
"File not deleted
\n
"
);
ok
(
!
delete_pf
(
"msitest
\\
block"
,
TRUE
),
"File not deleted
\n
"
);
todo_wine
{
ok
(
delete_pf
(
"msitest
\\
siriometer"
,
TRUE
),
"File deleted
\n
"
);
}
ok
(
delete_pf
(
"msitest
\\
siriometer"
,
TRUE
),
"File deleted
\n
"
);
ok
(
pf_exists
(
"msitest
\\
cabout"
),
"Directory deleted
\n
"
);
ok
(
pf_exists
(
"msitest"
),
"Directory deleted
\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