Elements in XML get linebreak prefixed - Advanced Installer Community

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!

Robin Paardekam
Posts: 3
Joined: Wed Nov 30, 2011 4:11 pm

Elements in XML get linebreak prefixed

In my Advanced Installer Enterprise project, I am updating 5 XML files with values based on the user's choice in a custom dialog. This works rather nice, for all BUT ONE file! In that one file the values (from my custom property) in the XML elements are always prefixed with a linebreak although the original XML file which gets updated has no linebreaks whatsoever, neither does the property is prefixed. I know for sure because all other XML files get updated with the same value without a problem.

I hope the above is clear. I can add some images to illustrate if you like... or might this be a known issue? If so, is there a workaround as well?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Elements in XML get linebreak prefixed

Hello and welcome to Advanced Installer forums,

Can you please send us a test .AIP ( project file ) that reproduces this issue with dummy resources to support at advancedinstaller dot com? This way we can build it, replicate the issue on our test machines and investigate the reason.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Robin Paardekam
Posts: 3
Joined: Wed Nov 30, 2011 4:11 pm

Re: Elements in XML get linebreak prefixed

Well... I did create a dummy .AIP with these files, built it, tested it and what do you think... the problem does not occur in that installer... So I rebuilt my original .AIP and like magic... this issue disappeared from there as well!

So, please consider this issue to be solved... Thanks anyway.

Return to “Common Problems”