msi/tests: Avoid another test failure on win2k3.

This commit is contained in:
Hans Leidekker 2015-07-15 15:15:35 +02:00 committed by Alexandre Julliard
parent 0bd46f1501
commit dfae842cca
1 changed files with 5 additions and 1 deletions

View File

@ -50,6 +50,8 @@ static BOOL (WINAPI *pIsWow64Process)(HANDLE, PBOOL);
static INSTALLSTATE (WINAPI *pMsiGetComponentPathA) static INSTALLSTATE (WINAPI *pMsiGetComponentPathA)
(LPCSTR, LPCSTR, LPSTR, DWORD*); (LPCSTR, LPCSTR, LPSTR, DWORD*);
static INSTALLSTATE (WINAPI *pMsiGetComponentPathExA)
(LPCSTR, LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPSTR, LPDWORD);
static INSTALLSTATE (WINAPI *pMsiProvideComponentA) static INSTALLSTATE (WINAPI *pMsiProvideComponentA)
(LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD); (LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD);
static INSTALLSTATE (WINAPI *pMsiProvideComponentW) static INSTALLSTATE (WINAPI *pMsiProvideComponentW)
@ -92,6 +94,7 @@ static void init_functionpointers(void)
trace("GetProcAddress(%s) failed\n", #func); trace("GetProcAddress(%s) failed\n", #func);
GET_PROC(hmsi, MsiGetComponentPathA) GET_PROC(hmsi, MsiGetComponentPathA)
GET_PROC(hmsi, MsiGetComponentPathExA);
GET_PROC(hmsi, MsiProvideComponentA) GET_PROC(hmsi, MsiProvideComponentA)
GET_PROC(hmsi, MsiProvideComponentW) GET_PROC(hmsi, MsiProvideComponentW)
GET_PROC(hmsi, MsiGetFileHashA) GET_PROC(hmsi, MsiGetFileHashA)
@ -14425,6 +14428,7 @@ START_TEST(msi)
test_lastusedsource(); test_lastusedsource();
test_setpropertyfolder(); test_setpropertyfolder();
test_sourcedir_props(); test_sourcedir_props();
if (pMsiGetComponentPathExA)
test_concurrentinstall(); test_concurrentinstall();
test_command_line_parsing(); test_command_line_parsing();