How to change the TARGETDIR of a web setup project ?

  • Thread starter Thread starter Jéjé
  • Start date Start date
J

Jéjé

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.
 
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
 
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.
 
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 said:
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é said:
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.
 
There is a good VBscript example here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dniis/html/Autoadm.asp
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Jéjé said:
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 said:
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é said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top