The solution, which retains an installer project, was recently converted from 2008 project to 2010.
However,开发者_开发知识库 attempts to run the .msi that is created returns the error
"Processor type not supported....
If you run the setup.exe, it will error that "the application is designed for a x64 platform but is being installed on an intel"
However, the configuration of the solution, is set to to Any CPU.
I am finding little in the way of possible solutions and have seen where people ran into this converting from 2003 - 2005.
Any suggestions?
Installer projects (assuming you mean the built in Visual Studio Installer stuff) don't expose their CPU type through the build/configuration system. Instead, there is a Target Platform
property of the project itself (select project in Solution Explorer, open Properties).
This property only supports x86
, x64
and Itanium
, so whatever it's currently set to, it isn't AnyCPU
.
精彩评论