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!

Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

XML file on target PC cannot be modified

Dear Advanced Installer Support Team,

We would like to modify a file which is in the target PC's
C:\Program Files (x86)\Kofax\Power PDF 41\Resource\PowerPDF\UILayout
folder.

The files is an XML file, we would like to get rid of a section and replace it by another section.

I will send you the original XML, the desired XML. (Just search for the "Therefore" keyword in the file, that block should be replaced.)
Also I will send you a small sample .aip project that should modify the XML but we get an invalid XML after we install the TheChangeXMLServer.exe

Could you please take a look at the sample project and correct the Publish_Mode.xml in a way that we get the desired XML?

Thank you in advance :)

Best regards,
Zsolt Kollarits
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: XML file on target PC cannot be modified

Hello Zsolt,

Sorry for the delayed reply on this.

I have replied to you over the email.

As a short decription for others facing a similar scenario, if you want to update a section of a file already present on the disk, then you can try to use a New Text File Update operation.

Hopa that helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: XML file on target PC cannot be modified

Hi Liviu,

Thank you very much, your solution seems to be working fine. :)

Best regards,
Zsolt
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: XML file on target PC cannot be modified

You're welcome, Zsolt!

Also, you first approach should work too. I have forwarded your XML file to our development team and hopefully this will be fixed in a future version of Advanced Installer. We will let you know as soon as we have more information.

Please let me know if there is anything else I can help you with.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”