Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > build web.config during deployment

Reply
Thread Tools

build web.config during deployment

 
 
Walter W
Guest
Posts: n/a
 
      08-08-2005
hi,

i need to deploy two asp.net web projects which together form one single
solution.

these two projects will be installed in different virtual directories.

i could create two setup projects to include the primary output and
content files from the each project. but how can i merge them into one
..msi file?

also more importantly, how can i ask the user for sql server login
details during set up? so that i can create the database and tables and
also set the connection string in the web.config file?

i did a google and it appears that i have to use some custom installer
class. is there an easier way to do this?

thanks for any advice.
 
Reply With Quote
 
 
 
 
Clint Hill
Guest
Posts: n/a
 
      08-09-2005
Generally speaking, I think you would want to setup one project as a
merge module to be used in the other.
For the web.config part you could use a dialog box to ask for the values
and then query the installer for them to "re-write" the web.config file.

It is pretty complicated, and honestly, I don't really put the effort
into this kind of setup, unless it is something that will be on CD. If
this is an internal system and you can be there for the setup and
config, nothing really beats XCOPY and notepad.

Clint Hill
H3O Software
http://www.h3osoftware.com


Walter W wrote:
> hi,
>
> i need to deploy two asp.net web projects which together form one single
> solution.
>
> these two projects will be installed in different virtual directories.
>
> i could create two setup projects to include the primary output and
> content files from the each project. but how can i merge them into one
> .msi file?
>
> also more importantly, how can i ask the user for sql server login
> details during set up? so that i can create the database and tables and
> also set the connection string in the web.config file?
>
> i did a google and it appears that i have to use some custom installer
> class. is there an easier way to do this?
>
> thanks for any advice.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning during generating classes through WSIMPORT & Error during xmlvalidation traveller Java 0 01-08-2008 07:00 AM
How do I read a clas during deployment/start up simon_s_li@hotmail.com Java 0 12-19-2005 04:05 PM
Enterprise Library deployment problem. Why needs to InstallUtil DLLs to the deployment server? If not, Registry Error whould shown. Benny Ng ASP .Net 0 10-03-2005 05:40 AM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
Datagrid not updated during delete, but updated during insert and update Dmitry Korolyov ASP .Net Datagrid Control 0 09-22-2003 10:57 AM



Advertisments