AnonymousDefaul
Enthusiast
Enthusiast

Can I put comments in the XML configuration files?

How do I add comments to the XML configuration files without interfering with the functionality of the installer?

Labels (1)
0 Kudos
5 Replies
AnonymousDefaul
Enthusiast
Enthusiast

Comments can be put as regular XML comments - such as:

<!-- comment regarding action below --> <runProgram>   ... </runProgram>

InstallBuilder's GUI for building the installer tracks comments that are added before each action and rule - so even when moving or editing it within GUI, the comment is always kept with the action that is after it.

0 Kudos
brettparkhurst
Enthusiast
Enthusiast

Every time I put an XML comment in the code and save it, the comment is wiped out.

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @brettparkhurst,

I haven't been able to reproduce the issue. Are you using the InstallBuilder XML editor? Could you send a sample project that reproduces it?

 

Regards,

Michiel

0 Kudos
brettparkhurst
Enthusiast
Enthusiast

Yes, I'm using the InstallBuilder XML editor.  If you put the XML comment at the top of the XML snippet, it gets wiped out.  If you put it down inside the snippet it saves.  See attached XML editor screenshot.

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @brettparkhurst

I've reproduced the issue. Could you open a ticket in private support so we can proceed to add it to our bug tracking system?

Regards,

Michiel

 

0 Kudos