ReactOS  0.4.14-dev-583-g2a1ba2c
msi.h File Reference
#include <wincrypt.h>
Include dependency graph for msi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _MSIFILEHASHINFO
 
struct  tagMSIPATCHSEQUENCEINFOA
 
struct  tagMSIPATCHSEQUENCEINFOW
 

Macros

#define MAX_GUID_CHARS   38
 
#define MAX_FEATURE_CHARS   38
 
#define ERROR_PATCH_TARGET_NOT_FOUND   1642
 
#define INSTALLPROPERTY_PACKAGENAMEA   "PackageName"
 
#define INSTALLPROPERTY_PACKAGENAME   WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGENAME)
 
#define INSTALLPROPERTY_TRANSFORMSA   "Transforms"
 
#define INSTALLPROPERTY_TRANSFORMS   WINELIB_NAME_AW(INSTALLPROPERTY_TRANSFORMS)
 
#define INSTALLPROPERTY_LANGUAGEA   "Language"
 
#define INSTALLPROPERTY_LANGUAGE   WINELIB_NAME_AW(INSTALLPROPERTY_LANGUAGE)
 
#define INSTALLPROPERTY_PRODUCTNAMEA   "ProductName"
 
#define INSTALLPROPERTY_PRODUCTNAME   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTNAME)
 
#define INSTALLPROPERTY_ASSIGNMENTTYPEA   "AssignmentType"
 
#define INSTALLPROPERTY_ASSIGNMENTTYPE   WINELIB_NAME_AW(INSTALLPROPERTY_ASSIGNMENTTYPE)
 
#define INSTALLPROPERTY_PACKAGECODEA   "PackageCode"
 
#define INSTALLPROPERTY_PACKAGECODE   WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGECODE)
 
#define INSTALLPROPERTY_VERSIONA   "Version"
 
#define INSTALLPROPERTY_VERSION   WINELIB_NAME_AW(INSTALLPROPERTY_VERSION)
 
#define INSTALLPROPERTY_PRODUCTICONA   "ProductIcon"
 
#define INSTALLPROPERTY_PRODUCTICON   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTICON)
 
#define INSTALLPROPERTY_INSTANCETYPEA   "InstanceType"
 
#define INSTALLPROPERTY_INSTANCETYPE   WINELIB_NAME_AW(INSTALLPROPERTY_INSTANCETYPE)
 
#define INSTALLPROPERTY_AUTHORIZED_LUA_APPA   "AuthorizedLUAApp"
 
#define INSTALLPROPERTY_AUTHORIZED_LUA_APP   WINELIB_NAME_AW(INSTALLPROPERTY_AUTHORIZED_LUA_APP)
 
#define INSTALLPROPERTY_INSTALLEDPRODUCTNAMEA   "InstalledProductName"
 
#define INSTALLPROPERTY_INSTALLEDPRODUCTNAME   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLEDPRODUCTNAME)
 
#define INSTALLPROPERTY_VERSIONSTRINGA   "VersionString"
 
#define INSTALLPROPERTY_VERSIONSTRING   WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONSTRING)
 
#define INSTALLPROPERTY_HELPLINKA   "HelpLink"
 
#define INSTALLPROPERTY_HELPLINK   WINELIB_NAME_AW(INSTALLPROPERTY_HELPLINK)
 
#define INSTALLPROPERTY_HELPTELEPHONEA   "HelpTelephone"
 
#define INSTALLPROPERTY_HELPTELEPHONE   WINELIB_NAME_AW(INSTALLPROPERTY_HELPTELEPHONE)
 
#define INSTALLPROPERTY_INSTALLLOCATIONA   "InstallLocation"
 
#define INSTALLPROPERTY_INSTALLLOCATION   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLLOCATION)
 
#define INSTALLPROPERTY_INSTALLSOURCEA   "InstallSource"
 
#define INSTALLPROPERTY_INSTALLSOURCE   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLSOURCE)
 
#define INSTALLPROPERTY_INSTALLDATEA   "InstallDate"
 
#define INSTALLPROPERTY_INSTALLDATE   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLDATE)
 
#define INSTALLPROPERTY_PUBLISHERA   "Publisher"
 
#define INSTALLPROPERTY_PUBLISHER   WINELIB_NAME_AW(INSTALLPROPERTY_PUBLISHER)
 
#define INSTALLPROPERTY_LOCALPACKAGEA   "LocalPackage"
 
#define INSTALLPROPERTY_LOCALPACKAGE   WINELIB_NAME_AW(INSTALLPROPERTY_LOCALPACKAGE)
 
#define INSTALLPROPERTY_URLINFOABOUTA   "URLInfoAbout"
 
#define INSTALLPROPERTY_URLINFOABOUT   WINELIB_NAME_AW(INSTALLPROPERTY_URLINFOABOUT)
 
#define INSTALLPROPERTY_URLUPDATEINFOA   "URLUpdateInfo"
 
#define INSTALLPROPERTY_URLUPDATEINFO   WINELIB_NAME_AW(INSTALLPROPERTY_URLUPDATEINFO)
 
#define INSTALLPROPERTY_VERSIONMINORA   "VersionMinor"
 
#define INSTALLPROPERTY_VERSIONMINOR   WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMINOR)
 
#define INSTALLPROPERTY_VERSIONMAJORA   "VersionMajor"
 
#define INSTALLPROPERTY_VERSIONMAJOR   WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMAJOR)
 
#define INSTALLPROPERTY_PRODUCTIDA   "ProductID"
 
#define INSTALLPROPERTY_PRODUCTID   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTID)
 
#define INSTALLPROPERTY_REGCOMPANYA   "RegCompany"
 
#define INSTALLPROPERTY_REGCOMPANY   WINELIB_NAME_AW(INSTALLPROPERTY_REGCOMPANY)
 
#define INSTALLPROPERTY_REGOWNERA   "RegOwner"
 
#define INSTALLPROPERTY_REGOWNER   WINELIB_NAME_AW(INSTALLPROPERTY_REGOWNER)
 
#define INSTALLPROPERTY_UNINSTALLABLEA   "Uninstallable"
 
#define INSTALLPROPERTY_UNINSTALLABLE   WINELIB_NAME_AW(INSTALLPROPERTY_UNINSTALLABLE)
 
#define INSTALLPROPERTY_PRODUCTSTATEA   "State"
 
#define INSTALLPROPERTY_PRODUCTSTATE   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTSTATE)
 
#define INSTALLPROPERTY_PATCHSTATEA   "State"
 
#define INSTALLPROPERTY_PATCHSTATE   WINELIB_NAME_AW(INSTALLPROPERTY_PATCHSTATE)
 
#define INSTALLPROPERTY_PATCHTYPEA   "PatchType"
 
#define INSTALLPROPERTY_PATCHTYPE   WINELIB_NAME_AW(INSTALLPROPERTY_PATCHTYPE)
 
#define INSTALLPROPERTY_LUAENABLEDA   "LUAEnabled"
 
#define INSTALLPROPERTY_LUAENABLED   WINELIB_NAME_AW(INSTALLPROPERTY_LUAENABLED)
 
#define INSTALLPROPERTY_DISPLAYNAMEA   "DisplayName"
 
#define INSTALLPROPERTY_DISPLAYNAME   WINELIB_NAME_AW(INSTALLPROPERTY_DISPLAYNAME)
 
#define INSTALLPROPERTY_MOREINFOURLA   "MoreInfoURL"
 
#define INSTALLPROPERTY_MOREINFOURL   WINELIB_NAME_AW(INSTALLPROPERTY_MOREINFOURL)
 
#define INSTALLPROPERTY_LASTUSEDSOURCEA   "LastUsedSource"
 
#define INSTALLPROPERTY_LASTUSEDSOURCE   WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCE)
 
#define INSTALLPROPERTY_LASTUSEDTYPEA   "LastUsedType"
 
#define INSTALLPROPERTY_LASTUSEDTYPE   WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDTYPE)
 
#define INSTALLPROPERTY_MEDIAPACKAGEPATHA   "MediaPackagePath"
 
#define INSTALLPROPERTY_MEDIAPACKAGEPATH   WINELIB_NAME_AW(INSTALLPROPERTY_MEDIAPACKAGEPATH)
 
#define INSTALLPROPERTY_DISKPROMPTA   "DiskPrompt"
 
#define INSTALLPROPERTY_DISKPROMPT   WINELIB_NAME_AW(INSTALLPROPERTY_DISKPROMPT)
 
#define MsiAdvertiseProduct   WINELIB_NAME_AW(MsiAdvertiseProduct)
 
#define MsiAdvertiseProductEx   WINELIB_NAME_AW(MsiAdvertiseProductEx)
 
#define MsiInstallProduct   WINELIB_NAME_AW(MsiInstallProduct)
 
#define MsiReinstallProduct   WINELIB_NAME_AW(MsiReinstallProduct)
 
#define MsiApplyPatch   WINELIB_NAME_AW(MsiApplyPatch)
 
#define MsiEnumComponentCosts   WINELIB_NAME_AW(MsiEnumComponentCosts)
 
#define MsiEnumProducts   WINELIB_NAME_AW(MsiEnumProducts)
 
#define MsiEnumProductsEx   WINELIB_NAME_AW(MsiEnumProductsEx)
 
#define MsiEnumFeatures   WINELIB_NAME_AW(MsiEnumFeatures)
 
#define MsiEnumComponents   WINELIB_NAME_AW(MsiEnumComponents)
 
#define MsiEnumComponentsEx   WINELIB_NAME_AW(MsiEnumComponentsEx)
 
#define MsiEnumClients   WINELIB_NAME_AW(MsiEnumClients)
 
#define MsiOpenPackage   WINELIB_NAME_AW(MsiOpenPackage)
 
#define MsiOpenPackageEx   WINELIB_NAME_AW(MsiOpenPackageEx)
 
#define MsiOpenProduct   WINELIB_NAME_AW(MsiOpenProduct)
 
#define MsiGetProductProperty   WINELIB_NAME_AW(MsiGetProductProperty)
 
#define MsiVerifyPackage   WINELIB_NAME_AW(MsiVerifyPackage)
 
#define MsiQueryComponentState   WINELIB_NAME_AW(MsiQueryComponentState)
 
#define MsiQueryProductState   WINELIB_NAME_AW(MsiQueryProductState)
 
#define MsiConfigureProduct   WINELIB_NAME_AW(MsiConfigureProduct)
 
#define MsiConfigureProductEx   WINELIB_NAME_AW(MsiConfigureProductEx)
 
#define MsiConfigureFeature   WINELIB_NAME_AW(MsiConfigureFeature)
 
#define MsiGetProductCode   WINELIB_NAME_AW(MsiGetProductCode)
 
#define MsiGetProductInfo   WINELIB_NAME_AW(MsiGetProductInfo)
 
#define MsiGetProductInfoEx   WINELIB_NAME_AW(MsiGetProductInfoEx)
 
#define MsiGetPatchInfoEx   WINELIB_NAME_AW(MsiGetPatchInfoEx)
 
#define MsiGetPatchInfo   WINELIB_NAME_AW(MsiGetPatchInfo)
 
#define MsiEnableLog   WINELIB_NAME_AW(MsiEnableLog)
 
#define MsiSetExternalUI   WINELIB_NAME_AW(MsiSetExternalUI)
 
#define MsiGetComponentPath   WINELIB_NAME_AW(MsiGetComponentPath)
 
#define MsiQueryFeatureState   WINELIB_NAME_AW(MsiQueryFeatureState)
 
#define MsiQueryFeatureStateEx   WINELIB_NAME_AW(MsiQueryFeatureStateEx)
 
#define MsiGetFeatureInfo   WINELIB_NAME_AW(MsiGetFeatureInfo)
 
#define MsiGetFeatureUsage   WINELIB_NAME_AW(MsiGetFeatureUsage)
 
#define MsiEnumRelatedProducts   WINELIB_NAME_AW(MsiEnumRelatedProducts)
 
#define MsiProvideAssembly   WINELIB_NAME_AW(MsiProvideAssembly)
 
#define MsiEnumComponentQualifiers   WINELIB_NAME_AW(MsiEnumComponentQualifiers)
 
#define MsiGetFileVersion   WINELIB_NAME_AW(MsiGetFileVersion)
 
#define MsiMessageBox   WINELIB_NAME_AW(MsiMessageBox)
 
#define MsiProvideQualifiedComponentEx   WINELIB_NAME_AW(MsiProvideQualifiedComponentEx)
 
#define MsiProvideQualifiedComponent   WINELIB_NAME_AW(MsiProvideQualifiedComponent)
 
#define MsiGetUserInfo   WINELIB_NAME_AW(MsiGetUserInfo)
 
#define MsiProvideComponent   WINELIB_NAME_AW(MsiProvideComponent)
 
#define MsiCollectUserInfo   WINELIB_NAME_AW(MsiCollectUserInfo)
 
#define MsiReinstallFeature   WINELIB_NAME_AW(MsiReinstallFeature)
 
#define MsiGetShortcutTarget   WINELIB_NAME_AW(MsiGetShortcutTarget)
 
#define MsiUseFeature   WINELIB_NAME_AW(MsiUseFeature)
 
#define MsiUseFeatureEx   WINELIB_NAME_AW(MsiUseFeatureEx)
 
#define MsiGetFileSignatureInformation   WINELIB_NAME_AW(MsiGetFileSignatureInformation)
 
#define MsiLocateComponent   WINELIB_NAME_AW(MsiLocateComponent)
 
#define MsiSourceListAddSource   WINELIB_NAME_AW(MsiSourceListAddSource)
 
#define MsiSourceListEnumMediaDisks   WINELIB_NAME_AW(MsiSourceListEnumMediaDisks)
 
#define MsiSourceListEnumSources   WINELIB_NAME_AW(MsiSourceListEnumSources)
 
#define MsiSourceListClearSource   WINELIB_NAME_AW(MsiSourceListClearSource)
 
#define MsiSourceListClearAll   WINELIB_NAME_AW(MsiSourceListClearAll)
 
#define MsiSourceListGetInfo   WINELIB_NAME_AW(MsiSourceListGetInfo)
 
#define MsiSourceListSetInfo   WINELIB_NAME_AW(MsiSourceListSetInfo)
 
#define MsiSourceListAddSourceEx   WINELIB_NAME_AW(MsiSourceListAddSourceEx)
 
#define MsiSourceListAddMediaDisk   WINELIB_NAME_AW(MsiSourceListAddMediaDisk)
 
#define MsiEnumPatches   WINELIB_NAME_AW(MsiEnumPatches)
 
#define MsiEnumPatchesEx   WINELIB_NAME_AW(MsiEnumPatchesEx)
 
#define MsiGetFileHash   WINELIB_NAME_AW(MsiGetFileHash)
 
#define MsiAdvertiseScript   WINELIB_NAME_AW(MsiAdvertiseScript)
 
#define MsiIsProductElevated   WINELIB_NAME_AW(MsiIsProductElevated)
 
#define MsiDatabaseMerge   WINELIB_NAME_AW(MsiDatabaseMerge)
 
#define MsiInstallMissingComponent   WINELIB_NAME_AW(MsiInstallMissingComponent)
 
#define MsiDetermineApplicablePatches   WINELIB_NAME_AW(MsiDetermineApplicablePatches)
 
#define MsiDeterminePatchSequence   WINELIB_NAME_AW(MsiDeterminePatchSequence)
 
#define MsiApplyMultiplePatches   WINELIB_NAME_AW(MsiApplyMultiplePatches)
 
#define MsiBeginTransaction   WINELIB_NAME_AW(MsiBeginTransaction)
 

Typedefs

typedef ULONG MSIHANDLE
 
typedef enum tagINSTALLSTATE INSTALLSTATE
 
typedef enum tagMSIPATCHSTATE MSIPATCHSTATE
 
typedef enum tagINSTALLUILEVEL INSTALLUILEVEL
 
typedef enum tagUSERINFOSTATE USERINFOSTATE
 
typedef enum tagINSTALLLEVEL INSTALLLEVEL
 
typedef enum tagINSTALLMESSAGE INSTALLMESSAGE
 
typedef enum tagREINSTALLMODE REINSTALLMODE
 
typedef enum tagINSTALLLOGMODE INSTALLLOGMODE
 
typedef enum tagINSTALLLOGATTRIBUTES INSTALLLOGATTRIBUTES
 
typedef enum tagINSTALLMODE INSTALLMODE
 
typedef enum tagADVERTISEFLAGS ADVERTISEFLAGS
 
typedef enum tagSCRIPTFLAGS SCRIPTFLAGS
 
typedef enum tagINSTALLTYPE INSTALLTYPE
 
typedef enum tagMSIINSTALLCONTEXT MSIINSTALLCONTEXT
 
typedef enum tagMSISOURCETYPE MSISOURCETYPE
 
typedef enum tagMSICODE MSICODE
 
typedef enum tagINSTALLFEATUREATTRIBUTE INSTALLFEATUREATTRIBUTE
 
typedef struct _MSIFILEHASHINFO MSIFILEHASHINFO
 
typedef struct _MSIFILEHASHINFOPMSIFILEHASHINFO
 
typedef enum tagMSIPATCHDATATYPE MSIPATCHDATATYPE
 
typedef enum tagMSIPATCHDATATYPEPMSIPATCHDATATYPE
 
typedef struct tagMSIPATCHSEQUENCEINFOA MSIPATCHSEQUENCEINFOA
 
typedef struct tagMSIPATCHSEQUENCEINFOAPMSIPATCHSEQUENCEINFOA
 
