473,396 Members | 2,029 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,396 software developers and data experts.

asp.net deployment

Vs.net's setup project always installs the project's files under wwwroot.If
I would like to install the project's files(aspx,js,html files) into program
files.How should I do?
Thanks
Nov 18 '05 #1
3 1091
You'll have to manually configure things if you do this, but it's not
difficult.

The main thing for this is that you have to set the rights etc manually
because most likely Program Files will not be set up correctly to allow the
Web access.

The thing to do is:

Make sure that your path allows access to the IUSR_ account and NETWORK
SERVICE (IIS6) or ASPNET (IIS5)
Create a new Virtual Directory (using the IIS Admin console) in your custom
path
Enable Script Execution in the virtual
Make sure that this path has a BIN sub directory
Make sure that you create web.config and global.asax files if not in your
files
Copy the rest of your files

Hope this helps,

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"popman" <ne****@sohu.com> wrote in message
news:Oo*************@TK2MSFTNGP12.phx.gbl...
Vs.net's setup project always installs the project's files under wwwroot.If I would like to install the project's files(aspx,js,html files) into program files.How should I do?
Thanks

Nov 18 '05 #2
Hi Rick,
Thank you for your reply.
Perhaps I was misunderstood.I want a asp.net application to be setup by a
MSI file.
The MSI file is created by vs.net setup project.
But such setup project can only let me set virtual directory name which
usually install the asp.net application under wwwroot root,if a virtual
directory isn't be set in IIS admin Console before install.

So my question is whether I can change the destination to "program file".

Neo
"Rick Strahl [MVP]" <ri********@hotmail.com> дÈëÏûÏ¢ÐÂÎÅ
:OI**************@TK2MSFTNGP12.phx.gbl...
You'll have to manually configure things if you do this, but it's not
difficult.

The main thing for this is that you have to set the rights etc manually
because most likely Program Files will not be set up correctly to allow the Web access.

The thing to do is:

Make sure that your path allows access to the IUSR_ account and NETWORK
SERVICE (IIS6) or ASPNET (IIS5)
Create a new Virtual Directory (using the IIS Admin console) in your custom path
Enable Script Execution in the virtual
Make sure that this path has a BIN sub directory
Make sure that you create web.config and global.asax files if not in your
files
Copy the rest of your files

Hope this helps,

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"popman" <ne****@sohu.com> wrote in message
news:Oo*************@TK2MSFTNGP12.phx.gbl...
Vs.net's setup project always installs the project's files under

wwwroot.If
I would like to install the project's files(aspx,js,html files) into

program
files.How should I do?
Thanks



Nov 18 '05 #3
Not without making some change in IIS first.

If I create a virtual directory in IIS pointing under Program Files,
and then run an ASP.NET setup MSI pointing to the new virutal
directory, it will use the path of the virtual directory and setup all
the correct authorization rights, etc.

HTH,

--
Scott
http://www.OdeToCode.com

On Mon, 31 May 2004 02:10:47 -0700, "popman" <ne****@sohu.com> wrote:
Hi Rick,
Thank you for your reply.
Perhaps I was misunderstood.I want a asp.net application to be setup by a
MSI file.
The MSI file is created by vs.net setup project.
But such setup project can only let me set virtual directory name which
usually install the asp.net application under wwwroot root,if a virtual
directory isn't be set in IIS admin Console before install.

So my question is whether I can change the destination to "program file".

Neo
"Rick Strahl [MVP]" <ri********@hotmail.com> дÈëÏûÏ¢ÐÂÎÅ
:OI**************@TK2MSFTNGP12.phx.gbl...
You'll have to manually configure things if you do this, but it's not
difficult.

The main thing for this is that you have to set the rights etc manually
because most likely Program Files will not be set up correctly to allow

the
Web access.

The thing to do is:

Make sure that your path allows access to the IUSR_ account and NETWORK
SERVICE (IIS6) or ASPNET (IIS5)
Create a new Virtual Directory (using the IIS Admin console) in your

custom
path
Enable Script Execution in the virtual
Make sure that this path has a BIN sub directory
Make sure that you create web.config and global.asax files if not in your
files
Copy the rest of your files

Hope this helps,

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"popman" <ne****@sohu.com> wrote in message
news:Oo*************@TK2MSFTNGP12.phx.gbl...
> Vs.net's setup project always installs the project's files under

wwwroot.If
> I would like to install the project's files(aspx,js,html files) into

program
> files.How should I do?
>
>
> Thanks
>
>




Nov 18 '05 #4

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

Similar topics

2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
0
by: Mystery Man | last post by:
We want to deploy a large CSharp/SQL Server system. We are successfully using the 'setup project' (under setup and deployment projects) to build our deployed system. With our stored...
4
by: wobbles | last post by:
Hi Everyone, I'm really struggling to get no-touch deployment to work well (if at all, in some cases). Can anyone recommend a good book on this topic? There seem to be a lot of blogs about...
3
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: al | last post by:
Hi, Can someone please tell me what is exactly zero deployment in VB.NET. Is it that .NET doesn't need to deal with the registry? If that is the case, then why MS introduced class registry? ...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.