![Vanara](https://raw.githubusercontent.com/dahall/Vanara/master/docs/icons/VanaraHeading.png)
### **Vanara.PInvoke.Msi NuGet Package**
[![Version](https://img.shields.io/nuget/v/Vanara.PInvoke.Msi?label=NuGet&style=flat-square)](https://github.com/dahall/Vanara/releases)
[![Build status](https://img.shields.io/appveyor/build/dahall/vanara?label=AppVeyor%20build&style=flat-square)](https://ci.appveyor.com/project/dahall/vanara)

PInvoke API (methods, structures and constants) imported from Windows Msi.dll.

### **What is Vanara?**

[Vanara](https://github.com/dahall/Vanara) is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

### **Issues?**

First check if it's already fixed by trying the [AppVeyor build](https://ci.appveyor.com/nuget/vanara-prerelease).
If you're still running into problems, file an [issue](https://github.com/dahall/Vanara/issues).

### **Included in Vanara.PInvoke.Msi**

Functions | Enumerations | Structures
--- | --- | ---
MsiAdvertiseProduct MsiAdvertiseProductEx MsiAdvertiseScript MsiApplyMultiplePatches MsiApplyPatch MsiBeginTransaction MsiCloseAllHandles MsiCloseHandle MsiCollectUserInfo MsiConfigureFeature MsiConfigureProduct MsiConfigureProductEx MsiCreateRecord MsiCreateTransformSummaryInfo MsiDatabaseApplyTransform MsiDatabaseCommit MsiDatabaseExport MsiDatabaseGenerateTransform MsiDatabaseGetPrimaryKeys MsiDatabaseImport MsiDatabaseIsTablePersistent MsiDatabaseMerge MsiDatabaseOpenView MsiDetermineApplicablePatches MsiDeterminePatchSequence MsiDoAction MsiEnableLog MsiEnableUIPreview MsiEndTransaction MsiEnumClients MsiEnumClientsEx MsiEnumComponentCosts MsiEnumComponentQualifiers MsiEnumComponents MsiEnumComponentsEx MsiEnumFeatures MsiEnumPatches MsiEnumPatchesEx MsiEnumProducts MsiEnumProductsEx MsiEnumRelatedProducts MsiEvaluateCondition MsiExtractPatchXMLData MsiFormatRecord MsiGetActiveDatabase MsiGetComponentPath MsiGetComponentPathEx MsiGetComponentState MsiGetDatabaseState MsiGetFeatureCost MsiGetFeatureInfo MsiGetFeatureState MsiGetFeatureUsage MsiGetFeatureValidStates MsiGetFileHash MsiGetFileSignatureInformation MsiGetFileVersion MsiGetLanguage MsiGetLastErrorRecord MsiGetMode MsiGetPatchFileList MsiGetPatchInfo MsiGetPatchInfoEx MsiGetProductCode MsiGetProductInfo MsiGetProductInfoEx MsiGetProductInfoFromScript MsiGetProductProperty MsiGetProperty MsiGetShortcutTarget MsiGetSourcePath MsiGetSummaryInformation MsiGetTargetPath MsiGetUserInfo MsiInstallMissingComponent MsiInstallMissingFile MsiInstallProduct MsiIsProductElevated MsiJoinTransaction MsiLocateComponent MsiNotifySidChange MsiOpenDatabase MsiOpenPackage MsiOpenPackageEx MsiOpenProduct MsiPreviewBillboard MsiPreviewDialog MsiProcessAdvertiseScript MsiProcessMessage MsiProvideAssembly MsiProvideComponent MsiProvideQualifiedComponent MsiProvideQualifiedComponentEx MsiQueryComponentState MsiQueryFeatureState MsiQueryFeatureStateEx MsiQueryProductState MsiRecordClearData MsiRecordDataSize MsiRecordGetFieldCount MsiRecordGetInteger MsiRecordGetString MsiRecordIsNull MsiRecordReadStream MsiRecordSetInteger MsiRecordSetStream MsiRecordSetString MsiReinstallFeature MsiReinstallProduct MsiRemovePatches MsiSequence MsiSetComponentState MsiSetExternalUI MsiSetExternalUIRecord MsiSetFeatureAttributes MsiSetFeatureState MsiSetInstallLevel MsiSetInternalUI MsiSetMode MsiSetProperty MsiSetTargetPath MsiSourceListAddMediaDisk MsiSourceListAddSource MsiSourceListAddSourceEx MsiSourceListClearAll MsiSourceListClearAllEx MsiSourceListClearMediaDisk MsiSourceListClearSource MsiSourceListEnumMediaDisks MsiSourceListEnumSources MsiSourceListForceResolution MsiSourceListForceResolutionEx MsiSourceListGetInfo MsiSourceListSetInfo MsiSummaryInfoGetProperty MsiSummaryInfoGetPropertyCount MsiSummaryInfoPersist MsiSummaryInfoSetProperty MsiUseFeature MsiUseFeatureEx MsiVerifyDiskSpace MsiVerifyPackage MsiViewClose MsiViewExecute MsiViewFetch MsiViewGetColumnInfo MsiViewGetError MsiViewModify  | ADVERTISEFLAGS INSTALLFEATUREATTRIBUTE INSTALLLEVEL INSTALLLOGATTRIBUTES INSTALLLOGMODE INSTALLMODE INSTALLSTATE INSTALLTYPE INSTALLUILEVEL MSIADVERTISEOPTIONFLAGS MSIARCHITECTUREFLAGS MSIASSEMBLYINFO MSICODE MSIINSTALLCONTEXT MSIOPENPACKAGEFLAGS MSIPATCHDATATYPE MSIPATCHSTATE MSISIGINFO MSISOURCETYPE MSITRANSACTION MSITRANSACTIONSTATE REINSTALLMODE SCRIPTFLAGS USERINFOSTATE INSTALLMESSAGE MSICOLINFO MSICONDITION MSICOSTTREE MSIDBERROR MSIDBSTATE MSIMODIFY MSIRUNMODE MSITRANSFORM_ERROR MSITRANSFORM_VALIDATE                                                                                                                    | MSIFILEHASHINFO MSIHANDLE MSIPATCHSEQUENCEINFO                                                                                                                                                  
