Vanara.PInvoke.Msi 4.0.0-beta2

Prefix Reserved
This is a prerelease version of Vanara.PInvoke.Msi.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.Msi --version 4.0.0-beta2                
NuGet\Install-Package Vanara.PInvoke.Msi -Version 4.0.0-beta2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.Msi" Version="4.0.0-beta2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Msi --version 4.0.0-beta2                
#r "nuget: Vanara.PInvoke.Msi, 4.0.0-beta2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.Msi as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.Msi&version=4.0.0-beta2&prerelease

// Install Vanara.PInvoke.Msi as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.Msi&version=4.0.0-beta2&prerelease                

Vanara

Vanara.PInvoke.Msi NuGet Package

Version Build status

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

What is Vanara?

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. If you're still running into problems, file an issue.

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
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vanara.PInvoke.Msi:

Package Downloads
Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Vanara.PInvoke.Msi:

Repository Stars
zhuxb711/RX-Explorer
一款优雅的UWP文件管理器 | An elegant UWP Explorer
Version Downloads Last updated
4.0.4 612 9/13/2024
4.0.3 399 8/5/2024
4.0.2 284 6/24/2024
4.0.1 477 4/30/2024
4.0.0 373 3/29/2024
4.0.0-beta2 160 1/22/2024
4.0.0-beta 134 11/20/2023
3.4.17 2,095 10/18/2023
3.4.16 1,102 8/7/2023
3.4.15 546 5/18/2023
3.4.14 360 4/15/2023
3.4.13 697 2/4/2023
3.4.12 541 1/15/2023
3.4.11 633 11/15/2022
3.4.10 679 10/25/2022
3.4.9 734 10/3/2022
3.4.8 748 9/16/2022
3.4.7 759 9/3/2022
3.4.6 842 8/7/2022
3.4.5 877 7/17/2022
3.4.4 811 7/5/2022
3.4.3 933 6/14/2022
3.4.2 975 5/13/2022
3.4.1 833 5/5/2022
3.4.0 1,014 3/14/2022
3.3.15 656 12/27/2021
3.3.14 934 10/26/2021
3.3.13 600 9/30/2021
3.3.12 625 8/30/2021
3.3.11 636 7/22/2021
3.3.10 684 6/4/2021
3.3.9 746 5/7/2021
3.3.8 843 4/7/2021
3.3.7 624 3/24/2021
3.3.6 538 3/19/2021
3.3.5 608 3/1/2021
3.3.4 564 2/11/2021
3.3.3 540 2/3/2021
3.3.2 582 1/21/2021
3.3.1 618 1/20/2021

Currently implements:

Functions
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

Structures
MSIFILEHASHINFO MSIHANDLE MSIPATCHSEQUENCEINFO