INFO: Only C++ DLLs Supported in Windows Installer Custom Actions (306627)



The information in this article 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

REFERENCES

For information on custom actions, see the Windows Installer SDK Documentation, which is available from the following Microsoft Web site:

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbinfo KB306627