Old 25th July 2006, 14:35   #1
_x_Vadim_x_
Junior Member
 
Join Date: Jul 2006
Posts: 2
Question 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?
_x_Vadim_x_ is offline   Reply With Quote
Old 26th July 2006, 06:30   #2
_x_Vadim_x_
Junior Member
 
Join Date: Jul 2006
Posts: 2
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'
_x_Vadim_x_ is offline   Reply With Quote
Old 26th July 2006, 09:16   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump