Edit XMl File Feature issue - Advanced Installer Community
santoshadvanceinst
Posts: 22
Joined: Mon Nov 05, 2012 12:19 pm

Edit XMl File Feature issue

Hi,

I am using Edit XMl file feature. I am trying to add text to some existing XML nodes using property like Username_Prop or Password_Prop etc. what I am finding is that it is adding one enter character in that node.
For Example if my node is <UserId></UserId> and I am using USERNAME_PROP property to populate it's value from SQL dialogue box then it is adding one enter character in it like <UserId>
sa</UserId> instead of <UserId>sa</UserId> while updating XML. Is this a bug or there is a work around to this?

Thanks for your help.

Santosh
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Edit XMl File Feature issue

Hi Santosh,

Can you please attach on this thread a sample project file made with Advanced Installer that reproduces this problem?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
santoshadvanceinst
Posts: 22
Joined: Mon Nov 05, 2012 12:19 pm

Re: Edit XMl File Feature issue

Hi,

Attached is the sample file.

Santosh
Attachments
Latest_Patch.aip
(80.24 KiB) Downloaded 386 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Edit XMl File Feature issue

Hello Santosh,

First of all I apologize for my delayed reply.

I've tested your scenario but I cannot replicate the behavior. Can you replicate the behavior on multiple clean machines? If so, can you try to isolate the issue in a sample and send it us alongside a detailed step by step test case scenario which we can follow? By sample I mean a sample .aip (project file) and all of its referenced files so we can build and test on our side. Also, you can try to strip down your .aip (project file) to a basic configuration containing only the settings and referenced files necessary to build and test the scenario on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”