typedef struct tagMSIPATCHSEQUENCEINFOW MSIPATCHSEQUENCEINFOW
 
typedef struct tagMSIPATCHSEQUENCEINFOWPMSIPATCHSEQUENCEINFOW
 
typedef INT(CALLBACKINSTALLUI_HANDLERA) (LPVOID, UINT, LPCSTR)
 
typedef INT(CALLBACKINSTALLUI_HANDLERW) (LPVOID, UINT, LPCWSTR)
 
typedef INT(CALLBACKINSTALLUI_HANDLER_RECORD) (LPVOID, UINT, MSIHANDLE)
 
typedef INSTALLUI_HANDLER_RECORDPINSTALLUI_HANDLER_RECORD
 

Enumerations

enum  tagINSTALLSTATE {
  INSTALLSTATE_NOTUSED = -7, INSTALLSTATE_BADCONFIG = -6, INSTALLSTATE_INCOMPLETE = -5, INSTALLSTATE_SOURCEABSENT = -4,
  INSTALLSTATE_MOREDATA = -3, INSTALLSTATE_INVALIDARG = -2, INSTALLSTATE_UNKNOWN = -1, INSTALLSTATE_BROKEN = 0,
  INSTALLSTATE_ADVERTISED = 1, INSTALLSTATE_ABSENT = 2, INSTALLSTATE_LOCAL = 3, INSTALLSTATE_SOURCE = 4,
  INSTALLSTATE_DEFAULT = 5
}
 
enum  tagMSIPATCHSTATE {
  MSIPATCHSTATE_INVALID = 0, MSIPATCHSTATE_APPLIED = 1, MSIPATCHSTATE_SUPERSEDED = 2, MSIPATCHSTATE_OBSOLETED = 4,
  MSIPATCHSTATE_REGISTERED = 8, MSIPATCHSTATE_ALL
}
 
enum  tagINSTALLUILEVEL {
  INSTALLUILEVEL_NOCHANGE = 0, INSTALLUILEVEL_DEFAULT = 1, INSTALLUILEVEL_NONE = 2, INSTALLUILEVEL_BASIC = 3,
  INSTALLUILEVEL_REDUCED = 4, INSTALLUILEVEL_FULL = 5, INSTALLUILEVEL_HIDECANCEL = 0x20, INSTALLUILEVEL_PROGRESSONLY = 0x40,
  INSTALLUILEVEL_ENDDIALOG = 0x80, INSTALLUILEVEL_SOURCERESONLY = 0x100
}
 
enum  tagUSERINFOSTATE {
  USERINFOSTATE_MOREDATA = -3, USERINFOSTATE_INVALIDARG = -2, USERINFOSTATE_UNKNOWN = -1, USERINFOSTATE_ABSENT = 0,
  USERINFOSTATE_PRESENT = 1
}
 
enum  tagINSTALLLEVEL { INSTALLLEVEL_DEFAULT = 0, INSTALLLEVEL_MINIMUM = 1, INSTALLLEVEL_MAXIMUM = 0xFFFF }
 
enum  tagINSTALLMESSAGE {
  INSTALLMESSAGE_FATALEXIT = 0, INSTALLMESSAGE_ERROR = 0x01000000, INSTALLMESSAGE_WARNING = 0x02000000, INSTALLMESSAGE_USER = 0x03000000,
  INSTALLMESSAGE_INFO = 0x04000000, INSTALLMESSAGE_FILESINUSE = 0x05000000, INSTALLMESSAGE_RESOLVESOURCE = 0x06000000, INSTALLMESSAGE_OUTOFDISKSPACE = 0x07000000,
  INSTALLMESSAGE_ACTIONSTART = 0x08000000, INSTALLMESSAGE_ACTIONDATA = 0x09000000, INSTALLMESSAGE_PROGRESS = 0x0a000000, INSTALLMESSAGE_COMMONDATA = 0x0b000000,
  INSTALLMESSAGE_INITIALIZE = 0x0c000000, INSTALLMESSAGE_TERMINATE = 0x0d000000, INSTALLMESSAGE_SHOWDIALOG = 0x0e000000, INSTALLMESSAGE_RMFILESINUSE = 0x19000000,
  INSTALLMESSAGE_INSTALLSTART = 0x1A000000, INSTALLMESSAGE_INSTALLEND = 0x1B000000
}
 
enum  tagREINSTALLMODE {
  REINSTALLMODE_REPAIR = 0x00000001, REINSTALLMODE_FILEMISSING = 0x00000002, REINSTALLMODE_FILEOLDERVERSION = 0x00000004, REINSTALLMODE_FILEEQUALVERSION = 0x00000008,
  REINSTALLMODE_FILEEXACT = 0x00000010, REINSTALLMODE_FILEVERIFY = 0x00000020, REINSTALLMODE_FILEREPLACE = 0x00000040, REINSTALLMODE_MACHINEDATA = 0x00000080,
  REINSTALLMODE_USERDATA = 0x00000100, REINSTALLMODE_SHORTCUT = 0x00000200, REINSTALLMODE_PACKAGE = 0x00000400
}
 
enum  tagINSTALLLOGMODE {
  INSTALLLOGMODE_FATALEXIT = (1 << (INSTALLMESSAGE_FATALEXIT >> 24)), INSTALLLOGMODE_ERROR = (1 << (INSTALLMESSAGE_ERROR >> 24)), INSTALLLOGMODE_WARNING = (1 << (INSTALLMESSAGE_WARNING >> 24)), INSTALLLOGMODE_USER = (1 << (INSTALLMESSAGE_USER >> 24)),
  INSTALLLOGMODE_INFO = (1 << (INSTALLMESSAGE_INFO >> 24)), INSTALLLOGMODE_FILESINUSE = (1 << (INSTALLMESSAGE_FILESINUSE >> 24)), INSTALLLOGMODE_RESOLVESOURCE = (1 << (INSTALLMESSAGE_RESOLVESOURCE >> 24)), INSTALLLOGMODE_OUTOFDISKSPACE = (1 << (INSTALLMESSAGE_OUTOFDISKSPACE >> 24)),
  INSTALLLOGMODE_ACTIONSTART = (1 << (INSTALLMESSAGE_ACTIONSTART >> 24)), INSTALLLOGMODE_ACTIONDATA = (1 << (INSTALLMESSAGE_ACTIONDATA >> 24)), INSTALLLOGMODE_PROGRESS = (1 << (INSTALLMESSAGE_PROGRESS >> 24)), INSTALLLOGMODE_PROPERTYDUMP = (1 << (INSTALLMESSAGE_PROGRESS >> 24)),
  INSTALLLOGMODE_COMMONDATA = (1 << (INSTALLMESSAGE_COMMONDATA >> 24)), INSTALLLOGMODE_INITIALIZE = (1 << (INSTALLMESSAGE_INITIALIZE >> 24)), INSTALLLOGMODE_VERBOSE = (1 << (INSTALLMESSAGE_INITIALIZE >> 24)), INSTALLLOGMODE_TERMINATE = (1 << (INSTALLMESSAGE_TERMINATE >> 24)),
  INSTALLLOGMODE_EXTRADEBUG = (1 << (INSTALLMESSAGE_TERMINATE >> 24)), INSTALLLOGMODE_SHOWDIALOG = (1 << (INSTALLMESSAGE_SHOWDIALOG >> 24)), INSTALLLOGMODE_RMFILESINUSE = (1 << (INSTALLMESSAGE_RMFILESINUSE >> 24)), INSTALLLOGMODE_INSTALLSTART = (1 << (INSTALLMESSAGE_INSTALLSTART >> 24)),
  INSTALLLOGMODE_INSTALLEND = (1 << (INSTALLMESSAGE_INSTALLEND >> 24))
}
 
enum  tagINSTALLLOGATTRIBUTES { INSTALLLOGATTRIBUTES_APPEND = 0x00000001, INSTALLLOGATTRIBUTES_FLUSHEACHLINE = 0x00000002 }
 
enum  tagINSTALLMODE {
  INSTALLMODE_NODETECTION_ANY = -4, INSTALLMODE_NOSOURCERESOLUTION = -3, INSTALLMODE_NODETECTION = -2, INSTALLMODE_EXISTING = -1,
  INSTALLMODE_DEFAULT = 0
}
 
enum  tagADVERTISEFLAGS { ADVERTISEFLAGS_MACHINEASSIGN = 0, ADVERTISEFLAGS_USERASSIGN = 1 }
 
enum  tagSCRIPTFLAGS {
  SCRIPTFLAGS_CACHEINFO = 1, SCRIPTFLAGS_SHORTCUTS = 4, SCRIPTFLAGS_MACHINEASSIGN = 8, SCRIPTFLAGS_REGDATA_APPINFO = 0x10,
  SCRIPTFLAGS_REGDATA_CNFGINFO = 0x20, SCRIPTFLAGS_VALIDATE_TRANSFORMS_LIST = 0x40, SCRIPTFLAGS_REGDATA_CLASSINFO = 0x80, SCRIPTFLAGS_REGDATA_EXTENSIONINFO = 0x100
}
 
enum  tagINSTALLTYPE { INSTALLTYPE_DEFAULT = 0, INSTALLTYPE_NETWORK_IMAGE = 1, INSTALLTYPE_SINGLE_INSTANCE = 2 }
 
enum  tagMSIINSTALLCONTEXT {
  MSIINSTALLCONTEXT_FIRSTVISIBLE = 0, MSIINSTALLCONTEXT_NONE = 0, MSIINSTALLCONTEXT_USERMANAGED = 1, MSIINSTALLCONTEXT_USERUNMANAGED = 2,
  MSIINSTALLCONTEXT_MACHINE = 4, MSIINSTALLCONTEXT_ALL = (MSIINSTALLCONTEXT_USERMANAGED | MSIINSTALLCONTEXT_USERUNMANAGED | MSIINSTALLCONTEXT_MACHINE), MSIINSTALLCONTEXT_ALLUSERMANAGED = 8
}
 
enum  tagMSISOURCETYPE { MSISOURCETYPE_UNKNOWN = 0x00000000L, MSISOURCETYPE_NETWORK = 0x00000001L, MSISOURCETYPE_URL = 0x00000002L, MSISOURCETYPE_MEDIA = 0x00000004L }
 
enum  tagMSICODE { MSICODE_PRODUCT = 0x00000000L, MSICODE_PATCH = 0x40000000L }
 
enum  tagINSTALLFEATUREATTRIBUTE {
  INSTALLFEATUREATTRIBUTE_FAVORLOCAL = 1 << 0, INSTALLFEATUREATTRIBUTE_FAVORSOURCE = 1 << 1, INSTALLFEATUREATTRIBUTE_FOLLOWPARENT = 1 << 2, INSTALLFEATUREATTRIBUTE_FAVORADVERTISE = 1 << 3,
  INSTALLFEATUREATTRIBUTE_DISALLOWADVERTISE = 1 << 4, INSTALLFEATUREATTRIBUTE_NOUNSUPPORTEDADVERTISE = 1 << 5
}
 
enum  tagMSIPATCHDATATYPE { MSIPATCH_DATATYPE_PATCHFILE = 0, MSIPATCH_DATATYPE_XMLPATH = 1, MSIPATCH_DATATYPE_XMLBLOB = 2 }
 

Functions

UINT WINAPI MsiAdvertiseProductA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ LANGID)
 
UINT WINAPI MsiAdvertiseProductW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LANGID)
 
UINT WINAPI MsiAdvertiseProductExA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ LANGID, _In_ DWORD, _In_ DWORD)
 
UINT WINAPI MsiAdvertiseProductExW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LANGID, _In_ DWORD, _In_ DWORD)
 
UINT WINAPI MsiInstallProductA (_In_ LPCSTR, _In_opt_ LPCSTR)
 
UINT WINAPI MsiInstallProductW (_In_ LPCWSTR, _In_opt_ LPCWSTR)
 
UINT WINAPI MsiReinstallProductA (_In_ LPCSTR, _In_ DWORD)
 
UINT WINAPI MsiReinstallProductW (_In_ LPCWSTR, _In_ DWORD)
 
UINT WINAPI MsiApplyPatchA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ INSTALLTYPE, _In_opt_ LPCSTR)
 
UINT WINAPI MsiApplyPatchW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ INSTALLTYPE, _In_opt_ LPCWSTR)
 
UINT WINAPI MsiEnumComponentCostsA (MSIHANDLE, LPCSTR, DWORD, INSTALLSTATE, LPSTR, LPDWORD, LPINT, LPINT)
 
UINT WINAPI MsiEnumComponentCostsW (MSIHANDLE, LPCWSTR, DWORD, INSTALLSTATE, LPWSTR, LPDWORD, LPINT, LPINT)
 
UINT WINAPI MsiEnumProductsA (_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
 
UINT WINAPI MsiEnumProductsW (_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
 
UINT WINAPI MsiEnumProductsExA (_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) CHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPSTR, _Inout_opt_ LPDWORD pcchSid)
 
UINT WINAPI MsiEnumProductsExW (_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) WCHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPWSTR, _Inout_opt_ LPDWORD pcchSid)
 
UINT WINAPI MsiEnumFeaturesA (_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_FEATURE_CHARS+1) LPSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPSTR)
 
UINT WINAPI MsiEnumFeaturesW (_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_FEATURE_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPWSTR)
 
UINT WINAPI MsiEnumComponentsA (_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
 
UINT WINAPI MsiEnumComponentsW (_In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
 
UINT WINAPI MsiEnumComponentsExA (_In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) CHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPSTR, _Inout_opt_ LPDWORD pcchSid)
 
UINT WINAPI MsiEnumComponentsExW (_In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) WCHAR[39], _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchSid) LPWSTR, _Inout_opt_ LPDWORD pcchSid)
 
