473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Installing web application and TARGETDIR

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
Jan 2 '08 #1
4 1172
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
Jan 2 '08 #2
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?

Jan 2 '08 #3
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\WebServices\","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?
Jan 2 '08 #4
Many Thanks
Jan 2 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phil Lindsay | last post by:
I am having trouble getting setup.exe (which installs MSDE 2K SP3) to install an instance. It seems to go most of the way and then hang. If I run the setup.exe (standalone) from the command line...
0
by: Brian at CreekPath | last post by:
I've created an ASP.NET installer using Visual Studio's "Web Setup Project" template. I'm installing to Windows 2000 Server (IIS 5). If I configure the default web site to a port other than 80,...
0
by: Soren S. Jorgensen | last post by:
Hi, I've created a custom installer for my setup project and is passing the parameter to installer like /TargetDir= in CustomActionData - but when contains spaces my installer fails! I've...
3
by: Padraig | last post by:
Hi all, Just a quick question... when I try to install Python on Windows Vista Beta 2 the installer seems to hang after I select the destination folder, saying that it will "return when it has...
0
by: CharlesA | last post by:
Hi folks, I'm using C# and the .Net Framework 1.1 I'm fine with creating setups in general and the fact that you can specify the Virtual Directory etc... what I can't figure out is this: how...
0
by: Grant | last post by:
Hi, The TargetDir alias is empty when using it in the AfterBuild section of a Web Deployment Project. As per the MSDN article Using Web Deployment Projects with Visual Studio 2005, I have the...
5
by: NickP | last post by:
Hi there, I need to be able to change the name of my application through a pre-compile constant, is this possible? I want to try to avoid having 2 separate code trees for an application I am...
3
by: kanepart2 | last post by:
So, I have a bunch of dll's. I want to create an MSI file in wix that installs them into C:/Windows/Assembly, I have tried doing the following but it doesnt work for installation of the files (ie....
1
by: jehugaleahsa | last post by:
Hello: I wrote an .exe that I would like to be called by a service I am deploying to a server. However, I am not sure how to tell the setup project to include the .exe. Also, I do not know...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.