Microsoft KB Archive/306627

= INFO: Only C++ DLLs Supported in Windows Installer Custom Actions =

Article ID: 306627

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Windows Installer 1.1
 * Microsoft Windows Installer 1.2
 * Microsoft Windows Installer 2.0

-



This article was previously published under Q306627



SUMMARY
When you are using custom action types 1 or 17, which both call functions in .dll files, you must use a .dll file created in C++.



MORE INFORMATION
The Windows Installer engine does not support use of .dll files generated by Visual Basic because such files do not export their function name as does a C++ .dll file.

The Windows Installer engine does not support using .dlls generated by Visual Studio .Net because the Windows Installer is not able to retrieve function names from an assembly.

If you try to use an invalid .dll file in either a type 1 or type 17 custom action, you will receive the following error message:

Internal Error 2737