UINT WINAPI MsiEnumClientsA (_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
 
UINT WINAPI MsiEnumClientsW (_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
 
UINT WINAPI MsiOpenPackageA (_In_ LPCSTR, _Out_ MSIHANDLE *)
 
UINT WINAPI MsiOpenPackageW (_In_ LPCWSTR, _Out_ MSIHANDLE *)
 
UINT WINAPI MsiOpenPackageExA (_In_ LPCSTR, _In_ DWORD, _Out_ MSIHANDLE *)
 
UINT WINAPI MsiOpenPackageExW (_In_ LPCWSTR, _In_ DWORD, _Out_ MSIHANDLE *)
 
UINT WINAPI MsiOpenProductA (_In_ LPCSTR, _Out_ MSIHANDLE *)
 
UINT WINAPI MsiOpenProductW (_In_ LPCWSTR, _Out_ MSIHANDLE *)
 
UINT WINAPI MsiGetProductPropertyA (_In_ MSIHANDLE, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
 
UINT WINAPI MsiGetProductPropertyW (_In_ MSIHANDLE, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
 
UINT WINAPI MsiVerifyPackageA (_In_ LPCSTR)
 
UINT WINAPI MsiVerifyPackageW (_In_ LPCWSTR)
 
UINT WINAPI MsiQueryComponentStateA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_opt_ INSTALLSTATE *)
 
UINT WINAPI MsiQueryComponentStateW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_opt_ INSTALLSTATE *)
 
INSTALLSTATE WINAPI MsiQueryProductStateA (_In_ LPCSTR)
 
INSTALLSTATE WINAPI MsiQueryProductStateW (_In_ LPCWSTR)
 
UINT WINAPI MsiConfigureProductA (_In_ LPCSTR, _In_ int, _In_ INSTALLSTATE)
 
UINT WINAPI MsiConfigureProductW (_In_ LPCWSTR, _In_ int, _In_ INSTALLSTATE)
 
UINT WINAPI MsiConfigureProductExA (_In_ LPCSTR, _In_ int, _In_ INSTALLSTATE, _In_opt_ LPCSTR)
 
UINT WINAPI MsiConfigureProductExW (_In_ LPCWSTR, _In_ int, _In_ INSTALLSTATE, _In_opt_ LPCWSTR)
 
UINT WINAPI MsiConfigureFeatureA (_In_ LPCSTR, _In_ LPCSTR, _In_ INSTALLSTATE)
 
UINT WINAPI MsiConfigureFeatureW (_In_ LPCWSTR, _In_ LPCWSTR, _In_ INSTALLSTATE)
 
UINT WINAPI MsiGetProductCodeA (_In_ LPCSTR, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
 
UINT WINAPI MsiGetProductCodeW (_In_ LPCWSTR, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
 
UINT WINAPI MsiGetProductInfoA (_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
 
UINT WINAPI MsiGetProductInfoW (_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
 
UINT WINAPI MsiGetProductInfoExA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
 
UINT WINAPI MsiGetProductInfoExW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
 
UINT WINAPI MsiGetPatchInfoExA (_In_ LPCSTR, _In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
 
UINT WINAPI MsiGetPatchInfoExW (_In_ LPCWSTR, _In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
 
UINT WINAPI MsiGetPatchInfoA (_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchValueBuf) LPSTR, _Inout_opt_ LPDWORD pcchValueBuf)
 
UINT WINAPI MsiGetPatchInfoW (_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchValueBuf) LPWSTR, _Inout_opt_ LPDWORD pcchValueBuf)
 
UINT WINAPI MsiEnableLogA (_In_ DWORD, _In_opt_ LPCSTR, _In_ DWORD)
 
UINT WINAPI MsiEnableLogW (_In_ DWORD, _In_opt_ LPCWSTR, _In_ DWORD)
 
INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA (_In_opt_ INSTALLUI_HANDLERA, _In_ DWORD, _In_opt_ LPVOID)
 
INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW (_In_opt_ INSTALLUI_HANDLERW, _In_ DWORD, _In_opt_ LPVOID)
 
INSTALLSTATE WINAPI MsiGetComponentPathA (_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(*pcchBuf) LPSTR, _Inout_opt_ LPDWORD pcchBuf)
 
INSTALLSTATE WINAPI MsiGetComponentPathW (_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(*pcchBuf) LPWSTR, _Inout_opt_ LPDWORD pcchBuf)
 
INSTALLSTATE WINAPI MsiQueryFeatureStateA (_In_ LPCSTR, _In_ LPCSTR)
 
INSTALLSTATE WINAPI MsiQueryFeatureStateW (_In_ LPCWSTR, _In_ LPCWSTR)
 
UINT WINAPI MsiQueryFeatureStateExA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCSTR, _Out_opt_ INSTALLSTATE *)
 
UINT WINAPI MsiQueryFeatureStateExW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ LPCWSTR, _Out_opt_ INSTALLSTATE *)
 
UINT WINAPI MsiGetFeatureInfoA (_In_ MSIHANDLE, _In_ LPCSTR, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchTitleBuf) LPSTR, _Inout_opt_ LPDWORD pcchTitleBuf, _Out_writes_opt_(*pcchHelpBuf) LPSTR, _Inout_opt_ LPDWORD pcchHelpBuf)
 
UINT WINAPI MsiGetFeatureInfoW (_In_ MSIHANDLE, _In_ LPCWSTR, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchTitleBuf) LPWSTR, _Inout_opt_ LPDWORD pcchTitleBuf, _Out_writes_opt_(*pcchHelpBuf) LPWSTR, _Inout_opt_ LPDWORD pcchHelpBuf)
 
UINT WINAPI MsiGetFeatureUsageA (_In_ LPCSTR, _In_ LPCSTR, _Out_opt_ LPDWORD, _Out_opt_ LPWORD)
 
UINT WINAPI MsiGetFeatureUsageW (_In_ LPCWSTR, _In_ LPCWSTR, _Out_opt_ LPDWORD, _Out_opt_ LPWORD)
 
UINT WINAPI MsiEnumRelatedProductsA (_In_ LPCSTR, _Reserved_ DWORD, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR)
 
UINT WINAPI MsiEnumRelatedProductsW (_In_ LPCWSTR, _Reserved_ DWORD, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR)
 
UINT WINAPI MsiProvideAssemblyA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
 
UINT WINAPI MsiProvideAssemblyW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
 
UINT WINAPI MsiEnumComponentQualifiersA (_In_ LPCSTR, _In_ DWORD, _Out_writes_(*pcchQualifierBuf) LPSTR, _Inout_ LPDWORD pcchQualifierBuf, _Out_writes_opt_(*pcchApplicationDataBuf) LPSTR, _Inout_opt_ LPDWORD pcchApplicationDataBuf)
 
UINT WINAPI MsiEnumComponentQualifiersW (_In_ LPCWSTR, _In_ DWORD, _Out_writes_(*pcchQualifierBuf) LPWSTR, _Inout_ LPDWORD pcchQualifierBuf, _Out_writes_opt_(*pcchApplicationDataBuf) LPWSTR, _Inout_opt_ LPDWORD pcchApplicationDataBuf)
 
UINT WINAPI MsiGetFileVersionA (_In_ LPCSTR, _Out_writes_opt_(*pcchVersionBuf) LPSTR, _Inout_opt_ LPDWORD pcchVersionBuf, _Out_writes_opt_(*pcchLangBuf) LPSTR, _Inout_opt_ LPDWORD pcchLangBuf)
 
UINT WINAPI MsiGetFileVersionW (_In_ LPCWSTR, _Out_writes_opt_(*pcchVersionBuf) LPWSTR, _Inout_opt_ LPDWORD pcchVersionBuf, _Out_writes_opt_(*pcchLangBuf) LPWSTR, _Inout_opt_ LPDWORD pcchLangBuf)
 
UINT WINAPI MsiMessageBoxA (HWND, LPCSTR, LPCSTR, UINT, WORD, DWORD)
 
UINT WINAPI MsiMessageBoxW (HWND, LPCWSTR, LPCWSTR, UINT, WORD, DWORD)
 
UINT WINAPI MsiProvideQualifiedComponentExA (_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _In_opt_ LPCSTR, _Reserved_ DWORD, _Reserved_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
 
UINT WINAPI MsiProvideQualifiedComponentExW (_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _In_opt_ LPCWSTR, _Reserved_ DWORD, _Reserved_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
 
UINT WINAPI MsiProvideQualifiedComponentA (_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPSTR, _Inout_opt_ LPDWORD pcchPathBuf)
 
UINT WINAPI MsiProvideQualifiedComponentW (_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _Out_writes_opt_(*pcchPathBuf) LPWSTR, _Inout_opt_ LPDWORD pcchPathBuf)
 
USERINFOSTATE WINAPI MsiGetUserInfoA (_In_ LPCSTR, _Out_writes_opt_(*pcchUserNameBuf) LPSTR, _Inout_opt_ LPDWORD pcchUserNameBuf, _Out_writes_opt_(*pcchOrgNameBuf) LPSTR, _Inout_opt_ LPDWORD pcchOrgNameBuf, _Out_writes_opt_(*pcchSerialBuf) LPSTR, _Inout_opt_ LPDWORD pcchSerialBuf)
 
USERINFOSTATE WINAPI MsiGetUserInfoW (_In_ LPCWSTR, _Out_writes_opt_(*pcchUserNameBuf) LPWSTR, _Inout_opt_ LPDWORD pcchUserNameBuf, _Out_writes_opt_(*pcchOrgNameBuf) LPWSTR, _Inout_opt_ LPDWORD pcchOrgNameBuf, _Out_writes_opt_(*pcchSerialBuf) LPWSTR, _Inout_opt_ LPDWORD pcchSerialBuf)
 
UINT WINAPI MsiProvidedComponentA (LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD)
 
UINT WINAPI MsiProvideComponentW (LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPDWORD)
 
UINT WINAPI MsiCollectUserInfoA (_In_ LPCSTR)
 
UINT WINAPI MsiCollectUserInfoW (_In_ LPCWSTR)
 
UINT WINAPI MsiReinstallFeatureA (_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD)
 
UINT WINAPI MsiReinstallFeatureW (_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD)
 
UINT WINAPI MsiGetShortcutTargetA (_In_ LPCSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR)
 
UINT WINAPI MsiGetShortcutTargetW (_In_ LPCWSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_FEATURE_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR)
 
INSTALLSTATE WINAPI MsiUseFeatureW (_In_ LPCWSTR, _In_ LPCWSTR)
 
INSTALLSTATE WINAPI MsiUseFeatureA (_In_ LPCSTR, _In_ LPCSTR)
 
INSTALLSTATE WINAPI MsiUseFeatureExW (_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _Reserved_ DWORD)
 
INSTALLSTATE WINAPI MsiUseFeatureExA (_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _Reserved_ DWORD)
 
HRESULT WINAPI MsiGetFileSignatureInformationA (_In_ LPCSTR, _In_ DWORD, _Outptr_ PCCERT_CONTEXT *, _Out_writes_bytes_opt_(*pcbHashData) LPBYTE, _Inout_opt_ LPDWORD pcbHashData)
 
HRESULT WINAPI MsiGetFileSignatureInformationW (_In_ LPCWSTR, _In_ DWORD, _Outptr_ PCCERT_CONTEXT *, _Out_writes_bytes_opt_(*pcbHashData) LPBYTE, _Inout_opt_ LPDWORD pcbHashData)
 
INSTALLSTATE WINAPI MsiLocateComponentA (_In_ LPCSTR, _Out_writes_opt_(*pcchBuf) LPSTR, _Inout_opt_ LPDWORD pcchBuf)
 
INSTALLSTATE WINAPI MsiLocateComponentW (_In_ LPCWSTR, _Out_writes_opt_(*pcchBuf) LPWSTR, _Inout_opt_ LPDWORD pcchBuf)
 
UINT WINAPI MsiSourceListAddSourceA (_In_ LPCSTR, _In_opt_ LPCSTR, _Reserved_ DWORD, _In_ LPCSTR)
 
UINT WINAPI MsiSourceListAddSourceW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _Reserved_ DWORD, _In_ LPCWSTR)
 
UINT WINAPI MsiSourceListEnumMediaDisksA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchVolumeLabel) LPSTR, _Inout_opt_ LPDWORD pcchVolumeLabel, _Out_writes_opt_(*pcchDiskPrompt) LPSTR, _Inout_opt_ LPDWORD pcchDiskPrompt)
 
UINT WINAPI MsiSourceListEnumMediaDisksW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_opt_ LPDWORD, _Out_writes_opt_(*pcchVolumeLabel) LPWSTR, _Inout_opt_ LPDWORD pcchVolumeLabel, _Out_writes_opt_(*pcchDiskPrompt) LPWSTR, _Inout_opt_ LPDWORD pcchDiskPrompt)
 
UINT WINAPI MsiSourceListEnumSourcesA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchSource) LPSTR, _Inout_opt_ LPDWORD pcchSource)
 
UINT WINAPI MsiSourceListEnumSourcesW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(*pcchSource) LPWSTR, _Inout_opt_ LPDWORD pcchSource)
 
UINT WINAPI MsiSourceListClearSourceA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR)
 
UINT WINAPI MsiSourceListClearSourceW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR)
 
UINT WINAPI MsiSourceListClearAllA (_In_ LPCSTR, _In_opt_ LPCSTR, _Reserved_ DWORD)
 
UINT WINAPI MsiSourceListClearAllW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _Reserved_ DWORD)
 
UINT WINAPI MsiSourceListGetInfoA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _Out_writes_opt_(*pcchValue) LPSTR, _Inout_opt_ LPDWORD pcchValue)
 
UINT WINAPI MsiSourceListGetInfoW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _Out_writes_opt_(*pcchValue) LPWSTR, _Inout_opt_ LPDWORD pcchValue)
 
UINT WINAPI MsiSourceListSetInfoA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _In_ LPCSTR)
 
UINT WINAPI MsiSourceListSetInfoW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _In_ LPCWSTR)
 
UINT WINAPI MsiSourceListAddSourceExA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCSTR, _In_ DWORD)
 
UINT WINAPI MsiSourceListAddSourceExW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ LPCWSTR, _In_ DWORD)
 
UINT WINAPI MsiSourceListAddMediaDiskA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
 
UINT WINAPI MsiSourceListAddMediaDiskW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD, _In_ DWORD, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
 
UINT WINAPI MsiEnumPatchesA (_In_ LPCSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPSTR, _Out_writes_(*pcchTransformsBuf) LPSTR, _Inout_ LPDWORD pcchTransformsBuf)
 
UINT WINAPI MsiEnumPatchesW (_In_ LPCWSTR, _In_ DWORD, _Out_writes_(MAX_GUID_CHARS+1) LPWSTR, _Out_writes_(*pcchTransformsBuf) LPWSTR, _Inout_ LPDWORD pcchTransformsBuf)
 
UINT WINAPI MsiEnumPatchesExA (_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPSTR, _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchTargetUserSid) LPSTR, _Inout_opt_ LPDWORD pcchTargetUserSid)
 
UINT WINAPI MsiEnumPatchesExW (_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR, _Out_writes_opt_(MAX_GUID_CHARS+1) LPWSTR, _Out_opt_ MSIINSTALLCONTEXT *, _Out_writes_opt_(*pcchTargetUserSid) LPWSTR, _Inout_opt_ LPDWORD pcchTargetUserSid)
 
UINT WINAPI MsiGetFileHashA (_In_ LPCSTR, _In_ DWORD, _Inout_ PMSIFILEHASHINFO)
 
UINT WINAPI MsiGetFileHashW (_In_ LPCWSTR, _In_ DWORD, _Inout_ PMSIFILEHASHINFO)
 
UINT WINAPI MsiAdvertiseScriptA (_In_ LPCSTR, _In_ DWORD, _In_opt_ PHKEY, _In_ BOOL)
 
UINT WINAPI MsiAdvertiseScriptW (_In_ LPCWSTR, _In_ DWORD, _In_opt_ PHKEY, _In_ BOOL)
 
UINT WINAPI MsiIsProductElevatedA (_In_ LPCSTR, _Out_ BOOL *)
 
UINT WINAPI MsiIsProductElevatedW (_In_ LPCWSTR, _Out_ BOOL *)
 
UINT WINAPI MsiDatabaseMergeA (MSIHANDLE, MSIHANDLE, LPCSTR)
 
UINT WINAPI MsiDatabaseMergeW (MSIHANDLE, MSIHANDLE, LPCWSTR)
 
UINT WINAPI MsiInstallMissingComponentA (_In_ LPCSTR, _In_ LPCSTR, _In_ INSTALLSTATE)
 
UINT WINAPI MsiInstallMissingComponentW (_In_ LPCWSTR, _In_ LPCWSTR, _In_ INSTALLSTATE)
 
UINT WINAPI MsiDetermineApplicablePatchesA (_In_ LPCSTR, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOA)
 
UINT WINAPI MsiDetermineApplicablePatchesW (_In_ LPCWSTR, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOW)
 
UINT WINAPI MsiDeterminePatchSequenceA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOA)
 
UINT WINAPI MsiDeterminePatchSequenceW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ MSIINSTALLCONTEXT, _In_ DWORD cPatchInfo, _Inout_updates_(cPatchInfo) PMSIPATCHSEQUENCEINFOW)
 
