divyaniP
Posts: 16
Joined: Mon Dec 21, 2020 1:15 pm

New files are not updating properly for upgrade

Mon Jun 21, 2021 4:50 am

Hello Support,

We have configuration file(.config) which is XML file.
After installation, we put this file in the application folder.

Now we have an upgrade for the installer. In this upgrade, we have some Nodes from an XML file.
During the upgrade, we have a search that reads previous nodes and shows them on installer UI.

Now, hereafter installation, the config file(XML file) is not updated.
We still can see previous Nodes after removing them in the new version of the installer.

Please help us to remove these unnecessary nodes from the config file.
How can we do that?

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: New files are not updating properly for upgrade

Tue Jun 22, 2021 6:58 am

Hello,

Please check the Save user input in XML file and retrive values on upgrade topic where you can find a sample project with this exact scenario.

During installation, the user needs to enter some input that is saved into an XML file. During an upgrade, the installer retrieves the values from the XML file and display them on the dialogs. The user can change them and the new changes are saved in the XML file.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

divyaniP
Posts: 16
Joined: Mon Dec 21, 2020 1:15 pm

Re: New files are not updating properly for upgrade

Tue Jun 22, 2021 8:57 am

Hello Support,


I have gone through Save user input in XML file and retrive values on upgrade topic as you said.

We have already implemented this. Our values are getting modified that's not the issue.

Problem is, We have a new version of XML file for an upgrade in which we have removed some nodes from it.

Those removed should not appear after the upgrade.
But we are still getting those as they were part of the previous version.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: New files are not updating properly for upgrade

Thu Jul 15, 2021 3:16 pm

Hello Divyani,

Please accept my apologies for such a delayed reply, this thread seems to somehow have gotten lost.

I see you did not followup on this either, are you still requiring assistance with this?

If so, please let me know and I will try to assist as soon as possible.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”