By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

build web.config during deployment

P: n/a
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.
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.