473,782 Members | 2,699 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Advice on how to create deployment package

I have just created my first asp.net application and I am ready to deploy.
The solution consists of the following:
A single asp.net assembly to be deployed to web server
A number of vb.net assemblies to be deployed to application server. Some of
these assemblies will be shared by future applications.

There is also a SQL Server DB that I need to install onto live server.

The only way I have deployed asp.net app before is to copy my files manually
but I would like a packaged solution for this. Could someone point me in the
right direction please.

Thanks

Terry Holland

Apr 12 '06 #1
7 4046
Hi Terry,

Thank you for posting.

Regarding on the ASP.NET web application deployment question, I think you
can create a VS.NET Web Setup project, it'll help generate the code for
copy web application's page content or assemblies. And for your shared
assemblies, you can use some command batch file or script file to register
them through the "GacUtil.ex e" tool. In addition, for database creating,
you should create some custom code (use the Custom Action in VS setup
project) to programmaticall y connect to database and execute database
creating sql script. here are some good tech articles describing on this:

#Deployment of a Web Setup Project
http://msdn.microsoft.com/library/en...loymentovernet
work.asp?frame= true

#Deploying ASP.NET Applications - Part 1
http://www.15seconds.com/issue/030806.htm

#Walkthrough: Using a Custom Action to Create a Database at Installation
http://msdn2.microsoft.com/en-US/lib...tk(VS.80).aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 21 '06 #2
Thanks Steven

I think I need something more specific with regard to the shared assemblies.
For example should I create a Web Setup project and add the project output
of my shared assembly to the setup project or should these shared assemblies
not be part of my web setup. If they are not to be part of web setup, could
you give me an example of what to do with them

Thanks

Terry

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:g0******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Terry,

Thank you for posting.

Regarding on the ASP.NET web application deployment question, I think you
can create a VS.NET Web Setup project, it'll help generate the code for
copy web application's page content or assemblies. And for your shared
assemblies, you can use some command batch file or script file to register
them through the "GacUtil.ex e" tool. In addition, for database creating,
you should create some custom code (use the Custom Action in VS setup
project) to programmaticall y connect to database and execute database
creating sql script. here are some good tech articles describing on this:

#Deployment of a Web Setup Project
http://msdn.microsoft.com/library/en...loymentovernet work.asp?frame= true

#Deploying ASP.NET Applications - Part 1
http://www.15seconds.com/issue/030806.htm

#Walkthrough: Using a Custom Action to Create a Database at Installation
http://msdn2.microsoft.com/en-US/lib...tk(VS.80).aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 21 '06 #3
Hi Terry,

If the shared assemblies you mentioned here is just those strong-named
assemblies you want to install into GAC at setup time, you can utilize the
VS setup project(include web setup project)'s "Global Assembly Cache
Folder" option, we can add this through

File System --->Special Folder---> Global Asssembly Cache Folder

This option is available in both VS 2003 and 2005 setup project:

#Deployment and the Global Assembly Cache
http://msdn2.microsoft.com/en-us/lib...zs(VS.80).aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Apr 25 '06 #4
Thanks

Another part of this application are some web services.

Can I in a single web project do the following:
Install my business objects (vb.net assembly) into Program Files
Install my shared components (vb.net assembly) into GAC
Install my ASP pages into a web directory such as MyProject\MyWeb Pages
Install my web services into a web directory such as MyProject\MyWeb Services

If this is possible could you please point me to an example that does all
this

Thanks

Terry Holland

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:ob******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Terry,

If the shared assemblies you mentioned here is just those strong-named
assemblies you want to install into GAC at setup time, you can utilize the
VS setup project(include web setup project)'s "Global Assembly Cache
Folder" option, we can add this through

File System --->Special Folder---> Global Asssembly Cache Folder

This option is available in both VS 2003 and 2005 setup project:

#Deployment and the Global Assembly Cache
http://msdn2.microsoft.com/en-us/lib...zs(VS.80).aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 25 '06 #5
Hi Terry,

Thanks for the response.

As for the further question you mentioned,

=============== ====
Install my business objects (vb.net assembly) into Program Files
Install my shared components (vb.net assembly) into GAC
Install my ASP pages into a web directory such as MyProject\MyWeb Pages
Install my web services into a web directory such as MyProject\MyWeb Services
=============== =====

I think it can be done in a single web setup project. The VS 2005 web setup
project can let us install contents into many special folder locations,
include "Program Files" folder", "GAC Folder", "Desktop Folder", ......

Also, for virtual directory folder, it can also support creating multiple
virtual directories( I think this can meet your requirement on install the
web application and webservice into different application virtual dir),
however, one limitation is that such multiple virtual directory seems can
only be installed under the same IIS site (since VS setup project doesn't
provide site selection for indivdual virtual directory).

