ReactOS 0.4.16-dev-338-g34e76ad
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "winnls.h"
#include "shlwapi.h"
#include "msi.h"
#include "msidefs.h"
#include "msiquery.h"
#include "wincrypt.h"
#include "winver.h"
#include "winuser.h"
#include "shlobj.h"
#include "shobjidl.h"
#include "objidl.h"
#include "wintrust.h"
#include "softpub.h"
#include "msipriv.h"
#include "winemsi_s.h"
#include "initguid.h"
#include "msxml2.h"
#include "wine/debug.h"
#include "wine/exception.h"
Go to the source code of this file.
Classes | |
struct | md5_ctx |
Macros | |
#define | COBJMACROS |
#define | BASE85_SIZE 20 |
Variables | |
BOOL | is_wow64 |
|
static |
Definition at line 2093 of file msi.c.
Referenced by MsiQueryComponentStateW().
|
static |
Definition at line 2083 of file msi.c.
Referenced by MsiQueryComponentStateW().
|
static |
Definition at line 2117 of file msi.c.
Referenced by MsiQueryComponentStateW().
Definition at line 1366 of file msi.c.
Referenced by MsiGetProductInfoExW().
|
static |
Definition at line 631 of file msi.c.
Referenced by MsiDetermineApplicablePatchesW(), and MsiDeterminePatchSequenceW().
|
static |
Definition at line 501 of file msi.c.
Referenced by MsiDetermineApplicablePatchesA(), MsiDeterminePatchSequenceA(), and patchinfoAtoW().
|
static |
Definition at line 3137 of file msi.c.
Referenced by MsiGetFileVersionW().
Definition at line 316 of file msi.c.
Referenced by MSI_ApplyPatchW().
Referenced by HMACMD5Final(), HMACMD5Init(), KsecGetKeyData(), KsecInitializeEncryptionSupport(), and msi_get_filehash().
Referenced by HMACMD5Final(), HMACMD5Init(), KsecInitializeEncryptionSupport(), and msi_get_filehash().
Referenced by HMACMD5Final(), HMACMD5Init(), HMACMD5Update(), KsecGetKeyData(), KsecInitializeEncryptionSupport(), and msi_get_filehash().
|
static |
Definition at line 559 of file msi.c.
Referenced by determine_patch_sequence().
|
static |
Definition at line 589 of file msi.c.
Referenced by determine_patch_sequence().
|
static |
Definition at line 359 of file msi.c.
Referenced by MsiApplyMultiplePatchesW(), and MsiApplyPatchW().
UINT msi_get_filehash | ( | MSIPACKAGE * | package, |
const WCHAR * | path, | ||
MSIFILEHASHINFO * | hash | ||
) |
Definition at line 4018 of file msi.c.
Referenced by file_hash_matches(), and MsiGetFileHashW().
|
static |
Definition at line 2771 of file msi.c.
Referenced by MSI_ProvideQualifiedComponentEx(), MsiGetComponentPathExA(), and MsiGetComponentPathExW().
|
static |
Definition at line 1088 of file msi.c.
Referenced by MsiGetProductInfoA(), and MsiGetProductInfoW().
|
static |
Definition at line 3507 of file msi.c.
Referenced by MsiGetUserInfoA(), and MsiGetUserInfoW().
UINT msi_locate_product | ( | LPCWSTR | szProduct, |
MSIINSTALLCONTEXT * | context | ||
) |
Definition at line 54 of file msi.c.
Referenced by get_registered_local_package(), MSI_OpenPackageW(), MSI_OpenProductW(), MSI_ProvideQualifiedComponentEx(), msi_set_context(), MsiConfigureProductExW(), and MsiReinstallFeatureW().
|
static |
Definition at line 101 of file msi.c.
Referenced by MsiConfigureFeatureW(), MsiOpenProductW(), and MsiReinstallFeatureW().
|
static |
Definition at line 3367 of file msi.c.
Referenced by MsiProvideQualifiedComponentExA(), and MsiProvideQualifiedComponentExW().
UINT WINAPI MsiAdvertiseProductA | ( | LPCSTR | szPackagePath, |
LPCSTR | szScriptfilePath, | ||
LPCSTR | szTransforms, | ||
LANGID | lgidLanguage | ||
) |
UINT WINAPI MsiAdvertiseProductExA | ( | const char * | szPackagePath, |
const char * | szScriptfilePath, | ||
const char * | szTransforms, | ||
LANGID | lgidLanguage, | ||
DWORD | dwPlatform, | ||
DWORD | dwOptions | ||
) |
Definition at line 182 of file msi.c.
UINT WINAPI MsiAdvertiseProductExW | ( | const WCHAR * | szPackagePath, |
const WCHAR * | szScriptfilePath, | ||
const WCHAR * | szTransforms, | ||
LANGID | lgidLanguage, | ||
DWORD | dwPlatform, | ||
DWORD | dwOptions | ||
) |
UINT WINAPI MsiAdvertiseProductW | ( | LPCWSTR | szPackagePath, |
LPCWSTR | szScriptfilePath, | ||
LPCWSTR | szTransforms, | ||
LANGID | lgidLanguage | ||
) |
UINT WINAPI MsiAdvertiseScriptA | ( | const char * | szScriptFile, |
DWORD | dwFlags, | ||
HKEY * | phRegData, | ||
BOOL | fRemoveItems | ||
) |
UINT WINAPI MsiAdvertiseScriptW | ( | const WCHAR * | szScriptFile, |
DWORD | dwFlags, | ||
HKEY * | phRegData, | ||
BOOL | fRemoveItems | ||
) |
UINT WINAPI MsiApplyMultiplePatchesA | ( | LPCSTR | szPatchPackages, |
LPCSTR | szProductCode, | ||
LPCSTR | szPropertiesList | ||
) |
Definition at line 424 of file msi.c.
Referenced by test_MsiApplyMultiplePatches().
UINT WINAPI MsiApplyMultiplePatchesW | ( | LPCWSTR | szPatchPackages, |
LPCWSTR | szProductCode, | ||
LPCWSTR | szPropertiesList | ||
) |
Definition at line 457 of file msi.c.
Referenced by MsiApplyMultiplePatchesA().
UINT WINAPI MsiApplyPatchA | ( | LPCSTR | szPatchPackage, |
LPCSTR | szInstallPackage, | ||
INSTALLTYPE | eInstallType, | ||
LPCSTR | szCommandLine | ||
) |
Definition at line 286 of file msi.c.
Referenced by test_MsiApplyPatch(), test_patch_registration(), test_simple_patch(), and test_system_tables().
UINT WINAPI MsiApplyPatchW | ( | LPCWSTR | szPatchPackage, |
LPCWSTR | szInstallPackage, | ||
INSTALLTYPE | eInstallType, | ||
LPCWSTR | szCommandLine | ||
) |
Definition at line 408 of file msi.c.
Referenced by MsiApplyPatchA(), and WinMain().
Definition at line 4291 of file msi.c.
UINT WINAPI MsiBeginTransactionW | ( | const WCHAR * | name, |
DWORD | attrs, | ||
MSIHANDLE * | id, | ||
HANDLE * | event | ||
) |
Definition at line 3691 of file msi.c.
Definition at line 3666 of file msi.c.
UINT WINAPI MsiConfigureFeatureA | ( | LPCSTR | szProduct, |
LPCSTR | szFeature, | ||
INSTALLSTATE | eInstallState | ||
) |
Definition at line 3719 of file msi.c.
Referenced by test_null().
UINT WINAPI MsiConfigureFeatureW | ( | LPCWSTR | szProduct, |
LPCWSTR | szFeature, | ||
INSTALLSTATE | eInstallState | ||
) |
Definition at line 3746 of file msi.c.
Referenced by MsiConfigureFeatureA(), and test_null().
UINT WINAPI MsiConfigureProductA | ( | LPCSTR | szProduct, |
int | iInstallLevel, | ||
INSTALLSTATE | eInstallState | ||
) |
Definition at line 946 of file msi.c.
Referenced by test_concurrentinstall().
UINT WINAPI MsiConfigureProductExA | ( | LPCSTR | szProduct, |
int | iInstallLevel, | ||
INSTALLSTATE | eInstallState, | ||
LPCSTR | szCommandLine | ||
) |
Definition at line 916 of file msi.c.
Referenced by test_installed_prop(), and test_MsiConfigureProductEx().
UINT WINAPI MsiConfigureProductExW | ( | LPCWSTR | szProduct, |
int | iInstallLevel, | ||
INSTALLSTATE | eInstallState, | ||
LPCWSTR | szCommandLine | ||
) |
Definition at line 831 of file msi.c.
Referenced by MSI_ApplyPatchW(), MsiConfigureProductExA(), MsiConfigureProductW(), and WinMain().
UINT WINAPI MsiConfigureProductW | ( | LPCWSTR | szProduct, |
int | iInstallLevel, | ||
INSTALLSTATE | eInstallState | ||
) |
Definition at line 967 of file msi.c.
Referenced by MsiConfigureProductA().
Definition at line 3810 of file msi.c.
UINT WINAPI MsiDetermineApplicablePatchesA | ( | const char * | szProductPackagePath, |
DWORD | cPatchInfo, | ||
MSIPATCHSEQUENCEINFOA * | pPatchInfo | ||
) |
Definition at line 528 of file msi.c.
UINT WINAPI MsiDetermineApplicablePatchesW | ( | const WCHAR * | szProductPackagePath, |
DWORD | cPatchInfo, | ||
MSIPATCHSEQUENCEINFOW * | pPatchInfo | ||
) |
Definition at line 726 of file msi.c.
Referenced by MsiDetermineApplicablePatchesA().
UINT WINAPI MsiDeterminePatchSequenceA | ( | const char * | product, |
const char * | usersid, | ||
MSIINSTALLCONTEXT | context, | ||
DWORD | count, | ||
MSIPATCHSEQUENCEINFOA * | patchinfo | ||
) |
Definition at line 745 of file msi.c.
UINT WINAPI MsiDeterminePatchSequenceW | ( | const WCHAR * | product, |
const WCHAR * | usersid, | ||
MSIINSTALLCONTEXT | context, | ||
DWORD | count, | ||
MSIPATCHSEQUENCEINFOW * | patchinfo | ||
) |
Definition at line 814 of file msi.c.
Referenced by MsiDeterminePatchSequenceA().
Definition at line 1882 of file msi.c.
Referenced by START_TEST().
Definition at line 1900 of file msi.c.
Referenced by MsiEnableLogA(), and WinMain().
UINT WINAPI MsiEnumComponentCostsA | ( | MSIHANDLE | handle, |
const char * | component, | ||
DWORD | index, | ||
INSTALLSTATE | state, | ||
char * | drive, | ||
DWORD * | buflen, | ||
int * | cost, | ||
int * | temp | ||
) |
Definition at line 1925 of file msi.c.
Referenced by test_costs().
UINT WINAPI MsiEnumComponentCostsW | ( | MSIHANDLE | handle, |
const WCHAR * | component, | ||
DWORD | index, | ||
INSTALLSTATE | state, | ||
WCHAR * | drive, | ||
DWORD * | buflen, | ||
int * | cost, | ||
int * | temp | ||
) |
Definition at line 1962 of file msi.c.
Referenced by MsiEnumComponentCostsA(), s_remote_EnumComponentCosts(), and test_costs().
Definition at line 2898 of file msi.c.
Referenced by MsiLocateComponentA(), test_getcomponentpath(), and test_MsiGetComponentPath().
INSTALLSTATE WINAPI MsiGetComponentPathExA | ( | LPCSTR | product, |
LPCSTR | comp, | ||
LPCSTR | usersid, | ||
MSIINSTALLCONTEXT | ctx, | ||
LPSTR | buf, | ||
LPDWORD | buflen | ||
) |
Definition at line 2860 of file msi.c.
Referenced by MsiGetComponentPathA(), and test_MsiGetComponentPathEx().
INSTALLSTATE WINAPI MsiGetComponentPathExW | ( | LPCWSTR | product, |
LPCWSTR | comp, | ||
LPCWSTR | usersid, | ||
MSIINSTALLCONTEXT | ctx, | ||
LPWSTR | buf, | ||
LPDWORD | buflen | ||
) |
Definition at line 2846 of file msi.c.
Referenced by MsiGetComponentPathW().
INSTALLSTATE WINAPI MsiGetComponentPathW | ( | LPCWSTR | product, |
LPCWSTR | comp, | ||
LPWSTR | buf, | ||
LPDWORD | buflen | ||
) |
Definition at line 2890 of file msi.c.
Referenced by MsiLocateComponentW(), and MsiProvideComponentW().
UINT WINAPI MsiGetFeatureUsageA | ( | LPCSTR | szProduct, |
LPCSTR | szFeature, | ||
LPDWORD | pdwUseCount, | ||
LPWORD | pwDateUsed | ||
) |
Definition at line 3250 of file msi.c.
UINT WINAPI MsiGetFeatureUsageW | ( | LPCWSTR | szProduct, |
LPCWSTR | szFeature, | ||
LPDWORD | pdwUseCount, | ||
LPWORD | pwDateUsed | ||
) |
Definition at line 3239 of file msi.c.
Referenced by MsiGetFeatureUsageA().
Definition at line 4090 of file msi.c.
Referenced by test_MsiGetFileHash().
Definition at line 4067 of file msi.c.
Referenced by MsiGetFileHashA().
HRESULT WINAPI MsiGetFileSignatureInformationA | ( | const char * | path, |
DWORD | flags, | ||
PCCERT_CONTEXT * | cert, | ||
BYTE * | hash, | ||
DWORD * | hashlen | ||
) |
Definition at line 2511 of file msi.c.
Referenced by test_MsiGetFileSignatureInformation().
HRESULT WINAPI MsiGetFileSignatureInformationW | ( | const WCHAR * | path, |
DWORD | flags, | ||
PCCERT_CONTEXT * | cert, | ||
BYTE * | hash, | ||
DWORD * | hashlen | ||
) |
Definition at line 2525 of file msi.c.
Referenced by MsiGetFileSignatureInformationA().
UINT WINAPI MsiGetFileVersionA | ( | LPCSTR | szFilePath, |
LPSTR | lpVersionBuf, | ||
LPDWORD | pcchVersionBuf, | ||
LPSTR | lpLangBuf, | ||
LPDWORD | pcchLangBuf | ||
) |
Definition at line 3088 of file msi.c.
Referenced by test_MsiGetFileVersion().
UINT WINAPI MsiGetFileVersionW | ( | const WCHAR * | path, |
WCHAR * | verbuf, | ||
DWORD * | verlen, | ||
WCHAR * | langbuf, | ||
DWORD * | langlen | ||
) |
Definition at line 3208 of file msi.c.
Referenced by MsiGetFileVersionA(), and ShowUsage().
UINT WINAPI MsiGetPatchFileListA | ( | LPCSTR | szProductCode, |
LPCSTR | szPatchList, | ||
LPDWORD | pcFiles, | ||
MSIHANDLE ** | pphFileRecords | ||
) |
UINT WINAPI MsiGetPatchFileListW | ( | LPCWSTR | szProductCode, |
LPCWSTR | szPatchList, | ||
LPDWORD | pcFiles, | ||
MSIHANDLE ** | pphFileRecords | ||
) |
Definition at line 1795 of file msi.c.
Referenced by test_MsiGetPatchInfo().
UINT WINAPI MsiGetPatchInfoExA | ( | LPCSTR | szPatchCode, |
LPCSTR | szProductCode, | ||
LPCSTR | szUserSid, | ||
MSIINSTALLCONTEXT | dwContext, | ||
LPCSTR | szProperty, | ||
LPSTR | lpValue, | ||
DWORD * | pcchValue | ||
) |
Definition at line 1590 of file msi.c.
Referenced by test_MsiGetPatchInfoEx(), and test_patch_registration().
UINT WINAPI MsiGetPatchInfoExW | ( | LPCWSTR | szPatchCode, |
LPCWSTR | szProductCode, | ||
LPCWSTR | szUserSid, | ||
MSIINSTALLCONTEXT | dwContext, | ||
LPCWSTR | szProperty, | ||
LPWSTR | lpValue, | ||
DWORD * | pcchValue | ||
) |
Definition at line 1657 of file msi.c.
Referenced by msi_apply_registered_patch(), MsiGetPatchInfoExA(), and MsiGetPatchInfoW().
Definition at line 1843 of file msi.c.
Referenced by MsiGetPatchInfoA(), and test_MsiGetPatchInfo().
Definition at line 973 of file msi.c.
Referenced by MsiLocateComponentA(), and test_MsiGetProductCode().
Definition at line 999 of file msi.c.
Referenced by MsiGetProductCodeA(), and MsiLocateComponentW().
UINT WINAPI MsiGetProductInfoA | ( | LPCSTR | szProduct, |
LPCSTR | szAttribute, | ||
LPSTR | szBuffer, | ||
LPDWORD | pcchValueBuf | ||
) |
Definition at line 1254 of file msi.c.
Referenced by test_null(), test_simple_patch(), and test_states().
UINT WINAPI MsiGetProductInfoExA | ( | LPCSTR | szProductCode, |
LPCSTR | szUserSid, | ||
MSIINSTALLCONTEXT | dwContext, | ||
LPCSTR | szProperty, | ||
LPSTR | szValue, | ||
LPDWORD | pcchValue | ||
) |
Definition at line 1300 of file msi.c.
Referenced by test_MsiGetProductInfoEx().
UINT WINAPI MsiGetProductInfoExW | ( | LPCWSTR | szProductCode, |
LPCWSTR | szUserSid, | ||
MSIINSTALLCONTEXT | dwContext, | ||
LPCWSTR | szProperty, | ||
LPWSTR | szValue, | ||
LPDWORD | pcchValue | ||
) |
Definition at line 1391 of file msi.c.