开发者

Invoking custom actions in a x64 assembly with a setup project

开发者 https://www.devze.com 2023-03-18 06:58 出处:网络
I have a C# project targeted开发者_JS百科 for x64 platforms. This project includes a System.Configuration.Install.Installer implementing some custom actions to be invoked by a setup project (a VS2010

I have a C# project targeted开发者_JS百科 for x64 platforms. This project includes a System.Configuration.Install.Installer implementing some custom actions to be invoked by a setup project (a VS2010 MSI one).

When I run the installer in Win7 x64 it throws a BadImageFormatException. I guess this happens when the installer project is trying to load the x64 assembly containing the custom actions implementation.

I configured the setup project plataform as x64 but this problem makes me think the installer is still a 32bits executable.

Does anyone else came across with this kind of issue? Any sugestions to fix it?

Thank you.


It's a bit old, but perhaps this will help: http://blogs.msdn.com/b/heaths/archive/2006/02/01/64-bit-managed-custom-actions-with-visual-studio.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消