473,569 Members | 2,790 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to install apps which require older .NET Framework?

I'm using Vista, which by default ships with .NET Runtime 3.0. I have
also installed VS 2005, which has both runtime and SDK for .NET 2.0.

Every now and then, I bump into applications which require older .NET
frameworks, such as 1.0 or 1.1. A nice trick I learned previously was
to monitor the setup for registry access (using a tool such as
"Process Monitor"). This showed me that such apps require a special
key in the registry which if set to correct value, you can set newer
frameworks to "act" as older ones. Here's an example:

[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\Policy\S tandards
\v1.1.4322]
"v2.0.50727"=dw ord:0000c627

[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\Policy\S tandards
\v2.0.31113]
"v2.0.50727"=dw ord:0000c627

Those two keys/values "tell" applications in need of frameworks
v1.1.4322 or v2.0.31113 to use v2.0.50727.

Such registry "hack" worked very good for me, but recently I
downloaded "Applicatio n Compatibility Toolkit" from microsoft, which
requires framework 1.1, and does not accept the hack.

My question is: How to tell the application to use newer frameworks?

(I want to install older frameworks as a last resort, and only in case
I'm assured that there's no alternative)

Jun 17 '07 #1
2 2132
I'm curious as to why you're so reluctant to just install the framework the
app needs, but anyway you don't really need a hack, you probably just need a
config file with a supportedRuntim e element.
http://msdn2.microsoft.com/en-us/library/9w519wzk.aspx
--
Phil Wilson
[Microsoft MVP-Windows Installer]

"Sadeq" <MS******@gmail .comwrote in message
news:11******** **************@ o61g2000hsh.goo glegroups.com.. .
I'm using Vista, which by default ships with .NET Runtime 3.0. I have
also installed VS 2005, which has both runtime and SDK for .NET 2.0.

Every now and then, I bump into applications which require older .NET
frameworks, such as 1.0 or 1.1. A nice trick I learned previously was
to monitor the setup for registry access (using a tool such as
"Process Monitor"). This showed me that such apps require a special
key in the registry which if set to correct value, you can set newer
frameworks to "act" as older ones. Here's an example:

[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\Policy\S tandards
\v1.1.4322]
"v2.0.50727"=dw ord:0000c627

[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\.NETFra mework\Policy\S tandards
\v2.0.31113]
"v2.0.50727"=dw ord:0000c627

Those two keys/values "tell" applications in need of frameworks
v1.1.4322 or v2.0.31113 to use v2.0.50727.

Such registry "hack" worked very good for me, but recently I
downloaded "Applicatio n Compatibility Toolkit" from microsoft, which
requires framework 1.1, and does not accept the hack.

My question is: How to tell the application to use newer frameworks?

(I want to install older frameworks as a last resort, and only in case
I'm assured that there's no alternative)

Jun 17 '07 #2
On Jun 17, 9:31 pm, "Phil Wilson" <pdjwil...@nosp am.cox.netwrote :
I'm curious as to why you're so reluctant to just install the framework the app needs
That's because I don't want to fill my hard disk with various
installed versions of .NET Framework, and don't want to keep many
dotnetfx.exe files, only the latest one.

And also, in my experience, I saw that newer .NET Frameworks run apps
compiled by older versions of .NET Framework like a charm.
>but anyway you don't really need a hack, you probably just need a
config file with a supportedRuntim e element.
http://msdn2.microsoft.com/en-us/library/9w519wzk.aspx
I think I can't apply this to MSI setup files. The setup checks for a
specific version of .NET framework, and does not allow me to install
the app b4 installing the older version of framework.

Jun 17 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1645
by: deko | last post by:
I'm confused about what I can use C# and VS.NET for. I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use? If I want to build a basic VB app, I assume I can use the VB 6 component in Visual Studio 6.0. But If I want to build a C# application - does that mean I have to use VS.NET? And if I do write an application in...
3
20651
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework SDK (English) is currently suspended. You must undo the changes made by that installation to continue. Do you want to undo those changes?
8
1645
by: Bf | last post by:
I was creating test projects using c# and was surprised that there seems to be only a form based windows applications available. Is it safe to assume that classic window applications that utilize a parent window with child windows can only be done in c++ and mfc and there's nothing else in .net that is meant to be used like that? It seems...
2
9621
by: Someone Please Help! | last post by:
I had Visual Studio .NET installed on my system for a while and then decided I would install a second copy of Windows 2000 on my second drive and use it strictly for developing Visual Basic apps. I reformatted and reinstalled Windows 2000 on my first and my second drives. On the second drive I tried to install Visual Studio .NET. Of course,...
7
1879
by: ichor | last post by:
hi, i have created a c# application. now i want to install it on another machine. what does the client machine need to have ? does it need the dotnet framework ? and anything else? and how do i make an installation setup? i used to use wise for vb apps. is there any thing for c# apps? thanx
1
2428
by: Philip Leduc | last post by:
Hi there, I am a MS Access VBA programmer trying to get my feet wet using VB.net / SQL server. I have SLQ 2000/visual studio 2003 loaded and did get a SQL2005/visual studio 2005 software through the MS launch. I am now wondering how to setup my laptop so I can use theh two sets together (not at the same time of course). I have also been...
5
2565
by: sumana | last post by:
Hi, I am new the the world of .Net. I want to install the latest version on .Net and work on ASP.NET using C# Could anyone guide me how I go about doing so, assuming that I will be installing this on a new system. What all do I need to install and what are the latest versions
11
1491
by: active | last post by:
If I install .NET Framework 3.0 what will happen to my VS2005 experience? Will it automatically use 3.0? Will I find new features available? Will the VS doc be updated? Thanks fir any info
5
1227
by: Cirene | last post by:
On our server we have .NET 1.0, 1.1 and 2.0 ASP.NET websites. I am creating a .NET 3.5 website. If my network guy installs the 3.5 FW, will the older apps still run ok? Is 3.5 fully backwards compatible with 1.0, 1.1 and 2.0 ASP.NET web apps? Thanks!
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.