msi/tests: Fix some test failures on Vista/W2K8.

This commit is contained in:
Paul Vriens 2009-09-19 09:34:07 +02:00 committed by Alexandre Julliard
parent e261568652
commit c6e7558cda
1 changed files with 2 additions and 1 deletions

View File

@ -746,7 +746,8 @@ static BOOL create_file_with_version(const CHAR *name, LONG ms, LONG ls)
BOOL ret = FALSE;
GetSystemDirectory(path, MAX_PATH);
lstrcatA(path, "\\kernel32.dll");
/* Some dlls can't be updated on Vista/W2K8 */
lstrcatA(path, "\\version.dll");
CopyFileA(path, name, FALSE);