473,666 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programmaticall y determine who was installed first - IIS or .NET

One gets countless hits when searching for discussions on the need to install
IIS before .NET so that ISAPI references are setup properly. It's also
documented that one can run apsnet_regiis.e xe to correct the situation where
..NET is installed before IIS (as in a brand new installation of WinXP where
..NET is already loaded). My question is whether or not it is
programmaticall y possible to determine who was installed first (or last) from
a registry setting/configuration file entry/etc. I would rather not have all
of my installs (InstallShield) just automatically run aspnet_regiis but be
able to do some checking and present possible options to the user.
May 18 '06 #1
1 2712
It could have been fixed later, it could have been broken even if the
installation order is correct or the mapping could be correct but not use
the .NET framework version you need etc...

In short, it would be IMO better to check for the exact condition that
annoys you (that is an incorrect mapping) rather than for one particular
situation that could lead to this problem.
--

"PetersonMi ke" <Pe**********@d iscussions.micr osoft.com> a écrit dans le
message de news: 92************* *************** **...icrosof t.com...
One gets countless hits when searching for discussions on the need to
install
IIS before .NET so that ISAPI references are setup properly. It's also
documented that one can run apsnet_regiis.e xe to correct the situation
where
.NET is installed before IIS (as in a brand new installation of WinXP
where
.NET is already loaded). My question is whether or not it is
programmaticall y possible to determine who was installed first (or last)
from
a registry setting/configuration file entry/etc. I would rather not have
all
of my installs (InstallShield) just automatically run aspnet_regiis but be
able to do some checking and present possible options to the user.

May 18 '06 #2

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

Similar topics

8
16660
by: deko | last post by:
I'm trying to find a way to set form/control properties programmatically. In a nut shell: 1. Open a database 2. Open a form in design view 3. Do something like this: For Each prp In frm.Properties If prp.Name = rst!PropName Then prp = rst!ChangeTo
3
7755
by: David Sworder | last post by:
Hi there, I'm designing an application in C#. One of the files in my application is "server.exe". This assembly listens for inbound connections and handles various incoming requests. I want to give the user of my application the option to allow server.exe to execute and handle requests even after the user has logged off. My plan is to ask the user "Would you like this service to continue running after you log off?". If the user...
2
8117
by: Jak Sparrow | last post by:
What are some good ways to programmatically check for software already installed on a computer? For example, to check a version of Internet Explorer, a program can check the registry for the following value: Version, and see if the version is 6.0 or not. However, not all installed software can be checked as easily. For example, Windows Media Player 9 has the following registry path:
2
3836
by: Mike C# | last post by:
Hi all, What's the "best" way to determine an EXE file's DLL dependencies from within a program? I basically need to figure out which DLL's are required by an EXE like Dependency Walker, from within a C++ application. Thanks
14
6109
by: mistral | last post by:
Need php script to create mySQL database programmatically; since hosting configuration may not allow create database from script, script also need eliminate/rewrite all restrictions in appropriate places in that hosting.
1
6374
by: Superfreak3 | last post by:
We have a web application that will be installed as a virtual directory. It will either default to the Default Web Site or allow the choice of the site to which the vir. dir. will be installed, if more than one sites exist on the server. Now, what I would like to do is set the ASP.NET version to 2.0 if it defaults to an earlier version (more than one instance of the Framework is installed). I would like to be able to do this...
1
10045
by: Leonid Lastovkin | last post by:
I would like to be able to find out which version of Microsoft Office is installed on the host computer. How can I implement this query in C#? I do not need the whole program, but a relevant code snippet will be appreciated. Thanks.
12
6605
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
I am writing a web app to be widely distributed where I do not know the installed .NET Framework version. I want to take advantage of some .NET 3.0 classes if they are installed, but gracefully degrade if not available. (Specifically, I want to use System.Windows.Media.Imaging.BitmapMetadata to extract metadata from JPEG files when 3.0 is available, but will resort to System.Drawing.Image if .NET 3.0 is not installed.) What is the...
4
26836
by: =?Utf-8?B?UGFycm90?= | last post by:
I cannot programmatically select a row in datagridview control. I use the following instruction to change the selection of a row dataGridView2.ClearSelection(); dataGridView2.Rows.Selected = true; When I add another entry to the datagrid, I return to this routine and check for the current row as follows: DataGridViewRow row = dataGridView2.CurrentRow;
0
8444
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
8781
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...
1
8551
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
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
6198
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
5664
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
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
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
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

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.