UINT WINAPI MsiApplyMultiplePatchesA (_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
 
UINT WINAPI MsiApplyMultiplePatchesW (_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
 
UINT WINAPI MsiBeginTransactionA (_In_ LPCSTR, _In_ DWORD, _Out_ MSIHANDLE *, _Out_ HANDLE *)
 
UINT WINAPI MsiBeginTransactionW (_In_ LPCWSTR, _In_ DWORD, _Out_ MSIHANDLE *, _Out_ HANDLE *)
 
UINT WINAPI MsiEndTransaction (_In_ DWORD)
 
UINT WINAPI MsiCloseHandle (MSIHANDLE)
 
UINT WINAPI MsiCloseAllHandles (void)
 
INSTALLUILEVEL WINAPI MsiSetInternalUI (_In_ INSTALLUILEVEL, _Inout_opt_ HWND *)
 
UINT WINAPI MsiSetExternalUIRecord (_In_opt_ INSTALLUI_HANDLER_RECORD, _In_ DWORD, _In_opt_ LPVOID, _Out_opt_ PINSTALLUI_HANDLER_RECORD)
 

Variables

static const WCHAR INSTALLPROPERTY_PACKAGENAMEW [] = {'P','a','c','k','a','g','e','N','a','m','e',0}
 
static const WCHAR INSTALLPROPERTY_TRANSFORMSW [] = {'T','r','a','n','s','f','o','r','m','s',0}
 
static const WCHAR INSTALLPROPERTY_LANGUAGEW [] = {'L','a','n','g','u','a','g','e',0}
 
static const WCHAR INSTALLPROPERTY_PRODUCTNAMEW [] = {'P','r','o','d','u','c','t','N','a','m','e',0}
 
static const WCHAR INSTALLPROPERTY_ASSIGNMENTTYPEW [] = {'A','s','s','i','g','n','m','e','n','t','T','y','p','e',0}
 
static const WCHAR INSTALLPROPERTY_PACKAGECODEW [] = {'P','a','c','k','a','g','e','C','o','d','e',0}
 
static const WCHAR INSTALLPROPERTY_VERSIONW [] = {'V','e','r','s','i','o','n',0}
 
static const WCHAR INSTALLPROPERTY_PRODUCTICONW [] = {'P','r','o','d','u','c','t','I','c','o','n',0}
 
static const WCHAR INSTALLPROPERTY_INSTANCETYPEW [] = {'I','n','s','t','a','n','c','e','T','y','p','e',0}
 
static const WCHAR INSTALLPROPERTY_AUTHORIZED_LUA_APPW [] = {'A','u','t','h','o','r','i','z','e','d','L','U','A','A','p','p',0}
 
static const WCHAR INSTALLPROPERTY_INSTALLEDPRODUCTNAMEW [] = {'I','n','s','t','a','l','l','e','d','P','r','o','d','u','c','t','N','a','m','e',0}
 
static const WCHAR INSTALLPROPERTY_VERSIONSTRINGW [] = {'V','e','r','s','i','o','n','S','t','r','i','n','g',0}
 
static const WCHAR INSTALLPROPERTY_HELPLINKW [] = {'H','e','l','p','L','i','n','k',0}
 
static const WCHAR INSTALLPROPERTY_HELPTELEPHONEW [] = {'H','e','l','p','T','e','l','e','p','h','o','n','e',0}
 
static const WCHAR INSTALLPROPERTY_INSTALLLOCATIONW [] = {'I','n','s','t','a','l','l','L','o','c','a','t','i','o','n',0}
 
static const WCHAR INSTALLPROPERTY_INSTALLSOURCEW [] = {'I','n','s','t','a','l','l','S','o','u','r','c','e',0}
 
static const WCHAR INSTALLPROPERTY_INSTALLDATEW [] = {'I','n','s','t','a','l','l','D','a','t','e',0}
 
static const WCHAR INSTALLPROPERTY_PUBLISHERW [] ={'P','u','b','l','i','s','h','e','r',0}
 
static const WCHAR INSTALLPROPERTY_LOCALPACKAGEW [] = {'L','o','c','a','l','P','a','c','k','a','g','e',0}
 
static const WCHAR INSTALLPROPERTY_URLINFOABOUTW [] = {'U','R','L','I','n','f','o','A','b','o','u','t',0}
 
static const WCHAR INSTALLPROPERTY_URLUPDATEINFOW [] = {'U','R','L','U','p','d','a','t','e','I','n','f','o',0}
 
static const WCHAR INSTALLPROPERTY_VERSIONMINORW [] = {'V','e','r','s','i','o','n','M','i','n','o','r',0}
 
static const WCHAR INSTALLPROPERTY_VERSIONMAJORW [] = {'V','e','r','s','i','o','n','M','a','j','o','r',0}
 
static const WCHAR INSTALLPROPERTY_PRODUCTIDW [] = {'P','r','o','d','u','c','t','I','D',0}
 
static const WCHAR INSTALLPROPERTY_REGCOMPANYW [] = {'R','e','g','C','o','m','p','a','n','y',0}
 
static const WCHAR INSTALLPROPERTY_REGOWNERW [] = {'R','e','g','O','w','n','e','r',0}
 
static const WCHAR INSTALLPROPERTY_UNINSTALLABLEW [] = {'U','n','i','n','s','t','a','l','l','a','b','l','e',0}
 
static const WCHAR INSTALLPROPERTY_PRODUCTSTATEW [] = {'S','t','a','t','e',0}
 
static const WCHAR INSTALLPROPERTY_PATCHSTATEW [] ={'S','t','a','t','e',0}
 
static const WCHAR INSTALLPROPERTY_PATCHTYPEW [] = {'P','a','t','c','h','T','y','p','e',0}
 
static const WCHAR INSTALLPROPERTY_LUAENABLEDW [] = {'L','U','A','E','n','a','b','l','e','d',0}
 
static const WCHAR INSTALLPROPERTY_DISPLAYNAMEW [] = {'D','i','s','p','l','a','y','N','a','m','e',0}
 
static const WCHAR INSTALLPROPERTY_MOREINFOURLW [] = {'M','o','r','e','I','n','f','o','U','R','L',0}
 
static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW [] = {'L','a','s','t','U','s','e','d','S','o','u','r','c','e',0}
 
static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW [] = {'L','a','s','t','U','s','e','d','T','y','p','e',0}
 
static const WCHAR INSTALLPROPERTY_MEDIAPACKAGEPATHW [] = {'M','e','d','i','a','P','a','c','k','a','g','e','P','a','t','h',0}
 
static const WCHAR INSTALLPROPERTY_DISKPROMPTW [] = {'D','i','s','k','P','r','o','m','p','t',0}
 

Macro Definition Documentation

◆ ERROR_PATCH_TARGET_NOT_FOUND

#define ERROR_PATCH_TARGET_NOT_FOUND   1642

Definition at line 259 of file msi.h.

◆ INSTALLPROPERTY_ASSIGNMENTTYPE

#define INSTALLPROPERTY_ASSIGNMENTTYPE   WINELIB_NAME_AW(INSTALLPROPERTY_ASSIGNMENTTYPE)

Definition at line 282 of file msi.h.

◆ INSTALLPROPERTY_ASSIGNMENTTYPEA

#define INSTALLPROPERTY_ASSIGNMENTTYPEA   "AssignmentType"

Definition at line 280 of file msi.h.

◆ INSTALLPROPERTY_AUTHORIZED_LUA_APP

#define INSTALLPROPERTY_AUTHORIZED_LUA_APP   WINELIB_NAME_AW(INSTALLPROPERTY_AUTHORIZED_LUA_APP)

Definition at line 306 of file msi.h.

◆ INSTALLPROPERTY_AUTHORIZED_LUA_APPA

#define INSTALLPROPERTY_AUTHORIZED_LUA_APPA   "AuthorizedLUAApp"

Definition at line 304 of file msi.h.

◆ INSTALLPROPERTY_DISKPROMPT

#define INSTALLPROPERTY_DISKPROMPT   WINELIB_NAME_AW(INSTALLPROPERTY_DISKPROMPT)

Definition at line 418 of file msi.h.

◆ INSTALLPROPERTY_DISKPROMPTA

#define INSTALLPROPERTY_DISKPROMPTA   "DiskPrompt"

Definition at line 416 of file msi.h.

◆ INSTALLPROPERTY_DISPLAYNAME

#define INSTALLPROPERTY_DISPLAYNAME   WINELIB_NAME_AW(INSTALLPROPERTY_DISPLAYNAME)

Definition at line 397 of file msi.h.

◆ INSTALLPROPERTY_DISPLAYNAMEA

#define INSTALLPROPERTY_DISPLAYNAMEA   "DisplayName"

Definition at line 395 of file msi.h.

◆ INSTALLPROPERTY_HELPLINK

#define INSTALLPROPERTY_HELPLINK   WINELIB_NAME_AW(INSTALLPROPERTY_HELPLINK)

Definition at line 320 of file msi.h.

◆ INSTALLPROPERTY_HELPLINKA

#define INSTALLPROPERTY_HELPLINKA   "HelpLink"

Definition at line 318 of file msi.h.

◆ INSTALLPROPERTY_HELPTELEPHONE

#define INSTALLPROPERTY_HELPTELEPHONE   WINELIB_NAME_AW(INSTALLPROPERTY_HELPTELEPHONE)

Definition at line 324 of file msi.h.

◆ INSTALLPROPERTY_HELPTELEPHONEA

#define INSTALLPROPERTY_HELPTELEPHONEA   "HelpTelephone"

Definition at line 322 of file msi.h.

◆ INSTALLPROPERTY_INSTALLDATE

#define INSTALLPROPERTY_INSTALLDATE   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLDATE)

Definition at line 336 of file msi.h.

◆ INSTALLPROPERTY_INSTALLDATEA

#define INSTALLPROPERTY_INSTALLDATEA   "InstallDate"

Definition at line 334 of file msi.h.

◆ INSTALLPROPERTY_INSTALLEDPRODUCTNAME

#define INSTALLPROPERTY_INSTALLEDPRODUCTNAME   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLEDPRODUCTNAME)

Definition at line 312 of file msi.h.

◆ INSTALLPROPERTY_INSTALLEDPRODUCTNAMEA

#define INSTALLPROPERTY_INSTALLEDPRODUCTNAMEA   "InstalledProductName"

Definition at line 310 of file msi.h.

◆ INSTALLPROPERTY_INSTALLLOCATION

#define INSTALLPROPERTY_INSTALLLOCATION   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLLOCATION)

Definition at line 328 of file msi.h.

◆ INSTALLPROPERTY_INSTALLLOCATIONA

#define INSTALLPROPERTY_INSTALLLOCATIONA   "InstallLocation"

Definition at line 326 of file msi.h.

◆ INSTALLPROPERTY_INSTALLSOURCE

#define INSTALLPROPERTY_INSTALLSOURCE   WINELIB_NAME_AW(INSTALLPROPERTY_INSTALLSOURCE)

Definition at line 332 of file msi.h.

◆ INSTALLPROPERTY_INSTALLSOURCEA

#define INSTALLPROPERTY_INSTALLSOURCEA   "InstallSource"

Definition at line 330 of file msi.h.

◆ INSTALLPROPERTY_INSTANCETYPE

#define INSTALLPROPERTY_INSTANCETYPE   WINELIB_NAME_AW(INSTALLPROPERTY_INSTANCETYPE)

Definition at line 301 of file msi.h.

◆ INSTALLPROPERTY_INSTANCETYPEA

#define INSTALLPROPERTY_INSTANCETYPEA   "InstanceType"

Definition at line 299 of file msi.h.

◆ INSTALLPROPERTY_LANGUAGE

#define INSTALLPROPERTY_LANGUAGE   WINELIB_NAME_AW(INSTALLPROPERTY_LANGUAGE)

Definition at line 274 of file msi.h.

◆ INSTALLPROPERTY_LANGUAGEA

#define INSTALLPROPERTY_LANGUAGEA   "Language"

Definition at line 272 of file msi.h.

◆ INSTALLPROPERTY_LASTUSEDSOURCE

#define INSTALLPROPERTY_LASTUSEDSOURCE   WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCE)

Definition at line 406 of file msi.h.

◆ INSTALLPROPERTY_LASTUSEDSOURCEA

#define INSTALLPROPERTY_LASTUSEDSOURCEA   "LastUsedSource"

Definition at line 404 of file msi.h.

◆ INSTALLPROPERTY_LASTUSEDTYPE

#define INSTALLPROPERTY_LASTUSEDTYPE   WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDTYPE)

Definition at line 410 of file msi.h.

◆ INSTALLPROPERTY_LASTUSEDTYPEA

#define INSTALLPROPERTY_LASTUSEDTYPEA   "LastUsedType"

Definition at line 408 of file msi.h.

◆ INSTALLPROPERTY_LOCALPACKAGE

#define INSTALLPROPERTY_LOCALPACKAGE   WINELIB_NAME_AW(INSTALLPROPERTY_LOCALPACKAGE)

Definition at line 344 of file msi.h.

◆ INSTALLPROPERTY_LOCALPACKAGEA

#define INSTALLPROPERTY_LOCALPACKAGEA   "LocalPackage"

Definition at line 342 of file msi.h.

◆ INSTALLPROPERTY_LUAENABLED

#define INSTALLPROPERTY_LUAENABLED   WINELIB_NAME_AW(INSTALLPROPERTY_LUAENABLED)

Definition at line 393 of file msi.h.

◆ INSTALLPROPERTY_LUAENABLEDA

#define INSTALLPROPERTY_LUAENABLEDA   "LUAEnabled"

Definition at line 391 of file msi.h.

◆ INSTALLPROPERTY_MEDIAPACKAGEPATH

#define INSTALLPROPERTY_MEDIAPACKAGEPATH   WINELIB_NAME_AW(INSTALLPROPERTY_MEDIAPACKAGEPATH)

Definition at line 414 of file msi.h.

◆ INSTALLPROPERTY_MEDIAPACKAGEPATHA

#define INSTALLPROPERTY_MEDIAPACKAGEPATHA   "MediaPackagePath"

Definition at line 412 of file msi.h.

◆ INSTALLPROPERTY_MOREINFOURL

#define INSTALLPROPERTY_MOREINFOURL   WINELIB_NAME_AW(INSTALLPROPERTY_MOREINFOURL)

Definition at line 401 of file msi.h.

◆ INSTALLPROPERTY_MOREINFOURLA

#define INSTALLPROPERTY_MOREINFOURLA   "MoreInfoURL"

Definition at line 399 of file msi.h.

◆ INSTALLPROPERTY_PACKAGECODE

#define INSTALLPROPERTY_PACKAGECODE   WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGECODE)

Definition at line 286 of file msi.h.

◆ INSTALLPROPERTY_PACKAGECODEA

#define INSTALLPROPERTY_PACKAGECODEA   "PackageCode"

Definition at line 284 of file msi.h.

◆ INSTALLPROPERTY_PACKAGENAME

#define INSTALLPROPERTY_PACKAGENAME   WINELIB_NAME_AW(INSTALLPROPERTY_PACKAGENAME)

Definition at line 266 of file msi.h.

◆ INSTALLPROPERTY_PACKAGENAMEA

#define INSTALLPROPERTY_PACKAGENAMEA   "PackageName"

Definition at line 264 of file msi.h.

◆ INSTALLPROPERTY_PATCHSTATE

#define INSTALLPROPERTY_PATCHSTATE   WINELIB_NAME_AW(INSTALLPROPERTY_PATCHSTATE)

Definition at line 385 of file msi.h.

◆ INSTALLPROPERTY_PATCHSTATEA

#define INSTALLPROPERTY_PATCHSTATEA   "State"

Definition at line 383 of file msi.h.

◆ INSTALLPROPERTY_PATCHTYPE

#define INSTALLPROPERTY_PATCHTYPE   WINELIB_NAME_AW(INSTALLPROPERTY_PATCHTYPE)

Definition at line 389 of file msi.h.

◆ INSTALLPROPERTY_PATCHTYPEA

#define INSTALLPROPERTY_PATCHTYPEA   "PatchType"

Definition at line 387 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTICON

#define INSTALLPROPERTY_PRODUCTICON   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTICON)

Definition at line 296 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTICONA

#define INSTALLPROPERTY_PRODUCTICONA   "ProductIcon"

Definition at line 294 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTID

#define INSTALLPROPERTY_PRODUCTID   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTID)

Definition at line 364 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTIDA

#define INSTALLPROPERTY_PRODUCTIDA   "ProductID"

Definition at line 362 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTNAME

#define INSTALLPROPERTY_PRODUCTNAME   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTNAME)

Definition at line 278 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTNAMEA

#define INSTALLPROPERTY_PRODUCTNAMEA   "ProductName"

Definition at line 276 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTSTATE

#define INSTALLPROPERTY_PRODUCTSTATE   WINELIB_NAME_AW(INSTALLPROPERTY_PRODUCTSTATE)

Definition at line 381 of file msi.h.

◆ INSTALLPROPERTY_PRODUCTSTATEA

#define INSTALLPROPERTY_PRODUCTSTATEA   "State"

Definition at line 379 of file msi.h.

◆ INSTALLPROPERTY_PUBLISHER

#define INSTALLPROPERTY_PUBLISHER   WINELIB_NAME_AW(INSTALLPROPERTY_PUBLISHER)

Definition at line 340 of file msi.h.

◆ INSTALLPROPERTY_PUBLISHERA

#define INSTALLPROPERTY_PUBLISHERA   "Publisher"

Definition at line 338 of file msi.h.

◆ INSTALLPROPERTY_REGCOMPANY

#define INSTALLPROPERTY_REGCOMPANY   WINELIB_NAME_AW(INSTALLPROPERTY_REGCOMPANY)

Definition at line 368 of file msi.h.

◆ INSTALLPROPERTY_REGCOMPANYA

#define INSTALLPROPERTY_REGCOMPANYA   "RegCompany"

Definition at line 366 of file msi.h.

◆ INSTALLPROPERTY_REGOWNER

#define INSTALLPROPERTY_REGOWNER   WINELIB_NAME_AW(INSTALLPROPERTY_REGOWNER)

Definition at line 372 of file msi.h.

◆ INSTALLPROPERTY_REGOWNERA

#define INSTALLPROPERTY_REGOWNERA   "RegOwner"

Definition at line 370 of file msi.h.

◆ INSTALLPROPERTY_TRANSFORMS

#define INSTALLPROPERTY_TRANSFORMS   WINELIB_NAME_AW(INSTALLPROPERTY_TRANSFORMS)

Definition at line 270 of file msi.h.

◆ INSTALLPROPERTY_TRANSFORMSA

#define INSTALLPROPERTY_TRANSFORMSA   "Transforms"

Definition at line 268 of file msi.h.

◆ INSTALLPROPERTY_UNINSTALLABLE

#define INSTALLPROPERTY_UNINSTALLABLE   WINELIB_NAME_AW(INSTALLPROPERTY_UNINSTALLABLE)

Definition at line 377 of file msi.h.

◆ INSTALLPROPERTY_UNINSTALLABLEA

#define INSTALLPROPERTY_UNINSTALLABLEA   "Uninstallable"

Definition at line 375 of file msi.h.

◆ INSTALLPROPERTY_URLINFOABOUT

#define INSTALLPROPERTY_URLINFOABOUT   WINELIB_NAME_AW(INSTALLPROPERTY_URLINFOABOUT)

Definition at line 348 of file msi.h.

◆ INSTALLPROPERTY_URLINFOABOUTA

#define INSTALLPROPERTY_URLINFOABOUTA   "URLInfoAbout"

Definition at line 346 of file msi.h.

◆ INSTALLPROPERTY_URLUPDATEINFO

#define INSTALLPROPERTY_URLUPDATEINFO   WINELIB_NAME_AW(INSTALLPROPERTY_URLUPDATEINFO)

Definition at line 352 of file msi.h.

◆ INSTALLPROPERTY_URLUPDATEINFOA

#define INSTALLPROPERTY_URLUPDATEINFOA   "URLUpdateInfo"

Definition at line 350 of file msi.h.

◆ INSTALLPROPERTY_VERSION

#define INSTALLPROPERTY_VERSION   WINELIB_NAME_AW(INSTALLPROPERTY_VERSION)

Definition at line 290 of file msi.h.

◆ INSTALLPROPERTY_VERSIONA

#define INSTALLPROPERTY_VERSIONA   "Version"

Definition at line 288 of file msi.h.

◆ INSTALLPROPERTY_VERSIONMAJOR

#define INSTALLPROPERTY_VERSIONMAJOR   WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMAJOR)

Definition at line 360 of file msi.h.

◆ INSTALLPROPERTY_VERSIONMAJORA

#define INSTALLPROPERTY_VERSIONMAJORA   "VersionMajor"

Definition at line 358 of file msi.h.

◆ INSTALLPROPERTY_VERSIONMINOR

#define INSTALLPROPERTY_VERSIONMINOR   WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONMINOR)

Definition at line 356 of file msi.h.

◆ INSTALLPROPERTY_VERSIONMINORA

#define INSTALLPROPERTY_VERSIONMINORA   "VersionMinor"

Definition at line 354 of file msi.h.

◆ INSTALLPROPERTY_VERSIONSTRING

#define INSTALLPROPERTY_VERSIONSTRING   WINELIB_NAME_AW(INSTALLPROPERTY_VERSIONSTRING)

Definition at line 316 of file msi.h.

◆ INSTALLPROPERTY_VERSIONSTRINGA

#define INSTALLPROPERTY_VERSIONSTRINGA   "VersionString"

Definition at line 314 of file msi.h.

◆ MAX_FEATURE_CHARS

#define MAX_FEATURE_CHARS   38

Definition at line 257 of file msi.h.

◆ MAX_GUID_CHARS

#define MAX_GUID_CHARS   38

Definition at line 26 of file msi.h.

◆ MsiAdvertiseProduct

#define MsiAdvertiseProduct   WINELIB_NAME_AW(MsiAdvertiseProduct)

Definition at line 441 of file msi.h.

◆ MsiAdvertiseProductEx

#define MsiAdvertiseProductEx   WINELIB_NAME_AW(MsiAdvertiseProductEx)

Definition at line 463 of file msi.h.

◆ MsiAdvertiseScript

#define MsiAdvertiseScript   WINELIB_NAME_AW(MsiAdvertiseScript)

Definition at line 1429 of file msi.h.

◆ MsiApplyMultiplePatches

#define MsiApplyMultiplePatches   WINELIB_NAME_AW(MsiApplyMultiplePatches)

Definition at line 1505 of file msi.h.

◆ MsiApplyPatch

#define MsiApplyPatch   WINELIB_NAME_AW(MsiApplyPatch)

Definition at line 489 of file msi.h.

◆ MsiBeginTransaction

#define MsiBeginTransaction   WINELIB_NAME_AW(MsiBeginTransaction)

Definition at line 1523 of file msi.h.

◆ MsiCollectUserInfo

#define MsiCollectUserInfo   WINELIB_NAME_AW(MsiCollectUserInfo)

Definition at line 1065 of file msi.h.

◆ MsiConfigureFeature

#define MsiConfigureFeature   WINELIB_NAME_AW(MsiConfigureFeature)

Definition at line 701 of file msi.h.

◆ MsiConfigureProduct

#define MsiConfigureProduct   WINELIB_NAME_AW(MsiConfigureProduct)

Definition at line 667 of file msi.h.

◆ MsiConfigureProductEx

#define MsiConfigureProductEx   WINELIB_NAME_AW(MsiConfigureProductEx)

Definition at line 685 of file msi.h.

◆ MsiDatabaseMerge

#define MsiDatabaseMerge   WINELIB_NAME_AW(MsiDatabaseMerge)

Definition at line 1437 of file msi.h.

◆ MsiDetermineApplicablePatches

#define MsiDetermineApplicablePatches   WINELIB_NAME_AW(MsiDetermineApplicablePatches)

Definition at line 1469 of file msi.h.

◆ MsiDeterminePatchSequence

#define MsiDeterminePatchSequence   WINELIB_NAME_AW(MsiDeterminePatchSequence)

Definition at line 1489 of file msi.h.

◆ MsiEnableLog

#define MsiEnableLog   WINELIB_NAME_AW(MsiEnableLog)

Definition at line 801 of file msi.h.

◆ MsiEnumClients

#define MsiEnumClients   WINELIB_NAME_AW(MsiEnumClients)

Definition at line 605 of file msi.h.

◆ MsiEnumComponentCosts

#define MsiEnumComponentCosts   WINELIB_NAME_AW(MsiEnumComponentCosts)

Definition at line 493 of file msi.h.

◆ MsiEnumComponentQualifiers

#define MsiEnumComponentQualifiers   WINELIB_NAME_AW(MsiEnumComponentQualifiers)

Definition at line 963 of file msi.h.

◆ MsiEnumComponents

#define MsiEnumComponents   WINELIB_NAME_AW(MsiEnumComponents)

Definition at line 565 of file msi.h.

◆ MsiEnumComponentsEx

#define MsiEnumComponentsEx   WINELIB_NAME_AW(MsiEnumComponentsEx)

Definition at line 589 of file msi.h.

◆ MsiEnumFeatures

#define MsiEnumFeatures   WINELIB_NAME_AW(MsiEnumFeatures)

Definition at line 551 of file msi.h.

◆ MsiEnumPatches

#define MsiEnumPatches   WINELIB_NAME_AW(MsiEnumPatches)

Definition at line 1365 of file msi.h.

◆ MsiEnumPatchesEx

#define MsiEnumPatchesEx   WINELIB_NAME_AW(MsiEnumPatchesEx)

Definition at line 1395 of file msi.h.

◆ MsiEnumProducts

#define MsiEnumProducts   WINELIB_NAME_AW(MsiEnumProducts)

Definition at line 507 of file msi.h.

◆ MsiEnumProductsEx

#define MsiEnumProductsEx   WINELIB_NAME_AW(MsiEnumProductsEx)

Definition at line 533 of file msi.h.

◆ MsiEnumRelatedProducts

#define MsiEnumRelatedProducts   WINELIB_NAME_AW(MsiEnumRelatedProducts)

Definition at line 919 of file msi.h.

◆ MsiGetComponentPath

#define MsiGetComponentPath   WINELIB_NAME_AW(MsiGetComponentPath)

Definition at line 835 of file msi.h.

◆ MsiGetFeatureInfo

#define MsiGetFeatureInfo   WINELIB_NAME_AW(MsiGetFeatureInfo)

Definition at line 883 of file msi.h.

◆ MsiGetFeatureUsage

#define MsiGetFeatureUsage   WINELIB_NAME_AW(MsiGetFeatureUsage)

Definition at line 901 of file msi.h.

◆ MsiGetFileHash

#define MsiGetFileHash   WINELIB_NAME_AW(MsiGetFileHash)

Definition at line 1411 of file msi.h.

◆ MsiGetFileSignatureInformation

#define MsiGetFileSignatureInformation   WINELIB_NAME_AW(MsiGetFileSignatureInformation)

Definition at line 1129 of file msi.h.

◆ MsiGetFileVersion

#define MsiGetFileVersion   WINELIB_NAME_AW(MsiGetFileVersion)

Definition at line 983 of file msi.h.

◆ MsiGetPatchInfo

#define MsiGetPatchInfo   WINELIB_NAME_AW(MsiGetPatchInfo)

Definition at line 797 of file msi.h.

◆ MsiGetPatchInfoEx

#define MsiGetPatchInfoEx   WINELIB_NAME_AW(MsiGetPatchInfoEx)

Definition at line 779 of file msi.h.

◆ MsiGetProductCode

#define MsiGetProductCode   WINELIB_NAME_AW(MsiGetProductCode)

Definition at line 715 of file msi.h.

◆ MsiGetProductInfo

#define MsiGetProductInfo   WINELIB_NAME_AW(MsiGetProductInfo)

Definition at line 733 of file msi.h.

◆ MsiGetProductInfoEx

#define MsiGetProductInfoEx   WINELIB_NAME_AW(MsiGetProductInfoEx)

Definition at line 755 of file msi.h.

◆ MsiGetProductProperty

#define MsiGetProductProperty   WINELIB_NAME_AW(MsiGetProductProperty)

Definition at line 635 of file msi.h.

◆ MsiGetShortcutTarget

#define MsiGetShortcutTarget   WINELIB_NAME_AW(MsiGetShortcutTarget)

Definition at line 1087 of file msi.h.

◆ MsiGetUserInfo

#define MsiGetUserInfo   WINELIB_NAME_AW(MsiGetUserInfo)

Definition at line 1057 of file msi.h.

◆ MsiInstallMissingComponent

#define MsiInstallMissingComponent   WINELIB_NAME_AW(MsiInstallMissingComponent)

Definition at line 1453 of file msi.h.

◆ MsiInstallProduct

#define MsiInstallProduct   WINELIB_NAME_AW(MsiInstallProduct)

Definition at line 467 of file msi.h.

◆ MsiIsProductElevated

#define MsiIsProductElevated   WINELIB_NAME_AW(MsiIsProductElevated)

Definition at line 1433 of file msi.h.

◆ MsiLocateComponent

#define MsiLocateComponent   WINELIB_NAME_AW(MsiLocateComponent)

Definition at line 1145 of file msi.h.

◆ MsiMessageBox

#define MsiMessageBox   WINELIB_NAME_AW(MsiMessageBox)

Definition at line 987 of file msi.h.

◆ MsiOpenPackage

#define MsiOpenPackage   WINELIB_NAME_AW(MsiOpenPackage)

Definition at line 609 of file msi.h.

◆ MsiOpenPackageEx

#define MsiOpenPackageEx   WINELIB_NAME_AW(MsiOpenPackageEx)

Definition at line 613 of file msi.h.

◆ MsiOpenProduct

#define MsiOpenProduct   WINELIB_NAME_AW(MsiOpenProduct)

Definition at line 617 of file msi.h.

◆ MsiProvideAssembly

#define MsiProvideAssembly   WINELIB_NAME_AW(MsiProvideAssembly)

Definition at line 941 of file msi.h.

◆ MsiProvideComponent

#define MsiProvideComponent   WINELIB_NAME_AW(MsiProvideComponent)

Definition at line 1061 of file msi.h.

◆ MsiProvideQualifiedComponent

#define MsiProvideQualifiedComponent   WINELIB_NAME_AW(MsiProvideQualifiedComponent)

Definition at line 1033 of file msi.h.

◆ MsiProvideQualifiedComponentEx

#define MsiProvideQualifiedComponentEx   WINELIB_NAME_AW(MsiProvideQualifiedComponentEx)

Definition at line 1013 of file msi.h.

◆ MsiQueryComponentState

#define MsiQueryComponentState   WINELIB_NAME_AW(MsiQueryComponentState)

Definition at line 659 of file msi.h.

◆ MsiQueryFeatureState

#define MsiQueryFeatureState   WINELIB_NAME_AW(MsiQueryFeatureState)

Definition at line 839 of file msi.h.

◆ MsiQueryFeatureStateEx

#define MsiQueryFeatureStateEx   WINELIB_NAME_AW(MsiQueryFeatureStateEx)

Definition at line 859 of file msi.h.

◆ MsiQueryProductState

#define MsiQueryProductState   WINELIB_NAME_AW(MsiQueryProductState)

Definition at line 663 of file msi.h.

◆ MsiReinstallFeature

#define MsiReinstallFeature   WINELIB_NAME_AW(MsiReinstallFeature)

Definition at line 1069 of file msi.h.

◆ MsiReinstallProduct

#define MsiReinstallProduct   WINELIB_NAME_AW(MsiReinstallProduct)

Definition at line 471 of file msi.h.

◆ MsiSetExternalUI

#define MsiSetExternalUI   WINELIB_NAME_AW(MsiSetExternalUI)

Definition at line 817 of file msi.h.

◆ MsiSourceListAddMediaDisk

#define MsiSourceListAddMediaDisk   WINELIB_NAME_AW(MsiSourceListAddMediaDisk)

Definition at line 1345 of file msi.h.

◆ MsiSourceListAddSource

#define MsiSourceListAddSource   WINELIB_NAME_AW(MsiSourceListAddSource)

Definition at line 1163 of file msi.h.

◆ MsiSourceListAddSourceEx

#define MsiSourceListAddSourceEx   WINELIB_NAME_AW(MsiSourceListAddSourceEx)

Definition at line 1321 of file msi.h.

◆ MsiSourceListClearAll

#define MsiSourceListClearAll   WINELIB_NAME_AW(MsiSourceListClearAll)

Definition at line 1253 of file msi.h.

◆ MsiSourceListClearSource

#define MsiSourceListClearSource   WINELIB_NAME_AW(MsiSourceListClearSource)

Definition at line 1237 of file msi.h.

◆ MsiSourceListEnumMediaDisks

#define MsiSourceListEnumMediaDisks   WINELIB_NAME_AW(MsiSourceListEnumMediaDisks)

Definition at line 1193 of file msi.h.

◆ MsiSourceListEnumSources

#define MsiSourceListEnumSources   WINELIB_NAME_AW(MsiSourceListEnumSources)

Definition at line 1217 of file msi.h.

◆ MsiSourceListGetInfo

#define MsiSourceListGetInfo   WINELIB_NAME_AW(MsiSourceListGetInfo)

Definition at line 1277 of file msi.h.

◆ MsiSourceListSetInfo

#define MsiSourceListSetInfo   WINELIB_NAME_AW(MsiSourceListSetInfo)

Definition at line 1299 of file msi.h.

◆ MsiUseFeature

#define MsiUseFeature   WINELIB_NAME_AW(MsiUseFeature)

Definition at line 1091 of file msi.h.

◆ MsiUseFeatureEx

#define MsiUseFeatureEx   WINELIB_NAME_AW(MsiUseFeatureEx)

Definition at line 1109 of file msi.h.

◆ MsiVerifyPackage

#define MsiVerifyPackage   WINELIB_NAME_AW(MsiVerifyPackage)

Definition at line 639 of file msi.h.

Typedef Documentation

◆ ADVERTISEFLAGS

◆ INSTALLFEATUREATTRIBUTE

◆ INSTALLLEVEL

◆ INSTALLLOGATTRIBUTES

◆ INSTALLLOGMODE

◆ INSTALLMESSAGE

◆ INSTALLMODE

◆ INSTALLSTATE

◆ INSTALLTYPE

◆ INSTALLUI_HANDLER_RECORD

typedef INT(CALLBACK * INSTALLUI_HANDLER_RECORD) (LPVOID, UINT, MSIHANDLE)

Definition at line 422 of file msi.h.

◆ INSTALLUI_HANDLERA

typedef INT(CALLBACK * INSTALLUI_HANDLERA) (LPVOID, UINT, LPCSTR)

Definition at line 420 of file msi.h.

◆ INSTALLUI_HANDLERW

typedef INT(CALLBACK * INSTALLUI_HANDLERW) (LPVOID, UINT, LPCWSTR)

Definition at line 421 of file msi.h.

◆ INSTALLUILEVEL

◆ MSICODE

◆ MSIFILEHASHINFO

◆ MSIHANDLE

typedef ULONG MSIHANDLE

Definition at line 32 of file msi.h.

◆ MSIINSTALLCONTEXT

Definition at line 41 of file action.c.

◆ MSIPATCHDATATYPE

◆ MSIPATCHSEQUENCEINFOA

◆ MSIPATCHSEQUENCEINFOW

◆ MSIPATCHSTATE

◆ MSISOURCETYPE

◆ PINSTALLUI_HANDLER_RECORD

Definition at line 423 of file msi.h.

◆ PMSIFILEHASHINFO

◆ PMSIPATCHDATATYPE

◆ PMSIPATCHSEQUENCEINFOA

◆ PMSIPATCHSEQUENCEINFOW

◆ REINSTALLMODE

◆ SCRIPTFLAGS

◆ USERINFOSTATE

Enumeration Type Documentation

◆ tagADVERTISEFLAGS

Enumerator
ADVERTISEFLAGS_MACHINEASSIGN 
ADVERTISEFLAGS_USERASSIGN 

Definition at line 169 of file msi.h.

170 {
enum tagADVERTISEFLAGS ADVERTISEFLAGS

◆ tagINSTALLFEATUREATTRIBUTE

Enumerator
INSTALLFEATUREATTRIBUTE_FAVORLOCAL 
INSTALLFEATUREATTRIBUTE_FAVORSOURCE 
INSTALLFEATUREATTRIBUTE_FOLLOWPARENT 
INSTALLFEATUREATTRIBUTE_FAVORADVERTISE 
INSTALLFEATUREATTRIBUTE_DISALLOWADVERTISE 
INSTALLFEATUREATTRIBUTE_NOUNSUPPORTEDADVERTISE 

Definition at line 219 of file msi.h.

◆ tagINSTALLLEVEL

Enumerator
INSTALLLEVEL_DEFAULT 
INSTALLLEVEL_MINIMUM 
INSTALLLEVEL_MAXIMUM 

Definition at line 85 of file msi.h.

86 {
89  INSTALLLEVEL_MAXIMUM = 0xFFFF
90 } INSTALLLEVEL;
enum tagINSTALLLEVEL INSTALLLEVEL

◆ tagINSTALLLOGATTRIBUTES

Enumerator
INSTALLLOGATTRIBUTES_APPEND 
INSTALLLOGATTRIBUTES_FLUSHEACHLINE 

Definition at line 154 of file msi.h.

155 {
156  INSTALLLOGATTRIBUTES_APPEND = 0x00000001,
enum tagINSTALLLOGATTRIBUTES INSTALLLOGATTRIBUTES

◆ tagINSTALLLOGMODE

Enumerator
INSTALLLOGMODE_FATALEXIT 
INSTALLLOGMODE_ERROR 
INSTALLLOGMODE_WARNING 
INSTALLLOGMODE_USER 
INSTALLLOGMODE_INFO 
INSTALLLOGMODE_FILESINUSE 
INSTALLLOGMODE_RESOLVESOURCE 
INSTALLLOGMODE_OUTOFDISKSPACE 
INSTALLLOGMODE_ACTIONSTART 
INSTALLLOGMODE_ACTIONDATA 
INSTALLLOGMODE_PROGRESS 
INSTALLLOGMODE_PROPERTYDUMP 
INSTALLLOGMODE_COMMONDATA 
INSTALLLOGMODE_INITIALIZE 
INSTALLLOGMODE_VERBOSE 
INSTALLLOGMODE_TERMINATE 
INSTALLLOGMODE_EXTRADEBUG 
INSTALLLOGMODE_SHOWDIALOG 
INSTALLLOGMODE_RMFILESINUSE 
INSTALLLOGMODE_INSTALLSTART 
INSTALLLOGMODE_INSTALLEND 

Definition at line 129 of file msi.h.

130 {
134  INSTALLLOGMODE_USER = (1 << (INSTALLMESSAGE_USER >> 24)),
135  INSTALLLOGMODE_INFO = (1 << (INSTALLMESSAGE_INFO >> 24)),
enum tagINSTALLLOGMODE INSTALLLOGMODE

◆ tagINSTALLMESSAGE

Enumerator
INSTALLMESSAGE_FATALEXIT 
INSTALLMESSAGE_ERROR 
INSTALLMESSAGE_WARNING 
INSTALLMESSAGE_USER 
INSTALLMESSAGE_INFO 
INSTALLMESSAGE_FILESINUSE 
INSTALLMESSAGE_RESOLVESOURCE 
INSTALLMESSAGE_OUTOFDISKSPACE 
INSTALLMESSAGE_ACTIONSTART 
INSTALLMESSAGE_ACTIONDATA 
INSTALLMESSAGE_PROGRESS 
INSTALLMESSAGE_COMMONDATA 
INSTALLMESSAGE_INITIALIZE 
INSTALLMESSAGE_TERMINATE 
INSTALLMESSAGE_SHOWDIALOG 
INSTALLMESSAGE_RMFILESINUSE 
INSTALLMESSAGE_INSTALLSTART 
INSTALLMESSAGE_INSTALLEND 

Definition at line 92 of file msi.h.

93 {
95  INSTALLMESSAGE_ERROR = 0x01000000,
96  INSTALLMESSAGE_WARNING = 0x02000000,
97  INSTALLMESSAGE_USER = 0x03000000,
98  INSTALLMESSAGE_INFO = 0x04000000,
99  INSTALLMESSAGE_FILESINUSE = 0x05000000,
100  INSTALLMESSAGE_RESOLVESOURCE = 0x06000000,
101  INSTALLMESSAGE_OUTOFDISKSPACE = 0x07000000,
102  INSTALLMESSAGE_ACTIONSTART = 0x08000000,
103  INSTALLMESSAGE_ACTIONDATA = 0x09000000,
104  INSTALLMESSAGE_PROGRESS = 0x0a000000,
105  INSTALLMESSAGE_COMMONDATA = 0x0b000000,
106  INSTALLMESSAGE_INITIALIZE = 0x0c000000,
107  INSTALLMESSAGE_TERMINATE = 0x0d000000,
108  INSTALLMESSAGE_SHOWDIALOG = 0x0e000000,
109  INSTALLMESSAGE_RMFILESINUSE = 0x19000000,
110  INSTALLMESSAGE_INSTALLSTART = 0x1A000000,
111  INSTALLMESSAGE_INSTALLEND = 0x1B000000,
enum tagINSTALLMESSAGE INSTALLMESSAGE

◆ tagINSTALLMODE

Enumerator
INSTALLMODE_NODETECTION_ANY 
INSTALLMODE_NOSOURCERESOLUTION 
INSTALLMODE_NODETECTION 
INSTALLMODE_EXISTING 
INSTALLMODE_DEFAULT 

Definition at line 160 of file msi.h.

◆ tagINSTALLSTATE

Enumerator
INSTALLSTATE_NOTUSED 
INSTALLSTATE_BADCONFIG 
INSTALLSTATE_INCOMPLETE 
INSTALLSTATE_SOURCEABSENT 
INSTALLSTATE_MOREDATA 
INSTALLSTATE_INVALIDARG 
INSTALLSTATE_UNKNOWN 
INSTALLSTATE_BROKEN 
INSTALLSTATE_ADVERTISED 
INSTALLSTATE_ABSENT 
INSTALLSTATE_LOCAL 
INSTALLSTATE_SOURCE 
INSTALLSTATE_DEFAULT 

Definition at line 34 of file msi.h.

◆ tagINSTALLTYPE

Enumerator
INSTALLTYPE_DEFAULT 
INSTALLTYPE_NETWORK_IMAGE 
INSTALLTYPE_SINGLE_INSTANCE 

Definition at line 187 of file msi.h.

◆ tagINSTALLUILEVEL

Enumerator
INSTALLUILEVEL_NOCHANGE 
INSTALLUILEVEL_DEFAULT 
INSTALLUILEVEL_NONE 
INSTALLUILEVEL_BASIC 
INSTALLUILEVEL_REDUCED 
INSTALLUILEVEL_FULL 
INSTALLUILEVEL_HIDECANCEL 
INSTALLUILEVEL_PROGRESSONLY 
INSTALLUILEVEL_ENDDIALOG 
INSTALLUILEVEL_SOURCERESONLY 

Definition at line 62 of file msi.h.

◆ tagMSICODE

Enumerator
MSICODE_PRODUCT 
MSICODE_PATCH 

Definition at line 213 of file msi.h.

214 {
215  MSICODE_PRODUCT = 0x00000000L,
216  MSICODE_PATCH = 0x40000000L
217 } MSICODE;
enum tagMSICODE MSICODE
static const WCHAR L[]
Definition: oid.c:1250

◆ tagMSIINSTALLCONTEXT

Enumerator
MSIINSTALLCONTEXT_FIRSTVISIBLE 
MSIINSTALLCONTEXT_NONE 
MSIINSTALLCONTEXT_USERMANAGED 
MSIINSTALLCONTEXT_USERUNMANAGED 
MSIINSTALLCONTEXT_MACHINE 
MSIINSTALLCONTEXT_ALL 
MSIINSTALLCONTEXT_ALLUSERMANAGED 

Definition at line 194 of file msi.h.

◆ tagMSIPATCHDATATYPE

Enumerator
MSIPATCH_DATATYPE_PATCHFILE 
MSIPATCH_DATATYPE_XMLPATH 
MSIPATCH_DATATYPE_XMLBLOB 

Definition at line 234 of file msi.h.

235 {
enum tagMSIPATCHDATATYPE MSIPATCHDATATYPE
enum tagMSIPATCHDATATYPE * PMSIPATCHDATATYPE

◆ tagMSIPATCHSTATE

Enumerator
MSIPATCHSTATE_INVALID 
MSIPATCHSTATE_APPLIED 
MSIPATCHSTATE_SUPERSEDED 
MSIPATCHSTATE_OBSOLETED 
MSIPATCHSTATE_REGISTERED 
MSIPATCHSTATE_ALL 

Definition at line 51 of file msi.h.

◆ tagMSISOURCETYPE

Enumerator
MSISOURCETYPE_UNKNOWN 
MSISOURCETYPE_NETWORK 
MSISOURCETYPE_URL 
MSISOURCETYPE_MEDIA 

Definition at line 205 of file msi.h.

206 {
207  MSISOURCETYPE_UNKNOWN = 0x00000000L,
208  MSISOURCETYPE_NETWORK = 0x00000001L,
209  MSISOURCETYPE_URL = 0x00000002L,
210  MSISOURCETYPE_MEDIA = 0x00000004L
211 } MSISOURCETYPE;
static const WCHAR L[]
Definition: oid.c:1250
enum tagMSISOURCETYPE MSISOURCETYPE

◆ tagREINSTALLMODE

Enumerator
REINSTALLMODE_REPAIR 
REINSTALLMODE_FILEMISSING 
REINSTALLMODE_FILEOLDERVERSION 
REINSTALLMODE_FILEEQUALVERSION 
REINSTALLMODE_FILEEXACT 
REINSTALLMODE_FILEVERIFY 
REINSTALLMODE_FILEREPLACE 
REINSTALLMODE_MACHINEDATA 
REINSTALLMODE_USERDATA 
REINSTALLMODE_SHORTCUT 
REINSTALLMODE_PACKAGE 

Definition at line 114 of file msi.h.

◆ tagSCRIPTFLAGS

Enumerator
SCRIPTFLAGS_CACHEINFO 
SCRIPTFLAGS_SHORTCUTS 
SCRIPTFLAGS_MACHINEASSIGN 
SCRIPTFLAGS_REGDATA_APPINFO 
SCRIPTFLAGS_REGDATA_CNFGINFO 
SCRIPTFLAGS_VALIDATE_TRANSFORMS_LIST 
SCRIPTFLAGS_REGDATA_CLASSINFO 
SCRIPTFLAGS_REGDATA_EXTENSIONINFO 

Definition at line 175 of file msi.h.

◆ tagUSERINFOSTATE

Enumerator
USERINFOSTATE_MOREDATA 
USERINFOSTATE_INVALIDARG 
USERINFOSTATE_UNKNOWN 
USERINFOSTATE_ABSENT 
USERINFOSTATE_PRESENT 

Definition at line 76 of file msi.h.

Function Documentation

◆ MsiAdvertiseProductA()

UINT WINAPI MsiAdvertiseProductA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_opt_  LPCSTR,
_In_  LANGID 
)

◆ MsiAdvertiseProductExA()

UINT WINAPI MsiAdvertiseProductExA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_opt_  LPCSTR,
_In_  LANGID,
_In_  DWORD,
_In_  DWORD 
)

◆ MsiAdvertiseProductExW()

UINT WINAPI MsiAdvertiseProductExW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  LANGID,
_In_  DWORD,
_In_  DWORD 
)

◆ MsiAdvertiseProductW()

UINT WINAPI MsiAdvertiseProductW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  LANGID 
)

◆ MsiAdvertiseScriptA()

UINT WINAPI MsiAdvertiseScriptA ( _In_  LPCSTR,
_In_  DWORD,
_In_opt_  PHKEY,
_In_  BOOL 
)

◆ MsiAdvertiseScriptW()

UINT WINAPI MsiAdvertiseScriptW ( _In_  LPCWSTR,
_In_  DWORD,
_In_opt_  PHKEY,
_In_  BOOL 
)

◆ MsiApplyMultiplePatchesA()

UINT WINAPI MsiApplyMultiplePatchesA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_opt_  LPCSTR 
)

◆ MsiApplyMultiplePatchesW()

UINT WINAPI MsiApplyMultiplePatchesW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_opt_  LPCWSTR 
)

◆ MsiApplyPatchA()

UINT WINAPI MsiApplyPatchA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  INSTALLTYPE,
_In_opt_  LPCSTR 
)

