Hello.
Thanks for the help.
However this isn't exactly what I need. In fact I use the described method for all the settings I have to store in the XML.
The difference in my problem is, that I don't know how many syncPath element's are going to be defined.
I have something like this

- BitTorrentSync.PNG (35.06 KiB) Viewed 4416 times
When I click on the "+"Button I show a modified Folder Page Dialog, that has an "add"-button.
This Button calls a Javascript Custom Action and concatenates the Property of the PathEdit (from the FolderPage Dialog) to the Property of the MultilineEdit

- BitTorrentSync2.PNG (23.94 KiB) Viewed 4416 times
So at the end the MultilineEdit-Property has many paths separated by "\n" (newline) and looks like this:

- BitTorrentSync3.PNG (49.48 KiB) Viewed 4416 times
Now each of these Paths need to create a <syncPath> element inside the XML.
So the xml then should look like this:
<syncPaths>
<syncPath value = 'C:\BitTorrentSync' />
<syncPath value = 'C:\Temp />
<syncPath value = 'C:\Documents_NoBackup' />
<syncPath value = 'C:\Tools />
</syncPaths>
There can be n syncPath elements with n>1
Thanks again for the time you took for creating the sample.
FOLLOW US
Get the latest news in Application Packaging