Sebastian Lackner : appwiz.cpl: Copy addons to cache instead of moving.
Alexandre Julliard
julliard at winehq.org
Thu Dec 27 16:01:03 CST 2018
Module: wine
Branch: master
Commit: 29e5f1d97804595639d1e9198c8c4288070da60b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=29e5f1d97804595639d1e9198c8c4288070da60b
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Wed Dec 26 13:43:03 2018 -0600
appwiz.cpl: Copy addons to cache instead of moving.
This leaves behind entries in wininet's own cache. That these are
created in the first place is probably less than desirable, but that
seems best addressed after code freeze.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46364
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/appwiz.cpl/addons.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/appwiz.cpl/addons.c b/dlls/appwiz.cpl/addons.c
index c34101f..79f667b 100644
--- a/dlls/appwiz.cpl/addons.c
+++ b/dlls/appwiz.cpl/addons.c
@@ -513,7 +513,7 @@ static HRESULT WINAPI InstallCallback_OnStopBinding(IBindStatusCallback *iface,
cache_file_name = get_cache_file_name(TRUE);
if(cache_file_name) {
- MoveFileW(msi_file, cache_file_name);
+ CopyFileW(msi_file, cache_file_name, FALSE);
heap_free(cache_file_name);
}
}else {
More information about the wine-cvs
mailing list