Installing web application and TARGETDIR
am 02.01.2008 23:23:02 von jacek
Hello,
Could anybody advise me how I can install web application from MS install
package into other folder than c:\inetpub\wwwroot. Anything I found on the
web about TARGETDIR does not work - niether from custom installer nor from
command line. Maybe I do not understand how it exactly works.
thanks
RE: Installing web application and TARGETDIR
am 03.01.2008 00:10:01 von nemtsev
U can install app as standard app, not web app to any folder. and then just
share this folder as web folder
--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour
"Jacek" wrote:
> Hello,
>
> Could anybody advise me how I can install web application from MS install
> package into other folder than c:\inetpub\wwwroot. Anything I found on the
> web about TARGETDIR does not work - niether from custom installer nor from
> command line. Maybe I do not understand how it exactly works.
> thanks
RE: Installing web application and TARGETDIR
am 03.01.2008 00:28:13 von nemtsev
Play with the next codesnippet
System.EnterpriseServices.Internal.IISVirtualRoot vr = new
System.EnterpriseServices.Internal.IISVirtualRoot();
string sError;
vr.Create("IIS://localhost/W3SVC/1/Root",@"C:\Demos\WebServi ces\","WebServices",out sError);
--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour
"Jacek" wrote:
> I see, but how to create Virtual folder referencing to the installed
> application without using vbscript? Can it be done from custom installer? Use
> some API from Framework?
>