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@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2018-12-26 13:43:03 -06:00 committed by Alexandre Julliard
parent 9c19b2e225
commit 29e5f1d978
1 changed files with 1 additions and 1 deletions

View File

@ -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 {