Problem adding a c# reference to WindowsInstaller COM object

When browsing COM objects and trying to add a reference to Microsoft Windows Installer Object Library I got this error:

Capture

 

A reference to ‘Microsoft Windows Installer Object Library’ could not be added.

The solution was to add a reference to the file instead. Click browse and select this file:

%WINDIR%\system32\msi.dll

Leave a Reply