You can get the detailed special folder list in the following msdn link:

#Special Folders and Custom Folders
http://msdn2.microsoft.com/en-us/library/s2esdf4x.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 26 '06 #6
Is this possible in vs 2003? I have not yet upgraded to 2005

"Steven Cheng[MSFT]" wrote:
Hi Terry,

Thanks for the response.

As for the further question you mentioned,

=============== ====
Install my business objects (vb.net assembly) into Program Files
Install my shared components (vb.net assembly) into GAC
Install my ASP pages into a web directory such as MyProject\MyWeb Pages
Install my web services into a web directory such as MyProject\MyWeb Services
=============== =====

I think it can be done in a single web setup project. The VS 2005 web setup
project can let us install contents into many special folder locations,
include "Program Files" folder", "GAC Folder", "Desktop Folder", ......

Also, for virtual directory folder, it can also support creating multiple
virtual directories( I think this can meet your requirement on install the
web application and webservice into different application virtual dir),
however, one limitation is that such multiple virtual directory seems can
only be installed under the same IIS site (since VS setup project doesn't
provide site selection for indivdual virtual directory).

You can get the detailed special folder list in the following msdn link:

#Special Folders and Custom Folders
http://msdn2.microsoft.com/en-us/library/s2esdf4x.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 26 '06 #7
Thanks for your quick response Terry,

I've just take a quick look over the VS 2003 web setup project and found
that those special folders useful for you also available there. So I think
you can go on with VS 2003 web setup project also:)

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 26 '06 #8

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

Similar topics

2
600
by: ksskumar | last post by:
Hi Friends, My software's target is to creating a add-in for Outlook. I am struckup of creating deployment of my software. My software flow is as follows, 1. Complete functionality is done in C# Class library project In this .dll I am used the following COM components,
1
2088
by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for new installations but fails if the project has already been deployed. What I'd like for it to do is to ask if it should upgrade/repair/uninstall. Instead, it says that the user must remove the project before the installation can execute. What...
0
1532
by: Michael | last post by:
After a week of beating my head against a wall I still continue to receive the following error message when trying to deploy a package using the cabinet option. The same error occurs with a different "cabinet" name when using the setup file option. The file "_5F6C71C 2868460B5581E521727434428" cannot be installed because the file cannot be found in the cabinet file "SETUP.CAB". This could indicate a network error, an error reading...
2
10632
by: msnews.microsoft.com | last post by:
Im trying to deploy a windows service and a windows application together with my web application in the same setup msi. It works sometimes, but suddenly I cant build the msi. I get errors like: "Error 2 Unable to update the dependencies of the project. The dependencies for the object 'Processes.DLL' cannot be determined. C:\jobb\swm\SwiftMiddlwarePolling\Package\Package.vdproj Package" and
1
1766
by: SKarnis | last post by:
I have created a simple ASP.NET Web Service with VB on Win XP Pro SP2, IIS 5.1, .NET 1.1. Service works in Visual Studio environment. Created an deployment package. Tried running the deployment package in VS using Install - get the following error. The specified path 'http://development/WebServerSetup' is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please...
1
252
by: Terry Holland | last post by:
I have just created my first asp.net application and I am ready to deploy. The solution consists of the following: A single asp.net assembly to be deployed to web server A number of vb.net assemblies to be deployed to application server. Some of these assemblies will be shared by future applications. There is also a SQL Server DB that I need to install onto live server. The only way I have deployed asp.net app before is to copy my...
1
2610
by: RandomElle | last post by:
Can anyone help me out with locating & using the package and deployment wizard for Access 2003? I have searched for HOURS and cannot find the Package & Deployment wizard for Access2003 anywhere on my machine. It's supposed to be under Program Files/Microsoft Office/Package & Deployment.... It's not there and I don't have a folder with anything even close on my machine. I have installed: * MS Office Pro 2003 with Biz contact Mgr , *...
1
8145
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings file and itself into the exe. You would probably want a tool for this bit which could be in the zip too. So the app isnt single exe when running but when not running, it is. Just an idea for you to think about. Another option would possibly be to...
13
1338
by: terry.holland | last post by:
I have a three tiered CRM application (ASP.Net UI, VB.Net Business Layer & VB.Net Data Access Layer) that consists of number of classes. The application will be deployed to a number of clients. Some of our clients have no existing CRM system and are happy that our application stores Client information. Other clients have already got a CRM system and want our application for the additional functionality that it offers. These clients would...
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10143
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4040
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 we have to send another system
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.