473,770 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setup file looking for wrong .NET framework.

I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and
that was causing me a lot of grief. So I uninstalled v2.0 and pressed
on with developing stuff in v1.0. Everything was great. I wrote a whole
application. After completion I added a setup project. The setup
project builds fine. But when I try to install the application, it
gives me an error saying "This setup requires .NET framework." (Please
install it). I checked the Windows Event Viewer and it shows the
following error message which clearly shows that the setup file is
trying to look for v2.0 of dotnet framework. How do I make it look for
the correct version.

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 06/06/2006
Time: 3:32:02 PM
User: N/A
Computer: MIRSCP56579
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: Shim database version
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 doesn't have a matching
runtime directory.

(Oh and I didn't uninstall v2.0 properly; I renamed the folder a few
weeks back, and then forgot about it. When I uninstalled v2.0 using
Add/Remove Programs v2.0 disappeared from the Add/Remove Programs list,
but the renamed folder is still sitting there :S).

Asad

Jun 6 '06 #1
2 6329
Each time you start a managed application the default host is started. This
host has ability to determine which CLR version was used in building the
assembly. Host checks the registry for the version existence and delegates
call to the mscoree.dll.
Sounds like you've clobbered the mscoree ->CLR version process into thinking
you still have 2.0 installed, because you screwed up on uninstalling v2.0.

You could try deleting or renaming mscoree, reinstall .NET 1.1

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"as*******@gmai l.com" wrote:
I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and
that was causing me a lot of grief. So I uninstalled v2.0 and pressed
on with developing stuff in v1.0. Everything was great. I wrote a whole
application. After completion I added a setup project. The setup
project builds fine. But when I try to install the application, it
gives me an error saying "This setup requires .NET framework." (Please
install it). I checked the Windows Event Viewer and it shows the
following error message which clearly shows that the setup file is
trying to look for v2.0 of dotnet framework. How do I make it look for
the correct version.

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 06/06/2006
Time: 3:32:02 PM
User: N/A
Computer: MIRSCP56579
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: Shim database version
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 doesn't have a matching
runtime directory.

(Oh and I didn't uninstall v2.0 properly; I renamed the folder a few
weeks back, and then forgot about it. When I uninstalled v2.0 using
Add/Remove Programs v2.0 disappeared from the Add/Remove Programs list,
but the renamed folder is still sitting there :S).

Asad

Jun 6 '06 #2
Hello as*******@gmail .com,

Cross-posting is not a good way to get answers. I replyed in the dotnet.framewor k
group
I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and
that was causing me a lot of grief. So I uninstalled v2.0 and pressed
on with developing stuff in v1.0. Everything was great. I wrote a
whole application. After completion I added a setup project. The setup
project builds fine. But when I try to install the application, it
gives me an error saying "This setup requires .NET framework." (Please
install it). I checked the Windows Event Viewer and it shows the
following error message which clearly shows that the setup file is
trying to look for v2.0 of dotnet framework. How do I make it look for
the correct version.

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 06/06/2006
Time: 3:32:02 PM
User: N/A
Computer: MIRSCP56579
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: Shim database version
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 doesn't have a matching
runtime directory.
(Oh and I didn't uninstall v2.0 properly; I renamed the folder a few
weeks back, and then forgot about it. When I uninstalled v2.0 using
Add/Remove Programs v2.0 disappeared from the Add/Remove Programs
list, but the renamed folder is still sitting there :S).

Asad

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jun 6 '06 #3

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

Similar topics

1
4203
by: Wilson Ricardo Passos Oliveira | last post by:
Hi fellows, I have two simple questions regarding the Framework's deploy and the Setup and Deploy Projects: 1. As I've read in another posts and newsgroups (and as I can imagine), VS.NET IDE isn't capable of create a setup and deploy project and, in a elegant way, during the setup process, detect the absence of the Framework. In this case, I'd like to run the Dotnetredist.exe file, first, and the
1
1028
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables syncronization with remote database using merge replication. I found contradictory results while installing the application. I will mention here all the steps that I done while creating and installing setups. Result: Case 1: worked fine. ...
0
1944
by: Adam Clauss | last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having completed it, I am now looking to create a setup project and install it on another machine. I created a setup project and added it to my solution (selecting the "Primary Output" as the files to include from my project). However, when I attempt to build the setup project (assuming a clean output directory), I get "Unrecoverable build error" - and NO other...
2
3839
by: Dennis | last post by:
I have created a setup project and it works fine. However, it inlcudes a file "Dotnetfx.exe" which I have read is the installer for the required .net framework. I have read the documentation that is included in the MSDN but I think I am still confused! My question is then running the .msi file on a user's computer that does not have the .net framework required, will it be installed automatically. Some places I read says it will and some...
1
1469
by: Ghada Al-Mashaqbeh via DotNetMonster.com | last post by:
Hi all, As you know any .Net application when installed need .net framework to be installed on the target machine to run the application, I want to make a setup file for my application with the following two options: -- the setup file include the .net framework setup file, So my setup file will install the ,net framework if it is not installed on the target machine. -- My setup file also has the ability to install the .net framework form...
11
1615
by: Matt Fielder | last post by:
I'm writing a new install as a setup and deployment project. I have 3 pre-requisites set in the bootstrapper - Framework V2, SQL Express, Windows Installer 3.1. When the setup is launched, it immediately recognizes which items aren't installed and prompts with the appropriate license agreements for each product needed. What I need is to find a way to inform my users of what is happening before just flashing new EULA's in front of them -...
14
1466
by: =?Utf-8?B?R2F1cmF2?= | last post by:
Hi, I use the Setup project in C# to create a .msi file to be distributed to the clients. The size of .msi is 12 MB. This file works fine on all the target machines, but on the development machine every time I remove the existing .msi (from add/remove programs) and install a new version, the size increases by 13-14 MB. Since i have to install the .msi multiple times... this size increase is
6
5216
by: Srini | last post by:
Hi, I am facing a problem in localizing the setup file and .NET framework redistributable. I am trying to deploy c# winform application. I have created a setup project. I need to redistribute .NET framework 2.0 along with the setup. I need to localize the setup project(strings appearing in the
0
1327
by: Georg Scholz | last post by:
(Note: this was intended to be a multi-post, but google was not able to post it also to microsoft.public.dotnet.general, so I'm cross- posting it separately) Hello, I am about to write a SETUP program for a .NET Application, and I am unsure which tool would fit best. I would be very grateful for some help on this topic.
0
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9906
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7456
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.