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: Get and Use connectionstring for XML file
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 07, 2011
08:15 AM
Get and Use connectionstring for XML file
Hi
Hope someone can tell me how to get the connectionstring used by installshield for creating database throught sql script.
Thanks
Ekstra: I have to use this connectionstring for updating af node in a settings.xml file. Is this is impossible please stop me 🙂
Thanks in advance
Best regards
Bo
Hope someone can tell me how to get the connectionstring used by installshield for creating database throught sql script.
Thanks
Ekstra: I have to use this connectionstring for updating af node in a settings.xml file. Is this is impossible please stop me 🙂
Thanks in advance
Best regards
Bo
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 08, 2011
07:43 AM
Is it possible creating or getting a connectionString from InstallShield like this:
connectionString="Data Source=LocalPc\SQLEXPRESS;Initial Catalog=;Integrated Security=True"
Thanks,-
connectionString="Data Source=LocalPc\SQLEXPRESS;Initial Catalog=;Integrated Security=True"
Thanks,-
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 12, 2011
11:23 AM
Yes, it is possible. There are multiple ways to do it. You can use XML edit feature in InstallShield or InstallScript or a custom action.
Here's a sample that demonstrates editing an XML file using InstallScript. The file updates license number as discussed in this thread but same concept can be used to update any other XML node.
Here's a sample that demonstrates editing an XML file using InstallScript. The file updates license number as discussed in this thread but same concept can be used to update any other XML node.