cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
moinkhan
Level 5

Error updating XML File

I am using Basic MSI project in IS2008, my project was created under the IS12 and then upgrade it to IS2008, the problem is that sometime during installation I got error message that unable to update/open the config file, and when I go and check the config file permission on the directory it set to RHSAO, sometime it work and sometime it gives this error, I already verified my source file attribute and they are fine. one more thing, if I create the file thru IS2008 then I do not see any problem, it happen only when I open the file for update.

Error 27520.Error opening XML file C:\Program Files\SMS\Bin\EventListener.exe.config. 1
MSI (s) (38!18) [22:23:13:355]: Product: My System -- Error 27520.Error opening XML file C:\Program Files\SMS\Bin\EventListener.exe.config. 1
Labels (1)
0 Kudos
(2) Replies
Alpesh
Flexera Alumni

Hi Moin,

I hope this information from a different thread helps you -

If InstallShield encounters a problem reading the xml file then it throws error 27520 which reads 'error opening file' although the problem is with reading the xml in the file not in opening it! This is what is currently happening when I add the DOCTYPE declaration to the xml file.

Here are the threads which may interest you -
http://community.macrovision.com/showthread.php?t=150017

http://community.macrovision.com/showthread.php?t=143739&page=5

Thanks,
Alpesh
0 Kudos
moinkhan
Level 5

Alpesh wrote:
Hi Moin,

I hope this information from a different thread helps you -

If InstallShield encounters a problem reading the xml file then it throws error 27520 which reads 'error opening file' although the problem is with reading the xml in the file not in opening it! This is what is currently happening when I add the DOCTYPE declaration to the xml file.

Here are the threads which may interest you -
http://community.macrovision.com/showthread.php?t=150017

http://community.macrovision.com/showthread.php?t=143739&page=5

Thanks,
Alpesh



Hi Alpesh,

I can understand the error opening file cause by reading the actual XML file, I mostly got the followin error and I now able to capture the error in log file, and I am pasting it here, Please look into this:

InstallShield 17:10:33: Node name: 'add' - Attribute name = 'value', Old Value = 'http://localhost/Imaging/services/indexmanager/IndexService.asmx', New value = 'http://localhost/Imaging/services/indexmanager/IndexService.asmx', Actual New Value = 'http://localhost/Imaging/services/indexmanager/IndexService.asmx'
InstallShield 17:10:33: Saving XML file 'C:\Program Files\SMS\Web.config'
InstallShield 17:10:33: Formatting XML document
InstallShield 17:10:33: Using MSXML version 3
InstallShield 17:10:33: Loading stylesheet
InstallShield 17:10:33: Successfully loaded stylesheet
InstallShield 17:10:33: Using MSXML version 3
InstallShield 17:10:33: Done Formatting XML document
Error 27519.Error updating XML file C:\Program Files\SMS\Web.config. -2147024891
MSI (s) (D8!88) [17:19:14:339]: Product: My System -- Error 27519.Error updating XML file C:\Program Files\SMS\Web.config. -2147024891

Error 27519.Error updating XML file C:\Program Files\SMS\Web.config. -2147024891
MSI (s) (D8!88) [17:19:31:127]: Product: My System -- Error 27519.Error updating XML file C:\Program Files\SMS\Web.config. -2147024891



Thanks,
-Moin
0 Kudos