danshome
18th November 2010 17:16 UTC
IIS And Application Pools
Hi,
I've found the NSIS-ISS Plugin, but there doesn't appear to be any actual samples on the wiki or indications about how to use it to create an IIS application, rather than Virtual Directory, or how to set which Application Pool is used.
If anyone knows how to do this, it would be much appreciated as I desperately need to automate installation of a web application.
Thanks,
Dan
danshome
23rd November 2010 13:14 UTC
Ok. For future reference, if anyone does a search, you can setup an application and set the Application Pool as follows:
StrCpy $1 "ASP.NET v4.0"
NsisIIS::CreateVDir "$WebsiteName" "$INSTDIR"
Pop $0
Where you set $1 to be the name of your desired application pool.
Now all I need to do is work out how to change the version of ASP.Net that the website uses and I'm set.
meaningoflights
25th November 2010 23:40 UTC
http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx
NSIS:Exec...
C:\WINDOWS\Microsoft.NET\Framework\v?.? aspnet_regiis -i