Hi,
I am having a show-stopper random problem with my advanced installer setup.
I am going to send you by email the aip file and wo detailed logs, one where everything works as expected and another where does not work well, I hope you can help me with this one.
The problem is the following:
- In the project there is a Network dialog where the user enters the IP configuration of several servers, this dialog is shown only during the first install.
- Each of the servers has a default IP that it is filled in the dialog automatically.
- When the program is already intalled I run a update which first uninstalls the previous version, during the uninstall phase few configuration files are backed up in the CommonAppDataFolder.
- After uninstall the setup is suppose to execute a XML search in the backed up confguration files which finds the previous IP configuration.
- Well, the problem is that the search it is not always executed, and when it is not executed instead of the previously configured IP addresses the program ends up with the default addresses.
I am going to send the files by email with the same subject as this topic.
In the "CeCoCo Operator Install Success.log" file you can find in the line 351 the text "AI_XmlLocator: Executing XML file:" the following lines set the value to several properties from the XML files, for example: C2A_SERVER_IP, LOCAL_IP, SERVER_IP, DCR_SERVER_IP.
In the "CeCoCo Operator Install Failure.log" file you can see that the AI_XmlLocator is not being executed.
THE FOLLOWING LINES ARE MISSING:
AI_XmlLocator: Executing XML file: "C:\ProgramData\CeCoCo\Ini\CMOperator.exe.config" locators
MSI (c) (98!08) [16:16:50:324]: PROPERTY CHANGE: Modifying C2A_SERVER_IP property. Its current value is '172.26.100.91'. Its new value: '172.26.130.134'.
MSI (c) (98!08) [16:16:50:324]: PROPERTY CHANGE: Adding LOCAL_IP property. Its value is '172.26.130.70'.
MSI (c) (98!08) [16:16:50:324]: PROPERTY CHANGE: Modifying SERVER_IP property. Its current value is '172.26.100.89'. Its new value: '172.26.130.134'.
AI_XmlLocator: Executing XML file: "C:\ProgramData\CeCoCo\Ini\CultureConfiguration.xml" locators
AI_XmlLocator: Executing XML file: "C:\ProgramData\CeCoCo\Ini\CcmRecordingService.exe.config" locators
MSI (c) (98!08) [16:16:50:324]: PROPERTY CHANGE: Modifying DCR_SERVER_IP property. Its current value is '172.26.100.25'. Its new value: '172.26.130.20'.
Action ended 16:16:50: AI_XmlLocator. Return value 1.
Could you help me to figure out why sometimes the installation is executing the search and others is ignoring it?
FOLLOW US
Get the latest news in Application Packaging