5
Answers

To Change The Conection string dynamically after creating the MSI

fghfgh fghfghfg

fghfgh fghfghfg

16y
4.9k
1

Hi All ,

I have a problem .

I can't able to change the connectionstring dynamically  in the web.config  after creating the MSI .

Thanks For Help

Rakesh

Answers (5)
0
satish  kumar

satish kumar

NA 10 0 15y

Thanks for reply.

I taken new setup and added view -> user interface

and installed register user and customer information.

but then also i didnt get solution.

plz send very urgent.

ok bye

satish

0
Niradhip Chakraborty

Niradhip Chakraborty

NA 6.5k 527k 16y
0
Lisa

Lisa

NA 352 9.4k 16y

OK here it is go to your setup project from the view menu go to editor and select User Interface and add a new dialog there can be customer information , register user etc and get those details input by the user while installing.

then go to you projectinstaller code behind and over write the install function there  you can capture the given details and hence update the connection string as possible.

Thanks,
Lisa

0
fghfgh fghfghfg

fghfgh fghfghfg

NA 6 22.3k 16y

Thanks For Your Help

Can you please describe it properly.

how to add the custom screen to the installer.

Thanks

 

0
Lisa

Lisa

NA 352 9.4k 16y

add a custom screen into the installer (if you want to prompt user to give the location) or you could directly assign a location based on directory user selects.

Override the install function to do the specific job . like for example get the target directory of installation and the update the web.config file with relevant information.

Thanks,
Lisa