64-bit deploy project does not produce 64-bit Framework prereq

Giganews Newsgroups
Subject: 64-bit deploy project does not produce 64-bit Framework prereq
Posted by:  Tim Werth (timmertimmertimmer@newsgroup.nospam)
Date: Thu, 7 Feb 2008

I have figured out my first problem.  In order to target 32-bit processors
and 64-bit processors, one has to have 2 separate vdproj projects.

I have a 32-bit app that requires the .NET Framework 2.0.  In order to
install on a 64-bit machine, the 64-bit version of the framework must be
installed.  As a test project, I created a new Setup & Deployment project in
VS2005.  I set the TargetPlatform to x64.  I set the prereqs were .NET
Framework 2.0, MDAC 2.8, and Windows Installer 3.1, and I selected the
"Download prerequisistes from the same location as my application."  If I run
the bootstrapper setup.exe that is generated, I still get "Prerequisite check
for system component .NET Framework 2.0 failed with the following error
message:
"This version of the .NET Framework 2.0 is not supported on a 64-bit
operating system. Contact your application vendor.""

So shouldn't VS2005 have put a 64-bit .NET Framework 2.0 along side my .MSI?
I do not see a 64-bit version of the framework under C:\Program
Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages.  How do I get
it there so it is an option in VS2005 as a prereq?  What am I doing wrong?

Thanks,
Tim

Replies