This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: web config set connection string from install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 18, 2020
01:25 PM
web config set connection string from install
I want to change the server and the database in the web.config connection string based on what the user selects from the SQL Dialog.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 29, 2020
12:17 PM
Thanks for the reply banna_k. I have looked at both approaches. I need to know where info is stored from the install when they select the SQL Server and the Database name. Any examples would be great.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 29, 2020
01:26 PM
Hi @KRaymond,
Each field in the dialog is bound with a property, you can use the property name to retrieve the value later. You can get the property names by exploring the dialog editor
In case of SQL server, you can use [IS_SQLSERVER_SERVER] to get the value of IS_SQLSERVER_SERVER property.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)