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
- :
- XML File Changes - changes order of orig 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
Aug 05, 2008
11:48 AM
XML File Changes - changes order of orig file
I have successfully used the XML File Changes view to modify a database connection string to reflect user input in an InstallScript project. BUT, the config file has been modified and has a new section called . Installshield still changes the connection string properly but when it writes the "new" xml file it appears to write the XML sections aphabetically. The app I am installing expects a first (not sure why but app only works if that is first in the xml config file). Since InstallShield is writing the section first, before , the app won't work. Is there a way to tell InstallShield to leave the order of the elements as they appear in the XML File View?
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 07, 2008
06:23 AM
I never create the whole XML file. What I do instead is install a skeleton XML file with empty elements/attributes/properties and them set them during Install.
So use InstallShield only to set the values that need to change:
you should install your .config file like you have it on the dev machine (delete the values you need to change first):
So use InstallShield only to set the values that need to change:
you should install your .config file like you have it on the dev machine (delete the values you need to change first):
value value