◆ MsiApplyPatchW()

UINT WINAPI MsiApplyPatchW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  INSTALLTYPE,
_In_opt_  LPCWSTR 
)

◆ MsiBeginTransactionA()

UINT WINAPI MsiBeginTransactionA ( _In_  LPCSTR,
_In_  DWORD,
_Out_ MSIHANDLE ,
_Out_ HANDLE  
)

◆ MsiBeginTransactionW()

UINT WINAPI MsiBeginTransactionW ( _In_  LPCWSTR,
_In_  DWORD,
_Out_ MSIHANDLE ,
_Out_ HANDLE  
)

◆ MsiCloseAllHandles()

UINT WINAPI MsiCloseAllHandles ( void  )

Definition at line 326 of file handle.c.

327 {
328  UINT i, n=0;
329 
330  TRACE("\n");
331 
333  for(i=0; i<msihandletable_size; i++)
334  {
336  {
338  MsiCloseHandle( i+1 );
340  n++;
341  }
342  }
344 
345  return n;
346 }
GLdouble n
Definition: glext.h:7729
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static msi_handle_info * msihandletable
Definition: handle.c:66
DWORD WINAPI GetCurrentThreadId(VOID)
Definition: thread.c:458
#define TRACE(s)
Definition: solgame.cpp:4
DWORD dwThreadId
Definition: fdebug.c:31
UINT WINAPI MsiCloseHandle(MSIHANDLE handle)
Definition: handle.c:270
unsigned int UINT
Definition: ndis.h:50
static CRITICAL_SECTION MSI_handle_cs
Definition: handle.c:36
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
static unsigned int msihandletable_size
Definition: handle.c:67

