MSI Interop using MSIEnumRelatedProducts and MSIGetProductInfo

后端 未结 2 942
粉色の甜心
粉色の甜心 2021-01-16 06:34

Whilst working with the MSI Interop API I have come across some unusual behaviour which is causing my application to crash. It is simple enough to \'handle\' the problem bu

2条回答
  •  悲&欢浪女
    2021-01-16 07:21

    You should look at Windows Installer XML's Deployment Tools Foundation. It has a very mature MSI Interop ( Microsoft.Deployment.WindowsInstaller ) which will make writing and testing this code a lot easier.

    I see you already have WiX ( hopefully v3+ ) so look for it in the C:\Program Files\Windows Installer XML v3\SDK folder.

提交回复
热议问题