473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\Policy\Standards
\v1.1.4322]
"v2.0.50727"=dword:0000c627

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\Policy\Standards
\v2.0.31113]
"v2.0.50727"=dword: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 "Application 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 2119
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 supportedRuntime 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.googlegr oups.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_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\Policy\Standards
\v1.1.4322]
"v2.0.50727"=dword:0000c627

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\Policy\Standards
\v2.0.31113]
"v2.0.50727"=dword: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 "Application 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...@nospam.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 supportedRuntime 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
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...
3
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...
8
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...
2
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....
7
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...
1
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...
5
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...
11
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...
5
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.