Referenced by DllThread(), and ScriptThread().

◆ MsiCloseHandle()

UINT WINAPI MsiCloseHandle ( MSIHANDLE  )

Definition at line 270 of file handle.c.

271 {
274 
275  TRACE("%x\n",handle);
276 
277  if (!handle)
278  return ERROR_SUCCESS;
279 
281 
282  handle--;
284  goto out;
285 
286  if (msihandletable[handle].remote)
287  {
288  IUnknown_Release( msihandletable[handle].u.unk );
289  }
290  else
291  {
293  if( !info )
294  goto out;
295 
296  if( info->magic != MSIHANDLE_MAGIC )
297  {
298  ERR("Invalid handle!\n");
299  goto out;
300  }
301  }
302 
306 
307  ret = ERROR_SUCCESS;
308 
309  TRACE("handle %x destroyed\n", handle+1);
310 out:
312  if( info )
313  msiobj_release( info );
314 
315  return ret;
316 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
union msi_handle_info_t::@483 u
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED LPLOOKUPSERVICE_COMPLETION_ROUTINE HANDLE * handle
Definition: sock.c:82
#define ERROR_SUCCESS
Definition: deptool.c:10
#define ERROR_INVALID_HANDLE
Definition: compat.h:88
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
static msi_handle_info * msihandletable
Definition: handle.c:66
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
static FILE * out
Definition: regtests2xml.c:44
int msiobj_release(MSIOBJECTHDR *info)
Definition: handle.c:242
MSIOBJECTHDR * obj
Definition: handle.c:60
int ret
#define ERR(fmt,...)
Definition: debug.h:109
unsigned int UINT
Definition: ndis.h:50
static CRITICAL_SECTION MSI_handle_cs
Definition: handle.c:36
#define MSIHANDLE_MAGIC
Definition: msipriv.h:713
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
DWORD dwThreadId
Definition: handle.c:63
static unsigned int msihandletable_size
Definition: handle.c:67

Referenced by ACTION_CallDllFunction(), ACTION_CallScript(), add_custom_dll(), AutomationObject_Release(), create_database(), create_database_wordcount(), do_query(), find_entry(), find_entryW(), find_prop_in_property(), generate_transform(), get_column_info(), get_columns_table_type(), get_integer(), get_patch_product_codes(), get_string(), helper_createpackage(), mrd_Release(), mrp_Release(), MSI_ProcessMessageVerbatim(), msi_publish_product_properties(), MsiCloseAllHandles(), MsiCollectUserInfoA(), MsiCollectUserInfoW(), MsiVerifyPackageW(), ok_(), package_from_db(), query_file_path(), run_query(), run_queryW(), set_admin_summary_info(), set_suminfo(), set_suminfo_prop(), set_summary_dword(), set_summary_info(), set_summary_str(), set_transform_summary_info(), test_access(), test_alter(), test_appsearch(), test_appsearch_complocator(), test_appsearch_drlocator(), test_appsearch_inilocator(), test_appsearch_reglocator(), test_binary(), test_binary_import(), test_carriagereturn(), test_ccpsearch(), test_collation(), test_columnorder(), test_complocator(), test_condition(), test_controlevent(), test_createpackage(), test_createtable(), test_dbmerge(), test_dbtopackage(), test_defaultdatabase(), test_deleterow(), test_doaction(), test_droptable(), test_embedded_nulls(), test_emptypackage(), test_externalui(), test_externalui_message(), test_featureparents(), test_fieldzero(), test_forcecodepage(), test_formatrecord(), test_formatrecord2(), test_formatrecord_tables(), test_getcolinfo(), test_getproperty(), test_gettargetpath_bad(), test_handle_limit(), test_icon_table(), test_insertorder(), test_installprops(), test_int_widths(), test_integers(), test_join(), test_launchconditions(), test_longstrings(), test_markers(), test_msibadqueries(), test_msidatabase(), test_MsiDatabaseCommit(), test_MsiEnumComponentCosts(), test_msiexport(), test_MsiGetFeatureInfo(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_msiimport(), test_msiinsert(), test_MsiOpenDatabase(), test_MsiOpenProduct(), test_msipackage(), test_msirecord(), test_MsiRecordGetInteger(), test_MsiRecordGetString(), test_MsiSetComponentState(), test_MsiSetFeatureAttributes(), test_MsiSetProperty(), test_noquotes(), test_order(), test_packagecoltypes(), test_property_table(), test_props(), test_quotes(), test_removefiles(), test_rows_order(), test_select_column_names(), test_select_markers(), test_select_with_tablenames(), test_settargetpath(), test_shortlongsource(), test_simple_patch(), test_sourcedir(), test_special_tables(), test_states(), test_storages_table(), test_streamtable(), test_stringtable(), test_suminfo(), test_suminfo_import(), test_summary_binary(), test_system_tables(), test_tables_order(), test_temporary_table(), test_top_level_action(), test_try_transform(), test_update(), test_viewgetcolumninfo(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete(), test_viewmodify_delete_temporary(), test_viewmodify_refresh(), test_viewmodify_update(), test_where(), test_where_not_in_selected(), test_where_viewmodify(), try_insert_query(), try_query_param(), and write_msi_summary_info().

◆ MsiCollectUserInfoA()

UINT WINAPI MsiCollectUserInfoA ( _In_  LPCSTR)

◆ MsiCollectUserInfoW()

UINT WINAPI MsiCollectUserInfoW ( _In_  LPCWSTR)

◆ MsiConfigureFeatureA()

UINT WINAPI MsiConfigureFeatureA ( _In_  LPCSTR,
_In_  LPCSTR,
_In_  INSTALLSTATE 
)

◆ MsiConfigureFeatureW()

UINT WINAPI MsiConfigureFeatureW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_In_  INSTALLSTATE 
)

◆ MsiConfigureProductA()

UINT WINAPI MsiConfigureProductA ( _In_  LPCSTR,
_In_ int  ,
_In_  INSTALLSTATE 
)

◆ MsiConfigureProductExA()

UINT WINAPI MsiConfigureProductExA ( _In_  LPCSTR,
_In_ int  ,
_In_  INSTALLSTATE,
_In_opt_  LPCSTR 
)

◆ MsiConfigureProductExW()

UINT WINAPI MsiConfigureProductExW ( _In_  LPCWSTR,
_In_ int  ,
_In_  INSTALLSTATE,
_In_opt_  LPCWSTR 
)

◆ MsiConfigureProductW()

UINT WINAPI MsiConfigureProductW ( _In_  LPCWSTR,
_In_ int  ,
_In_  INSTALLSTATE 
)

◆ MsiDatabaseMergeA()

UINT WINAPI MsiDatabaseMergeA ( MSIHANDLE  ,
MSIHANDLE  ,
LPCSTR   
)

Definition at line 1266 of file database.c.

1268 {
1269  UINT r;
1270  LPWSTR table;
1271 
1272  TRACE("(%d, %d, %s)\n", hDatabase, hDatabaseMerge,
1273  debugstr_a(szTableName));
1274 
1275  table = strdupAtoW(szTableName);
1276  r = MsiDatabaseMergeW(hDatabase, hDatabaseMerge, table);
1277 
1278  msi_free(table);
1279  return r;
1280 }
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
UINT WINAPI MsiDatabaseMergeW(MSIHANDLE hDatabase, MSIHANDLE hDatabaseMerge, LPCWSTR szTableName)
Definition: database.c:1937
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glext.h:5644
#define TRACE(s)
Definition: solgame.cpp:4
#define debugstr_a
Definition: kernel32.h:31
unsigned int UINT
Definition: ndis.h:50
static BOOL msi_free(void *mem)
Definition: msipriv.h:1227
WCHAR * LPWSTR
Definition: xmlstorage.h:184
static WCHAR * strdupAtoW(const char *str)
Definition: main.c:65

Referenced by test_dbmerge().

◆ MsiDatabaseMergeW()

UINT WINAPI MsiDatabaseMergeW ( MSIHANDLE  ,
MSIHANDLE  ,
LPCWSTR   
)

Definition at line 1937 of file database.c.

1939 {
1940  struct list tabledata = LIST_INIT(tabledata);
1941  struct list *item, *cursor;
1942  MSIDATABASE *db, *merge;
1943  MERGETABLE *table;
1944  BOOL conflicts;
1945  UINT r;
1946 
1947  TRACE("(%d, %d, %s)\n", hDatabase, hDatabaseMerge,
1948  debugstr_w(szTableName));
1949 
1950  if (szTableName && !*szTableName)
1951  return ERROR_INVALID_TABLE;
1952 
1953  db = msihandle2msiinfo(hDatabase, MSIHANDLETYPE_DATABASE);
1954  merge = msihandle2msiinfo(hDatabaseMerge, MSIHANDLETYPE_DATABASE);
1955  if (!db || !merge)
1956  {
1958  goto done;
1959  }
1960 
1961  r = gather_merge_data(db, merge, &tabledata);
1962  if (r != ERROR_SUCCESS)
1963  goto done;
1964 
1965  conflicts = FALSE;
1966  LIST_FOR_EACH_ENTRY(table, &tabledata, MERGETABLE, entry)
1967  {
1968  if (table->numconflicts)
1969  {
1970  conflicts = TRUE;
1971 
1972  r = update_merge_errors(db, szTableName, table->name,
1973  table->numconflicts);
1974  if (r != ERROR_SUCCESS)
1975  break;
1976  }
1977  else
1978  {
1979  r = merge_table(db, table);
1980  if (r != ERROR_SUCCESS)
1981  break;
1982  }
1983  }
1984 
1985  LIST_FOR_EACH_SAFE(item, cursor, &tabledata)
1986  {
1988  list_remove(&table->entry);
1990  }
1991 
1992  if (conflicts)
1994 
1995 done:
1996  msiobj_release(&db->hdr);
1997  msiobj_release(&merge->hdr);
1998  return r;
1999 }
#define LIST_FOR_EACH_SAFE(cursor, cursor2, list)
Definition: list.h:192
#define TRUE
Definition: types.h:120
#define ERROR_SUCCESS
Definition: deptool.c:10
static UINT merge_table(MSIDATABASE *db, MERGETABLE *table)
Definition: database.c:1865
const WCHAR * name
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
#define ERROR_INVALID_HANDLE
Definition: compat.h:88
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glext.h:5644
#define MSIHANDLETYPE_DATABASE
Definition: msipriv.h:699
static UINT update_merge_errors(MSIDATABASE *db, LPCWSTR error, LPWSTR table, DWORD numconflicts)
Definition: database.c:1895
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
Definition: list.h:198
#define ERROR_FUNCTION_FAILED
Definition: winerror.h:985
unsigned int BOOL
Definition: ntddk_ex.h:94
_STLP_MOVE_TO_STD_NAMESPACE _OutputIter merge(_InputIter1 __first1, _InputIter1 __last1, _InputIter2 __first2, _InputIter2 __last2, _OutputIter __result)
Definition: _algo.c:1419
#define debugstr_w
Definition: kernel32.h:32
struct list entry
__WINE_SERVER_LIST_INLINE void list_remove(struct list *elem)
Definition: list.h:108
#define TRACE(s)
Definition: solgame.cpp:4
#define LIST_INIT(head)
Definition: queue.h:197
int msiobj_release(MSIOBJECTHDR *info)
Definition: handle.c:242
uint32_t entry
Definition: isohybrid.c:63
Definition: _list.h:228
#define ERROR_INVALID_TABLE
Definition: winerror.h:986
static ATOM item
Definition: dde.c:856
const char cursor[]
Definition: icontest.c:13
static void free_merge_table(MERGETABLE *table)
Definition: database.c:1707
static UINT gather_merge_data(MSIDATABASE *db, MSIDATABASE *merge, struct list *tabledata)
Definition: database.c:1843
unsigned int UINT
Definition: ndis.h:50
#define LIST_ENTRY(type)
Definition: queue.h:175
void * msihandle2msiinfo(MSIHANDLE handle, UINT type)
Definition: handle.c:157
MSIOBJECTHDR hdr
Definition: msipriv.h:97

Referenced by MsiDatabaseMergeA().

◆ MsiDetermineApplicablePatchesA()

UINT WINAPI MsiDetermineApplicablePatchesA ( _In_  LPCSTR,
_In_ DWORD  cPatchInfo,
_Inout_updates_(cPatchInfo)  PMSIPATCHSEQUENCEINFOA 
)

◆ MsiDetermineApplicablePatchesW()

UINT WINAPI MsiDetermineApplicablePatchesW ( _In_  LPCWSTR,
_In_ DWORD  cPatchInfo,
_Inout_updates_(cPatchInfo)  PMSIPATCHSEQUENCEINFOW 
)

◆ MsiDeterminePatchSequenceA()

UINT WINAPI MsiDeterminePatchSequenceA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_ DWORD  cPatchInfo,
_Inout_updates_(cPatchInfo)  PMSIPATCHSEQUENCEINFOA 
)

◆ MsiDeterminePatchSequenceW()

UINT WINAPI MsiDeterminePatchSequenceW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_ DWORD  cPatchInfo,
_Inout_updates_(cPatchInfo)  PMSIPATCHSEQUENCEINFOW 
)

