Hi,
in my AI project, I let the installer modify an XML configuration file, based on user input. I noticed two strange things in the generated XML file which may or may not have the same cause. The XML file is a .NET config file, originally generated by Visual Studio. The main part of this file is the <Application.Properties.Settings> element which has many <setting> sub elements which in turn have one, possibly empty, <value> sub element each. I added the file as regular file and added the XML editor for the same file, as described in https://www.advancedinstaller.com/user- ... files.html. The editor should modify the content of some <setting/value> elements; for four elements, the new value is taken from user input, and for another six, it is hard coded in the installer project.
Problem 1: For those elements whose value is taken from user input, the opening <value> tag becomes <value >, i.e. a space character is added before the right angle bracket (not so for the closing tag which remains <value/>).
Problem 2: One of the fields in the entry dialog can be left empty by the user, its assigned property value is initially defined as "[~]" (without quotation marks). This seems to be the syntax for an empty string. However, if the user leaves this field empty, the respective <value> becomes a single line break, rather than being really empty.
The AI version is 14.6. Thank you for your comments.
Hans
Edit: I read the "Possible new line in XML value ..." on this board but I am sure my cause is different.