473,511 Members | 14,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to change the TARGETDIR of a web setup project ?

Hi,

I want to create a deployment project of my web application.
But I want to force the target physical folder instead of the
"c:\inetpub\wwwroot" (or the root folder used by IIS)

how to do this?

thanks.

Jerome.
Nov 19 '05 #1
4 6994
The trick I've done in the past is to create the virtual directory first
then create a new web project in VS.NET with the same name. VS.NET then just
drops all the files into wherever you've configured that vdir.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi,

I want to create a deployment project of my web application. But I
want to force the target physical folder instead of the
"c:\inetpub\wwwroot" (or the root folder used by IIS)

how to do this?

thanks.

Jerome.


Nov 19 '05 #2
I believe that the physical folder you specify still needs to be a virtual
directory before you can do that. The property used in a web setup is
TARGETVDIR, by the way.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Jéjé" <wi******@BBBhotmailAAA.com> wrote in message
news:eB****************@TK2MSFTNGP15.phx.gbl...
Hi,

I want to create a deployment project of my web application.
But I want to force the target physical folder instead of the
"c:\inetpub\wwwroot" (or the root folder used by IIS)

how to do this?

thanks.

Jerome.

Nov 19 '05 #3
well...

to be more precise:
the virtual directory must be /_layouts/<my vfolder>
the physical path is under the sharepoint folders (under the common files)

<my vfolder> is a fixed one as well as the physical folder

maybe I can create my own installer.
so any sample code to create a virtual directory from a custom cobe in
VB.NET (or C#)?

"Phil Wilson" <pd*******@nospam.cox.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
I believe that the physical folder you specify still needs to be a virtual
directory before you can do that. The property used in a web setup is
TARGETVDIR, by the way.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Jéjé" <wi******@BBBhotmailAAA.com> wrote in message
news:eB****************@TK2MSFTNGP15.phx.gbl...
Hi,

I want to create a deployment project of my web application.
But I want to force the target physical folder instead of the
"c:\inetpub\wwwroot" (or the root folder used by IIS)

how to do this?

thanks.

Jerome.


Nov 19 '05 #4
There is a good VBscript example here:
http://msdn.microsoft.com/library/de...ml/Autoadm.asp
--
Phil Wilson
[Microsoft MVP-Windows Installer]
"Jéjé" <wi******@BBBhotmailAAA.com> wrote in message
news:u3**************@TK2MSFTNGP15.phx.gbl...
well...

to be more precise:
the virtual directory must be /_layouts/<my vfolder>
the physical path is under the sharepoint folders (under the common files)

<my vfolder> is a fixed one as well as the physical folder

maybe I can create my own installer.
so any sample code to create a virtual directory from a custom cobe in
VB.NET (or C#)?

"Phil Wilson" <pd*******@nospam.cox.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
I believe that the physical folder you specify still needs to be a virtual
directory before you can do that. The property used in a web setup is
TARGETVDIR, by the way.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Jéjé" <wi******@BBBhotmailAAA.com> wrote in message
news:eB****************@TK2MSFTNGP15.phx.gbl...
Hi,

I want to create a deployment project of my web application.
But I want to force the target physical folder instead of the
"c:\inetpub\wwwroot" (or the root folder used by IIS)

how to do this?

thanks.

Jerome.



Nov 19 '05 #5

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

Similar topics

2
7182
by: Cleyton | last post by:
Hello !! I have a installer that call another class derived of System.Configuration.Install.Installer and in the AfterInstall method i have to get the folder where the user put my application. ...
1
2775
by: gan | last post by:
I created a ASP.NET web setup project with the project name "Setup". I noticed that this name will be used as the default Virtual Directory name during deployment. I'd like to know whether we...
0
1053
by: NoOne | last post by:
This is pissing me off. The web app setup project is great except for one stupid limitiation. You can't specify the target directory for the virtual folder. What is up with that? I've been...
0
472
by: Robert Barron | last post by:
The web app setup project is great except for one limitiation. You can't specify the target directory for the virtual folder. What is up with that? I've been reading posts and documentation that...
1
8382
by: nicksop | last post by:
How can i change of a setup project in vb .net For example how can i change the path of C:\program files\myprogram\program.exe and make it D:\program files\myprogram\program.exe
0
2747
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...
0
1266
by: CharlesA | last post by:
Hi folks, I'm using C#, the .Net Framework 1.1, and VS 2003 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...
0
1255
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...
0
1768
by: cnathaide | last post by:
Hi, I have written a simple command line application in C# and created the accompanying setup project in VS 2005. When the user installs the application on the his/her machine, I would like...
0
7237
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
7137
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
7349
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7074
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...
0
5659
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4734
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3219
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.