Need help in .Net Setup and Deployment Project

A

Asheesh S Parihar

I am using .Net Setup and Deployment Project to create .msi file for web
application. I am using ‘Setup Project' template for this. In this project I
am creating virtual directory at run time. All the code has been written in
‘Install' overridable method in Installer Class. Directory is creating there
is no problem. Now the problem is, I need to add some settings (like DB
connection string, Here I am taking input from the user thru User Interface
dialog box) in web.config file. This happens only when all the aspx and
other files has been copied in to the desired path. Where I have to put code
for updating web.config file. What is the sequence of installation? What in
the end point, before that I can put my code to modify web.config.

Waiting for positive reply…

Asheesh
 
P

Phil Wilson

Custom actions in VS setup projects are called after files are installed, so
you should be ok adding the modification to your Installer class Install
method, if that's what you're asking.
 
G

Guest

-----Original Message-----
I am using .Net Setup and Deployment Project to create .msi file for web
application. I am using 'Setup Project' template for this. In this project I
am creating virtual directory at run time. All the code has been written in
'Install' overridable method in Installer Class. Directory is creating there
is no problem. Now the problem is, I need to add some settings (like DB
connection string, Here I am taking input from the user thru User Interface
dialog box) in web.config file. This happens only when all the aspx and
other files has been copied in to the desired path. Where I have to put code
for updating web.config file. What is the sequence of installation? What in
the end point, before that I can put my code to modify web.config.

Waiting for positive reply.

Asheesh
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top