Geeks With Blogs

News

Google My Blog

Catch me at: The List!


My InstallScript Utility Belt My Amazon Wishlist
My Standard Disclaimer


Archives
Chris G. Williams Beware: I mix tech and personal interests here.

The Problem:

Recently, I ran across a situation where we have an ASP.NET 1.1 app that we were installing onto a machine with the 2.0 .NET Framework already installed.

When the virtual directory was created by the install, all the "non-application specific" file extensions were mapped to the 2.0 isapi.dll file.   However, the "application specific" ones were mapped to the 1.1 isapi.dll. So, when I tried to hit the site the first time, a lot of stuff was screwed up. Going into IIS and remapping everything to ASPNET 1.1 seemed to fix everything.

The Solution:

We need to specifically configure the application mappings for the virtual directories via the 'Virtual Directory' tab of the virtual directory in the InstallShield project.  We just need to point to the old dll. The behavior should be very similar with the InstallShield project since they mimic the IIS manager.

Windows IIS manager:

InstallShield IIS view:

So, we can just configure the InstallShield project to specifically point to the 1.1 dll's. 

Please note that you can't configure existing virtual directories, just new virtual directories.

Posted on Wednesday, December 28, 2005 6:29 AM Installshield | Back to top


Comments on this post: Installation Fun w/ InstallShield and ASP.NET (1.1 & 2.0)

# re: Installation Fun w/ InstallShield and ASP.NET (1.1 & 2.0)
Requesting Gravatar...
So how long does it take to learn the new Install Shield? Whew that looks complex. It was a lot simpler 6 years ago ;-)
Left by Bill on Dec 28, 2005 12:15 PM

# re: Installation Fun w/ InstallShield and ASP.NET (1.1 & 2.0)
Requesting Gravatar...
It's not so bad. Most of my experience is with IS 10 (aka IS-X) and they are up to 11.5 now, although the UI hasn't changed much. I do most of my IS work in scripting anyway.
Left by Chris Williams on Dec 28, 2005 12:23 PM

# re: Installation Fun w/ InstallShield and ASP.NET (1.1 & 2.0)
Requesting Gravatar...
it so complex but very usefull for us...thank you
Stop Dreaming Start Action
Left by Rusli Zainal Sang Visioner on Aug 12, 2009 10:48 PM

Your comment:
 (will show your gravatar)


Copyright © Chris G. Williams | Powered by: GeeksWithBlogs.net