Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > .NET framework as Prerequisite (64-bit problem)
 

.NET framework as Prerequisite (64-bit problem)

Hey deployers,

I have a setup and deployment project where I specified .NET framework as a prerequisite (Ok...it was already selected by default). I specified target platform as x86 so that the application also runs on 64 bit platform as per Microsoft's "WOW64" stuff. My idea was to have a single installer package for both platforms but now I compromise to provide separate installers for each platform. But even this is not possible in case of 64 bit. I tried target platform as x64 for the setup project, so that .NET framework for 64-bit is downloaded.

The setup throws an error saying "This version of .NET framework is not supported on a 64 bit operating system". It is understandable. 'dotnetfx.exe' does not install on WinXP 64 bit. But isn't the installer supposed to look for the 64-bit .NET framework (NetFx64.exe)? There is no other option in the prerequisites dialog. Although MSDN documentation on the "prerequisites dialog"

http://msdn2.microsoft.com/en-us/library/7tx0bw8y(VS.80).aspx

claims it is possible to mention 64 bit framework as prerequisite (it goes as far as saying .NET Framework 2.0 (All platforms: x86, x64, IA64)), my VS 2005 does not show any such thing.

If anybody has encountered this before, please suggest a way.
Sorry for the long post.. Smile

Thanks & regards,
Stanley.
Stanley_S  Tuesday, June 19, 2007 6:44 PM

I apologize for the wrong information on the link.

VS2005 doesnt have .NETFramework 2.0 x64 bootstrapper package. The package that you see in prerequisites dialog box is x86 only.

However, in Next version of Visual studio codenamed Orcas, .NET Framework 3.5 bootstrapper package supports both x86 and x64 installs.

You candownload Beta1 prelease version here - http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx

Thanks,

Varun

Varun Gupta  Friday, June 22, 2007 12:13 AM

I apologize for the wrong information on the link.

VS2005 doesnt have .NETFramework 2.0 x64 bootstrapper package. The package that you see in prerequisites dialog box is x86 only.

However, in Next version of Visual studio codenamed Orcas, .NET Framework 3.5 bootstrapper package supports both x86 and x64 installs.

You candownload Beta1 prelease version here - http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx

Thanks,

Varun

Varun Gupta  Friday, June 22, 2007 12:13 AM

You can use google to search for other answers

Custom Search

More Threads

• Oneclick application web server IP address changed
• setup project installation problem
• c# SETUP PROBLEM
• Clickonce XNA and Vista
• How can I send my project to my friend through email?
• Setup Project - Customizing the User's Shell
• Compiler about .NET Setup Project~
• dot net setup and deployment projects custom install an exe file
• installer calling another installer
• Sneaky Way to get an EULA displayed for your clickonce application in VS2005