468,268 Members | 1,666 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

Web Setup project - create virtual directory & point to another location in directory structure

Hi

I am new to this. I am trying to create a setup project to package our
stuff and create an installer.

This is what I want to do,

I have a directory sructure in which we have our
RootSource\Web (which has web stuff)
RootSource\Business (which has class libraries)
RootSource\UIProcess(which has class libraries pertaining to UI)

I want the installation to be, in the form of

c:\Program Files\MyApplication\Web
c:\Program Files\MyApplication\Business
c:\Program Files\MyApplication\UIProcess

Then I want to create a virtual directory in the IIS called MyWeb and
point to this directory (c:\Program Files\MyApplication\Web) in the
program files.

Is this possible with the installer, I mean a setup project?? Should I
use We Setup project? If so, the Web Application folder creates a
virtual directory under IIS and puts my web stuff under Inetpub.

Help.

Apr 12 '06 #1
1 6926
Hi

I am new to this. I am trying to create a setup project to package our
stuff and create an installer.

This is what I want to do,

<SNIP/>

Is this possible with the installer, I mean a setup project?? Should I
use We Setup project? If so, the Web Application folder creates a
virtual directory under IIS and puts my web stuff under Inetpub.

Help.
It is possible to do this using a Web Setup Project, but you can't do it in Visual Studio. I used Orca.exe which is a tool in the MS Platform SDK to create a Transform which can be applied to the MSI after it has been created.
Orca offers a graphical interface which lets you edit Windows Installer tables directly. Once you know where to look you can create powerful modifications to your MSI. However, if you are new to directly editing Installer tables then this can be quite a challenging task :eek:

A complete description of my solution can be found at CodeProject at the following location:
Specify a different location for Virtual Directories in Web Setup Projects

Hope this helps ;)
Apr 22 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Brad | last post: by
1 post views Thread by Jay | last post: by
2 posts views Thread by Henrik Dahl | last post: by
2 posts views Thread by Danny Miller | last post: by
3 posts views Thread by glenn.owens | last post: by
1 post views Thread by Frank Rizzo | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.