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!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Possible new line in XML value ...

Hi,

I have built an installer that uses the advanced installer file search and the advanced installer XML read/save capabilities ...

However, when I run the installer, I am getting a weird XML issues from the "Port" value.

it seems the 'value' of Port has a new line appended to the end of it:

Here is a snapshot viewing the XML file from IE:
Install_Port_IE_Viewing.PNG
Install_Port_IE_Viewing.PNG (47.95 KiB) Viewed 2962 times
Here is a snap shot of the XML file in Visual Studio editor:
Install_Port_VS_Editor.PNG
Install_Port_VS_Editor.PNG (31.07 KiB) Viewed 2962 times

See attached project for any possible errors that I may have introduced by using Advanced Installer incorrectly?

Thanks
Mike
Attachments
DbInstallTest.zip
(12.42 KiB) Downloaded 266 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Possible new line in XML value ...

Hi Mike,

I looked over your project and I noticed that the "Port" element contains a space character and a new line character after the "[SVR_PORT]" property. Can you remove them and see if the problem persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Possible new line in XML value ...

thank you ... that solved the issue.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Possible new line in XML value ...

You're always welcome.

Just let us know anytime you encounter a problem.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”