1.1 Setup fails on 2.0?

G

Grant Schenck

Hello,

Using VC 2003 with C# I built a 1.1 .NET app and an associated setup
application.

When my setup is run on a machine with .NET 2.0 installed it complains:

"This setup requires the .NET Framework version 1.1.4322. Please install
the .NET Framework and run this setup again. The .NET Framework can be
obtained from the web. Would you like to do this now?"

I'm confused. I'd assumed that 1.1 .NET apps could install on 2.0.

How should this work?

If I tell it to go ahead and get the 1.1.4322 version will it install that
along with 2.0? Can 1.1 and 2.0 run side by side?

However, better still I'd like my setup to NOT complain and use 2.0 without
requiring 1.1 be installed.

Thanks,
 
A

Alex Sofronie

My .NET 2.0 is the beta version and it is working very well side by side
with 1.1 version. Don't know about the compatibility, I assume that a mature
2.0 will have this issue implemented correctly.
 
G

Grant Schenck

Are you saying the reason my 1.1 app setup won't install on 2.0 is because
the 2.0 is a beta version? Is this a known issue with 2.0 betas? Will it
be fixed in the 2.0 release version?

Thanks!
 
J

Jeffrey Tan[MSFT]

Hi Grant,

Thanks for your post.

I think this problem is caused by that the Lauch condition of setup project
did not include .Net Framework2.0.
Go to the Launch Conditions Editor of the setup project and select the .NET
Framework launch condition. Edit the SupportedRuntimes property so that it
includes the 2.0 frameowrk, such as
1.1.4322;2.0.50727
(Note: modify this to your specific 2.0 Framework version)
Then your setup project may accept the .Net Framework2.0

Hope this helps

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
G

Grant Schenck

Thanks, I'll give that a try.

Do I need to do anything to the applications to allow them to run on 2.0
once I can get them installed?
 
J

Jeffrey Tan[MSFT]

Hi Grant,

Thanks for your feedback.

Yes, Whidbey has done a good backward compatibility to .Net1.1, and .Net1.1
application should work well on .Net2.0 Framework without any change. This
has been confirmed by the blog link below:
"Testing compatibility for Whidbey/Everett"
http://blogs.msdn.com/danielfe/archive/2003/12/03/51921.aspx

Hope this helps

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top