I wrote a blog post a while ago that includes a little bit on setting the 
version of the runtime for IIS 6. Take a look here: 
http://blogs.msdn.com/b/mcsuksoldev/archive/2010/05/26/deploying-a-net-4-mvc-2-application-to-windows-server-2003-using-wix-3-5.aspx

Regards

Rob

-----Original Message-----
From: Gary Gocek [mailto:g...@gocek.org] 
Sent: 13 October 2010 00:35
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting .NET framework version for IIS6 web site

I have a .NET 4 web app that runs under IIS6 and IIS7. If .NET 2 or 3 is 
installed on the client (along with .NET 4), the web site (IIS6) or application 
pool (IIS7) needs to be changed from the default .NET Framework Version to .NET 
4, since the default is .NET 2.

Manually, in IIS manager, with Windows Server 2003 / IIS6, the .NET Framework 
Version is a property of the web site. With Windows Server 2008 / IIS7, this is 
a property of the application pool.

Using Wix 3.5 and IIsExtension, I can assign ManagedRuntimeVersion for the 
application pool. This has the desired effect under IIS7, but it seems to have 
no effect under IIS6.

Is there a way to set the .NET Framework Version for a web site under IIS6?

Thanks,
Gary



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for 
HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great 
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to