RE: Advice on how to create deployment package

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.exe" tool. In addition, for database creating,
you should create some custom code (use the Custom Action in VS setup
project) to programmatically 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-us/vsintro7/html/vbcondeploymentovernet
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/library/49b92ztk(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.)



.



Relevant Pages

  • Re: ClickOnce
    ... You can definitely create the database objects and load data using a custom action in an MSI package, but this would defeat the purpose of Click-Once deployment. ...
    (microsoft.public.dotnet.distributed_apps)
  • install a windows service
    ... I need to deploy an asp.net application with a database with it. ... I created a web setup project ... for the deployment, but I am not sure how should I deploy the database, the ...
    (microsoft.public.vsnet.setup)
  • Re: Help Needed on ASP.Net Deployment
    ... use from .NET command line aspnet_compiler command utility ... Selected the Setup and Deployment -> Web Setup Project ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.general)
  • Re: Help Needed on ASP.Net Deployment
    ... Selected the Setup and Deployment -> Web Setup Project ... In Properties Window of File System Editor i set the read only ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.framework)
  • Re: Help Needed on ASP.Net Deployment
    ... Selected the Setup and Deployment -> Web Setup Project ... In Properties Window of File System Editor i set the read only ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.framework.aspnet.security)