Installation of serverside app for .Net 2.0
Hello All,
Is anybody have a script which creates virtual directory with selected 2.0 ASP.NET Version?
Archive: Installation of serverside app for .Net 2.0
Installation of serverside app for .Net 2.0
Hello All,
Is anybody have a script which creates virtual directory with selected 2.0 ASP.NET Version?
seems to be found solution by myself:
nsExec::Exec /TIMEOUT=20000 '$WINDIR\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s W3SVC/1/ROOT/$VDIRNAME'
I recommend using this code (with added quotes):
nsExec::Exec /TIMEOUT=20000 '"$WINDIR\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -s "W3SVC/1/ROOT/$VDIRNAME"'
Otherwise, if any of the $vars contain spaces, the execution will probably fail.
-Stu