This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Updating existing IIS application ASP.NET version
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 09, 2010
06:55 AM
Updating existing IIS application ASP.NET version
Greets,
I'm using InstallShield 2010 for installing a web application (using ASP.NET version 2.0.50727)
I've defined the IIS settings and it works fine when creating a new installation.
But I use it also to upgrade older versions of the application that used ASP.NET 1.1.
Whats the best way to accomplish it? (I'm using a InstallScript project)
Currently, after installing it, the default website ASP.NET version is updated (think its automatically done when installing .net framework 3.5), but the web application remains in 1.1.
Maybe there's a way to remove it from IIS before installing the upgrade?
Thanks
I'm using InstallShield 2010 for installing a web application (using ASP.NET version 2.0.50727)
I've defined the IIS settings and it works fine when creating a new installation.
But I use it also to upgrade older versions of the application that used ASP.NET 1.1.
Whats the best way to accomplish it? (I'm using a InstallScript project)
Currently, after installing it, the default website ASP.NET version is updated (think its automatically done when installing .net framework 3.5), but the web application remains in 1.1.
Maybe there's a way to remove it from IIS before installing the upgrade?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 12, 2010
05:16 AM
Hello,
found a way to do it "manually". Here goes if anyone needs it:
For updating the ASP.NET version of an IIS application to 2.0, run this command:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -sn w3svc/1/root/APPLICATIONNAME
Where APPLICATIONNAME is the name of your application registered in IIS and 1 is the id of the website (usually 1 is default website)
Tested on XP, will test on other operative systems.
Hope it helps
found a way to do it "manually". Here goes if anyone needs it:
For updating the ASP.NET version of an IIS application to 2.0, run this command:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -sn w3svc/1/root/APPLICATIONNAME
Where APPLICATIONNAME is the name of your application registered in IIS and 1 is the id of the website (usually 1 is default website)
Tested on XP, will test on other operative systems.
Hope it helps