Search code examples
visual-studio-201232bit-64bitsetup-projectinstallshield-2012merge-module

InstallShield giving ISEXP : error : -5008 when building setup project in VS 2012


I have .net project which I converted from VS 2010 to VS 2012. I am building a setup for the project through InstallShield Limited Edition but I get following error.

ISEXP : error : -5008: This 32-bit package cannot include 64-bit data. The 64-bit data may come from a merge module.

I have searched a lot but could not find any specific solution to my problem.

Any help will be appreciated.


Solution

  • I resolved this issue by removing the Visual C++ Runtime dependency on the project output. Here's how to do it:

    (2)Specify applicaiton data / Files / right click on the primary output / dependencies from scan at build

    There you can uncheck all dependencies that cause problem, Uncheck Visual C++ 10.0 CRT (x64)

    Source

    I also had a -6109 Internal Build error which was caused by a dependency. I just unchecked it there. It took me a whole business day to figure that cryptic stuff out. This is insane and frustrating for the least.