We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jaelys
Posts: 36
Joined: Sat Dec 14, 2013 10:59 am

XML edit error

XML file to change the property value when installing strange phenomenon always occurs, such as attachments

XML file to change the property value when installing strange phenomenon always occurs, such as attachments

I just changed <Permission Dir="C:\RunTime\Release\Tmp"> to <Permission Dir=[ebook_dir ]> in two places
Attachments
FileZilla Server.xml
(7.37 KiB) Downloaded 281 times
FileZilla Server.xml
(7.08 KiB) Downloaded 283 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: XML edit error

Hello,

Please keep in mind this is the default behavior when you are using our Update XML support. This happens because your original XML file contains the "Dir" attribute under two XML elements having the same path:

Code: Select all

FileZillaServer>Users>User>Permissions>Permission
In this case our Update XML support cannot distinguish between the two sibling elements. However, in order to achieve what you want you can use our TXT updates support. For example, you can add a replace operation like this:
  • Find: C:\RunTime\Release\Tmp
    Replace: [ebook_dir ]
Let us know if this helped, otherwise please give us more details about your scenario (maybe exemplify).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jaelys
Posts: 36
Joined: Sat Dec 14, 2013 10:59 am

Re: XML edit error

I used another solution, I do not need to change the values ​​of other properties, one by one, to cancel the check (if found elements)

Return to “Building Installers”