◆ MsiEnableLogA()

UINT WINAPI MsiEnableLogA ( _In_  DWORD,
_In_opt_  LPCSTR,
_In_  DWORD 
)

◆ MsiEnableLogW()

UINT WINAPI MsiEnableLogW ( _In_  DWORD,
_In_opt_  LPCWSTR,
_In_  DWORD 
)

◆ MsiEndTransaction()

UINT WINAPI MsiEndTransaction ( _In_  DWORD)

◆ MsiEnumClientsA()

UINT WINAPI MsiEnumClientsA ( _In_  LPCSTR,
_In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPSTR 
)

◆ MsiEnumClientsW()

UINT WINAPI MsiEnumClientsW ( _In_  LPCWSTR,
_In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPWSTR 
)

◆ MsiEnumComponentCostsA()

UINT WINAPI MsiEnumComponentCostsA ( MSIHANDLE  ,
LPCSTR  ,
DWORD  ,
INSTALLSTATE  ,
LPSTR  ,
LPDWORD  ,
LPINT  ,
LPINT   
)

◆ MsiEnumComponentCostsW()

UINT WINAPI MsiEnumComponentCostsW ( MSIHANDLE  ,
LPCWSTR  ,
DWORD  ,
INSTALLSTATE  ,
LPWSTR  ,
LPDWORD  ,
LPINT  ,
LPINT   
)

◆ MsiEnumComponentQualifiersA()

UINT WINAPI MsiEnumComponentQualifiersA ( _In_  LPCSTR,
_In_  DWORD,
_Out_writes_ *pcchQualifierBuf  LPSTR,
_Inout_ LPDWORD  pcchQualifierBuf,
_Out_writes_opt_ *pcchApplicationDataBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchApplicationDataBuf 
)

◆ MsiEnumComponentQualifiersW()

UINT WINAPI MsiEnumComponentQualifiersW ( _In_  LPCWSTR,
_In_  DWORD,
_Out_writes_ *pcchQualifierBuf  LPWSTR,
_Inout_ LPDWORD  pcchQualifierBuf,
_Out_writes_opt_ *pcchApplicationDataBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchApplicationDataBuf 
)

◆ MsiEnumComponentsA()

UINT WINAPI MsiEnumComponentsA ( _In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPSTR 
)

◆ MsiEnumComponentsExA()

UINT WINAPI MsiEnumComponentsExA ( _In_opt_  LPCSTR,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_(MAX_GUID_CHARS+1)  CHAR[39],
_Out_opt_ MSIINSTALLCONTEXT ,
_Out_writes_opt_ *pcchSid  LPSTR,
_Inout_opt_ LPDWORD  pcchSid 
)

◆ MsiEnumComponentsExW()

UINT WINAPI MsiEnumComponentsExW ( _In_opt_  LPCWSTR,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_(MAX_GUID_CHARS+1)  WCHAR[39],
_Out_opt_ MSIINSTALLCONTEXT ,
_Out_writes_opt_ *pcchSid  LPWSTR,
_Inout_opt_ LPDWORD  pcchSid 
)

◆ MsiEnumComponentsW()

UINT WINAPI MsiEnumComponentsW ( _In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPWSTR 
)

◆ MsiEnumFeaturesA()

UINT WINAPI MsiEnumFeaturesA ( _In_  LPCSTR,
_In_  DWORD,
_Out_writes_(MAX_FEATURE_CHARS+1)  LPSTR,
_Out_writes_opt_(MAX_FEATURE_CHARS+1)  LPSTR 
)

◆ MsiEnumFeaturesW()

UINT WINAPI MsiEnumFeaturesW ( _In_  LPCWSTR,
_In_  DWORD,
_Out_writes_(MAX_FEATURE_CHARS+1)  LPWSTR,
_Out_writes_opt_(MAX_FEATURE_CHARS+1)  LPWSTR 
)

◆ MsiEnumPatchesA()

UINT WINAPI MsiEnumPatchesA ( _In_  LPCSTR,
_In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPSTR,
_Out_writes_ *pcchTransformsBuf  LPSTR,
_Inout_ LPDWORD  pcchTransformsBuf 
)

◆ MsiEnumPatchesExA()

UINT WINAPI MsiEnumPatchesExA ( _In_opt_  LPCSTR,
_In_opt_  LPCSTR,
_In_  DWORD,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPSTR,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPSTR,
_Out_opt_ MSIINSTALLCONTEXT ,
_Out_writes_opt_ *pcchTargetUserSid  LPSTR,
_Inout_opt_ LPDWORD  pcchTargetUserSid 
)

◆ MsiEnumPatchesExW()

UINT WINAPI MsiEnumPatchesExW ( _In_opt_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  DWORD,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPWSTR,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPWSTR,
_Out_opt_ MSIINSTALLCONTEXT ,
_Out_writes_opt_ *pcchTargetUserSid  LPWSTR,
_Inout_opt_ LPDWORD  pcchTargetUserSid 
)

◆ MsiEnumPatchesW()

UINT WINAPI MsiEnumPatchesW ( _In_  LPCWSTR,
_In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPWSTR,
_Out_writes_ *pcchTransformsBuf  LPWSTR,
_Inout_ LPDWORD  pcchTransformsBuf 
)

◆ MsiEnumProductsA()

UINT WINAPI MsiEnumProductsA ( _In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPSTR 
)

◆ MsiEnumProductsExA()

UINT WINAPI MsiEnumProductsExA ( _In_opt_  LPCSTR,
_In_opt_  LPCSTR,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_(MAX_GUID_CHARS+1)  CHAR[39],
_Out_opt_ MSIINSTALLCONTEXT ,
_Out_writes_opt_ *pcchSid  LPSTR,
_Inout_opt_ LPDWORD  pcchSid 
)

◆ MsiEnumProductsExW()

UINT WINAPI MsiEnumProductsExW ( _In_opt_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_(MAX_GUID_CHARS+1)  WCHAR[39],
_Out_opt_ MSIINSTALLCONTEXT ,
_Out_writes_opt_ *pcchSid  LPWSTR,
_Inout_opt_ LPDWORD  pcchSid 
)

◆ MsiEnumProductsW()

UINT WINAPI MsiEnumProductsW ( _In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPWSTR 
)

◆ MsiEnumRelatedProductsA()

UINT WINAPI MsiEnumRelatedProductsA ( _In_  LPCSTR,
_Reserved_  DWORD,
_In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPSTR 
)

◆ MsiEnumRelatedProductsW()

UINT WINAPI MsiEnumRelatedProductsW ( _In_  LPCWSTR,
_Reserved_  DWORD,
_In_  DWORD,
_Out_writes_(MAX_GUID_CHARS+1)  LPWSTR 
)

◆ MsiGetComponentPathA()

INSTALLSTATE WINAPI MsiGetComponentPathA ( _In_  LPCSTR,
_In_  LPCSTR,
_Out_writes_opt_ *pcchBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchBuf 
)

◆ MsiGetComponentPathW()

INSTALLSTATE WINAPI MsiGetComponentPathW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_Out_writes_opt_ *pcchBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchBuf 
)

◆ MsiGetFeatureInfoA()

UINT WINAPI MsiGetFeatureInfoA ( _In_  MSIHANDLE,
_In_  LPCSTR,
_Out_opt_  LPDWORD,
_Out_writes_opt_ *pcchTitleBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchTitleBuf,
_Out_writes_opt_ *pcchHelpBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchHelpBuf 
)

◆ MsiGetFeatureInfoW()

UINT WINAPI MsiGetFeatureInfoW ( _In_  MSIHANDLE,
_In_  LPCWSTR,
_Out_opt_  LPDWORD,
_Out_writes_opt_ *pcchTitleBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchTitleBuf,
_Out_writes_opt_ *pcchHelpBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchHelpBuf 
)

◆ MsiGetFeatureUsageA()

UINT WINAPI MsiGetFeatureUsageA ( _In_  LPCSTR,
_In_  LPCSTR,
_Out_opt_  LPDWORD,
_Out_opt_  LPWORD 
)

◆ MsiGetFeatureUsageW()

UINT WINAPI MsiGetFeatureUsageW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_Out_opt_  LPDWORD,
_Out_opt_  LPWORD 
)

◆ MsiGetFileHashA()

UINT WINAPI MsiGetFileHashA ( _In_  LPCSTR,
_In_  DWORD,
_Inout_  PMSIFILEHASHINFO 
)

◆ MsiGetFileHashW()

UINT WINAPI MsiGetFileHashW ( _In_  LPCWSTR,
_In_  DWORD,
_Inout_  PMSIFILEHASHINFO 
)

◆ MsiGetFileSignatureInformationA()

HRESULT WINAPI MsiGetFileSignatureInformationA ( _In_  LPCSTR,
_In_  DWORD,
_Outptr_ PCCERT_CONTEXT ,
_Out_writes_bytes_opt_ *pcbHashData  LPBYTE,
_Inout_opt_ LPDWORD  pcbHashData 
)

◆ MsiGetFileSignatureInformationW()

HRESULT WINAPI MsiGetFileSignatureInformationW ( _In_  LPCWSTR,
_In_  DWORD,
_Outptr_ PCCERT_CONTEXT ,
_Out_writes_bytes_opt_ *pcbHashData  LPBYTE,
_Inout_opt_ LPDWORD  pcbHashData 
)

◆ MsiGetFileVersionA()

UINT WINAPI MsiGetFileVersionA ( _In_  LPCSTR,
_Out_writes_opt_ *pcchVersionBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchVersionBuf,
_Out_writes_opt_ *pcchLangBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchLangBuf 
)

◆ MsiGetFileVersionW()

UINT WINAPI MsiGetFileVersionW ( _In_  LPCWSTR,
_Out_writes_opt_ *pcchVersionBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchVersionBuf,
_Out_writes_opt_ *pcchLangBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchLangBuf 
)

◆ MsiGetPatchInfoA()

UINT WINAPI MsiGetPatchInfoA ( _In_  LPCSTR,
_In_  LPCSTR,
_Out_writes_opt_ *pcchValueBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchValueBuf 
)

◆ MsiGetPatchInfoExA()

UINT WINAPI MsiGetPatchInfoExA ( _In_  LPCSTR,
_In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCSTR,
_Out_writes_opt_ *pcchValue  LPSTR,
_Inout_opt_ LPDWORD  pcchValue 
)

◆ MsiGetPatchInfoExW()

