Error with Windows Installer … “Unable to get installer types”

前端 未结 5 708
花落未央
花落未央 2020-12-20 23:32

I\'m experiencing an error when using the windows installer to install an event source in a product I am deploying.

The error message I receive states the following

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-20 23:58

    I had exactly the same problem.

    I guess your program is referencing other DLLs which the installer install in the GAC or somewhere else outside of the application directory. You can't count on those DLLs being installed before your install action runs.

    Solution: Create a separate DLL for your install action and make sure that DLL does not reference any other DLL (directly or indirectly) that are not installed inside your application folder.

    BTW, if you can, switch to some other technology. I don't know which competitors are better, but if you do non-standard stuff, the VS install project will cause you nothing but trouble.

提交回复
热议问题