UINT WINAPI MsiGetPatchInfoExW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCWSTR,
_Out_writes_opt_ *pcchValue  LPWSTR,
_Inout_opt_ LPDWORD  pcchValue 
)

◆ MsiGetPatchInfoW()

UINT WINAPI MsiGetPatchInfoW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_Out_writes_opt_ *pcchValueBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchValueBuf 
)

◆ MsiGetProductCodeA()

UINT WINAPI MsiGetProductCodeA ( _In_  LPCSTR,
_Out_writes_(MAX_GUID_CHARS+1)  LPSTR 
)

◆ MsiGetProductCodeW()

UINT WINAPI MsiGetProductCodeW ( _In_  LPCWSTR,
_Out_writes_(MAX_GUID_CHARS+1)  LPWSTR 
)

◆ MsiGetProductInfoA()

UINT WINAPI MsiGetProductInfoA ( _In_  LPCSTR,
_In_  LPCSTR,
_Out_writes_opt_ *pcchValueBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchValueBuf 
)

◆ MsiGetProductInfoExA()

UINT WINAPI MsiGetProductInfoExA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCSTR,
_Out_writes_opt_ *pcchValue  LPSTR,
_Inout_opt_ LPDWORD  pcchValue 
)

◆ MsiGetProductInfoExW()

UINT WINAPI MsiGetProductInfoExW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCWSTR,
_Out_writes_opt_ *pcchValue  LPWSTR,
_Inout_opt_ LPDWORD  pcchValue 
)

◆ MsiGetProductInfoW()

UINT WINAPI MsiGetProductInfoW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_Out_writes_opt_ *pcchValueBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchValueBuf 
)

◆ MsiGetProductPropertyA()

UINT WINAPI MsiGetProductPropertyA ( _In_  MSIHANDLE,
_In_  LPCSTR,
_Out_writes_opt_ *pcchValueBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchValueBuf 
)

◆ MsiGetProductPropertyW()

UINT WINAPI MsiGetProductPropertyW ( _In_  MSIHANDLE,
_In_  LPCWSTR,
_Out_writes_opt_ *pcchValueBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchValueBuf 
)

◆ MsiGetShortcutTargetA()

UINT WINAPI MsiGetShortcutTargetA ( _In_  LPCSTR,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPSTR,
_Out_writes_opt_(MAX_FEATURE_CHARS+1)  LPSTR,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPSTR 
)

◆ MsiGetShortcutTargetW()

UINT WINAPI MsiGetShortcutTargetW ( _In_  LPCWSTR,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPWSTR,
_Out_writes_opt_(MAX_FEATURE_CHARS+1)  LPWSTR,
_Out_writes_opt_(MAX_GUID_CHARS+1)  LPWSTR 
)

◆ MsiGetUserInfoA()

USERINFOSTATE WINAPI MsiGetUserInfoA ( _In_  LPCSTR,
_Out_writes_opt_ *pcchUserNameBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchUserNameBuf,
_Out_writes_opt_ *pcchOrgNameBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchOrgNameBuf,
_Out_writes_opt_ *pcchSerialBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchSerialBuf 
)

◆ MsiGetUserInfoW()

USERINFOSTATE WINAPI MsiGetUserInfoW ( _In_  LPCWSTR,
_Out_writes_opt_ *pcchUserNameBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchUserNameBuf,
_Out_writes_opt_ *pcchOrgNameBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchOrgNameBuf,
_Out_writes_opt_ *pcchSerialBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchSerialBuf 
)

◆ MsiInstallMissingComponentA()

UINT WINAPI MsiInstallMissingComponentA ( _In_  LPCSTR,
_In_  LPCSTR,
_In_  INSTALLSTATE 
)

◆ MsiInstallMissingComponentW()

UINT WINAPI MsiInstallMissingComponentW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_In_  INSTALLSTATE 
)

◆ MsiInstallProductA()

UINT WINAPI MsiInstallProductA ( _In_  LPCSTR,
_In_opt_  LPCSTR 
)

◆ MsiInstallProductW()

UINT WINAPI MsiInstallProductW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR 
)

◆ MsiIsProductElevatedA()

UINT WINAPI MsiIsProductElevatedA ( _In_  LPCSTR,
_Out_ BOOL  
)

◆ MsiIsProductElevatedW()

UINT WINAPI MsiIsProductElevatedW ( _In_  LPCWSTR,
_Out_ BOOL  
)

◆ MsiLocateComponentA()

INSTALLSTATE WINAPI MsiLocateComponentA ( _In_  LPCSTR,
_Out_writes_opt_ *pcchBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchBuf 
)

◆ MsiLocateComponentW()

INSTALLSTATE WINAPI MsiLocateComponentW ( _In_  LPCWSTR,
_Out_writes_opt_ *pcchBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchBuf 
)

◆ MsiMessageBoxA()

UINT WINAPI MsiMessageBoxA ( HWND  ,
LPCSTR  ,
LPCSTR  ,
UINT  ,
WORD  ,
DWORD   
)

Definition at line 2487 of file msi.c.

2489 {
2490  FIXME("%p %s %s %u %08x %08x\n", hWnd, debugstr_a(lpText), debugstr_a(lpCaption),
2491  uType, wLanguageId, f);
2492  return MessageBoxExA(hWnd,lpText,lpCaption,uType,wLanguageId);
2493 }
HWND hWnd
Definition: settings.c:17
#define FIXME(fmt,...)
Definition: debug.h:110
GLfloat f
Definition: glext.h:7540
int WINAPI MessageBoxExA(_In_opt_ HWND, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ UINT, _In_ WORD)
#define debugstr_a
Definition: kernel32.h:31

◆ MsiMessageBoxW()

UINT WINAPI MsiMessageBoxW ( HWND  ,
LPCWSTR  ,
LPCWSTR  ,
UINT  ,
WORD  ,
DWORD   
)

Definition at line 2495 of file msi.c.

2497 {
2498  FIXME("%p %s %s %u %08x %08x\n", hWnd, debugstr_w(lpText), debugstr_w(lpCaption),
2499  uType, wLanguageId, f);
2500  return MessageBoxExW(hWnd,lpText,lpCaption,uType,wLanguageId);
2501 }
HWND hWnd
Definition: settings.c:17
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
GLfloat f
Definition: glext.h:7540
int WINAPI MessageBoxExW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ UINT, _In_ WORD)

Referenced by ShowUsage().

◆ MsiOpenPackageA()

UINT WINAPI MsiOpenPackageA ( _In_  LPCSTR,
_Out_ MSIHANDLE  
)

◆ MsiOpenPackageExA()

UINT WINAPI MsiOpenPackageExA ( _In_  LPCSTR,
_In_  DWORD,
_Out_ MSIHANDLE  
)

◆ MsiOpenPackageExW()

UINT WINAPI MsiOpenPackageExW ( _In_  LPCWSTR,
_In_  DWORD,
_Out_ MSIHANDLE  
)

◆ MsiOpenPackageW()

UINT WINAPI MsiOpenPackageW ( _In_  LPCWSTR,
_Out_ MSIHANDLE  
)

◆ MsiOpenProductA()

UINT WINAPI MsiOpenProductA ( _In_  LPCSTR,
_Out_ MSIHANDLE  
)

◆ MsiOpenProductW()

UINT WINAPI MsiOpenProductW ( _In_  LPCWSTR,
_Out_ MSIHANDLE  
)

◆ MsiProvideAssemblyA()

UINT WINAPI MsiProvideAssemblyA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_ *pcchPathBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchPathBuf 
)

◆ MsiProvideAssemblyW()

UINT WINAPI MsiProvideAssemblyW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_ *pcchPathBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchPathBuf 
)

◆ MsiProvideComponentW()

UINT WINAPI MsiProvideComponentW ( LPCWSTR  ,
LPCWSTR  ,
LPCWSTR  ,
DWORD  ,
LPWSTR  ,
LPDWORD   
)

Definition at line 4320 of file msi.c.

4321 {
4323 
4324  TRACE("%s, %s, %s, %x, %p, %p\n", debugstr_w(product), debugstr_w(component), debugstr_w(feature), mode, buf, buflen);
4325 
4326  state = MsiQueryFeatureStateW( product, feature );
4327  TRACE("feature state: %d\n", state);
4328  switch (mode)
4329  {
4331  break;
4332 
4333  default:
4334  FIXME("mode %x not implemented\n", mode);
4335  return ERROR_INSTALL_FAILURE;
4336  }
4337 
4338  state = MsiGetComponentPathW( product, component, buf, buflen );
4339  TRACE("component state: %d\n", state);
4340  switch (state)
4341  {
4343  return ERROR_INVALID_PARAMETER;
4344 
4345  case INSTALLSTATE_MOREDATA:
4346  return ERROR_MORE_DATA;
4347 
4349  case INSTALLSTATE_LOCAL:
4350  case INSTALLSTATE_SOURCE:
4351  MsiUseFeatureW( product, feature );
4352  return ERROR_SUCCESS;
4353 
4354  default:
4355  TRACE("MsiGetComponentPathW returned %d\n", state);
4356  return ERROR_INSTALL_FAILURE;
4357  }
4358 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
INTERNETFEATURELIST feature
Definition: misc.c:1719
INSTALLSTATE WINAPI MsiQueryFeatureStateW(LPCWSTR szProduct, LPCWSTR szFeature)
Definition: msi.c:3118
INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR product, LPCWSTR comp, LPWSTR buf, LPDWORD buflen)
Definition: msi.c:2946
#define ERROR_SUCCESS
Definition: deptool.c:10
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
INSTALLSTATE WINAPI MsiUseFeatureW(LPCWSTR szProduct, LPCWSTR szFeature)
Definition: msi.c:3393
#define TRACE(s)
Definition: solgame.cpp:4
#define ERROR_INSTALL_FAILURE
Definition: winerror.h:961
static int state
Definition: maze.c:121
GLenum mode
Definition: glext.h:6217
#define ERROR_MORE_DATA
Definition: dderror.h:13
int INSTALLSTATE
Definition: msiserver.idl:35

Referenced by init_functionpointers(), and MsiProvideComponentA().

◆ MsiProvidedComponentA()

UINT WINAPI MsiProvidedComponentA ( LPCSTR  ,
LPCSTR  ,
LPCSTR  ,
DWORD  ,
LPSTR  ,
LPDWORD   
)

◆ MsiProvideQualifiedComponentA()

UINT WINAPI MsiProvideQualifiedComponentA ( _In_  LPCSTR,
_In_  LPCSTR,
_In_  DWORD,
_Out_writes_opt_ *pcchPathBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchPathBuf 
)

◆ MsiProvideQualifiedComponentExA()

UINT WINAPI MsiProvideQualifiedComponentExA ( _In_  LPCSTR,
_In_  LPCSTR,
_In_  DWORD,
_In_opt_  LPCSTR,
_Reserved_  DWORD,
_Reserved_  DWORD,
_Out_writes_opt_ *pcchPathBuf  LPSTR,
_Inout_opt_ LPDWORD  pcchPathBuf 
)

◆ MsiProvideQualifiedComponentExW()

UINT WINAPI MsiProvideQualifiedComponentExW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_In_  DWORD,
_In_opt_  LPCWSTR,
_Reserved_  DWORD,
_Reserved_  DWORD,
_Out_writes_opt_ *pcchPathBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchPathBuf 
)

◆ MsiProvideQualifiedComponentW()

UINT WINAPI MsiProvideQualifiedComponentW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_In_  DWORD,
_Out_writes_opt_ *pcchPathBuf  LPWSTR,
_Inout_opt_ LPDWORD  pcchPathBuf 
)

◆ MsiQueryComponentStateA()

UINT WINAPI MsiQueryComponentStateA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCSTR,
_Out_opt_ INSTALLSTATE  
)

◆ MsiQueryComponentStateW()

UINT WINAPI MsiQueryComponentStateW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCWSTR,
_Out_opt_ INSTALLSTATE  
)

◆ MsiQueryFeatureStateA()

INSTALLSTATE WINAPI MsiQueryFeatureStateA ( _In_  LPCSTR,
_In_  LPCSTR 
)

◆ MsiQueryFeatureStateExA()

UINT WINAPI MsiQueryFeatureStateExA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCSTR,
_Out_opt_ INSTALLSTATE  
)

◆ MsiQueryFeatureStateExW()

UINT WINAPI MsiQueryFeatureStateExW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  LPCWSTR,
_Out_opt_ INSTALLSTATE  
)

◆ MsiQueryFeatureStateW()

INSTALLSTATE WINAPI MsiQueryFeatureStateW ( _In_  LPCWSTR,
_In_  LPCWSTR 
)

◆ MsiQueryProductStateA()

INSTALLSTATE WINAPI MsiQueryProductStateA ( _In_  LPCSTR)

◆ MsiQueryProductStateW()

INSTALLSTATE WINAPI MsiQueryProductStateW ( _In_  LPCWSTR)

◆ MsiReinstallFeatureA()

UINT WINAPI MsiReinstallFeatureA ( _In_  LPCSTR,
_In_  LPCSTR,
_In_  DWORD 
)

◆ MsiReinstallFeatureW()

UINT WINAPI MsiReinstallFeatureW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_In_  DWORD 
)

◆ MsiReinstallProductA()

UINT WINAPI MsiReinstallProductA ( _In_  LPCSTR,
_In_  DWORD 
)

◆ MsiReinstallProductW()

UINT WINAPI MsiReinstallProductW ( _In_  LPCWSTR,
_In_  DWORD 
)

◆ MsiSetExternalUIA()

INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA ( _In_opt_  INSTALLUI_HANDLERA,
_In_  DWORD,
_In_opt_  LPVOID 
)

◆ MsiSetExternalUIRecord()

UINT WINAPI MsiSetExternalUIRecord ( _In_opt_  INSTALLUI_HANDLER_RECORD,
_In_  DWORD,
_In_opt_  LPVOID,
_Out_opt_  PINSTALLUI_HANDLER_RECORD 
)

◆ MsiSetExternalUIW()

INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW ( _In_opt_  INSTALLUI_HANDLERW,
_In_  DWORD,
_In_opt_  LPVOID 
)

◆ MsiSetInternalUI()

INSTALLUILEVEL WINAPI MsiSetInternalUI ( _In_  INSTALLUILEVEL,
_Inout_opt_ HWND  
)

◆ MsiSourceListAddMediaDiskA()

UINT WINAPI MsiSourceListAddMediaDiskA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  DWORD,
_In_opt_  LPCSTR,
_In_opt_  LPCSTR 
)

◆ MsiSourceListAddMediaDiskW()

UINT WINAPI MsiSourceListAddMediaDiskW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  DWORD,
_In_opt_  LPCWSTR,
_In_opt_  LPCWSTR 
)

◆ MsiSourceListAddSourceA()

UINT WINAPI MsiSourceListAddSourceA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_Reserved_  DWORD,
_In_  LPCSTR 
)

◆ MsiSourceListAddSourceExA()

UINT WINAPI MsiSourceListAddSourceExA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  LPCSTR,
_In_  DWORD 
)

◆ MsiSourceListAddSourceExW()

UINT WINAPI MsiSourceListAddSourceExW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  LPCWSTR,
_In_  DWORD 
)

◆ MsiSourceListAddSourceW()

UINT WINAPI MsiSourceListAddSourceW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_Reserved_  DWORD,
_In_  LPCWSTR 
)

◆ MsiSourceListClearAllA()

UINT WINAPI MsiSourceListClearAllA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_Reserved_  DWORD 
)

◆ MsiSourceListClearAllW()

UINT WINAPI MsiSourceListClearAllW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_Reserved_  DWORD 
)

◆ MsiSourceListClearSourceA()

UINT WINAPI MsiSourceListClearSourceA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  LPCSTR 
)

◆ MsiSourceListClearSourceW()

UINT WINAPI MsiSourceListClearSourceW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  LPCWSTR 
)

◆ MsiSourceListEnumMediaDisksA()

UINT WINAPI MsiSourceListEnumMediaDisksA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  DWORD,
_Out_opt_  LPDWORD,
_Out_writes_opt_ *pcchVolumeLabel  LPSTR,
_Inout_opt_ LPDWORD  pcchVolumeLabel,
_Out_writes_opt_ *pcchDiskPrompt  LPSTR,
_Inout_opt_ LPDWORD  pcchDiskPrompt 
)

◆ MsiSourceListEnumMediaDisksW()

UINT WINAPI MsiSourceListEnumMediaDisksW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  DWORD,
_Out_opt_  LPDWORD,
_Out_writes_opt_ *pcchVolumeLabel  LPWSTR,
_Inout_opt_ LPDWORD  pcchVolumeLabel,
_Out_writes_opt_ *pcchDiskPrompt  LPWSTR,
_Inout_opt_ LPDWORD  pcchDiskPrompt 
)

◆ MsiSourceListEnumSourcesA()

UINT WINAPI MsiSourceListEnumSourcesA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_ *pcchSource  LPSTR,
_Inout_opt_ LPDWORD  pcchSource 
)

◆ MsiSourceListEnumSourcesW()

UINT WINAPI MsiSourceListEnumSourcesW ( _In_  LPCWSTR,
_In_opt_  LPCWSTR,
_In_  MSIINSTALLCONTEXT,
_In_  DWORD,
_In_  DWORD,
_Out_writes_opt_ *pcchSource  LPWSTR,
_Inout_opt_ LPDWORD  pcchSource 
)

◆ MsiSourceListGetInfoA()

UINT WINAPI MsiSourceListGetInfoA ( _In_  LPCSTR,
_In_opt_  LPCSTR,
_In_  MSIINSTALLCONTEXT,