PDA

View Full Version : Error modifiying XML file 27519



TopCat
03-13-2008, 06:14 PM
I've seen others complain about this in past releases but I can not find a work around.:mad:

Details:

IS 2008 Premier
Running inside of VS 2005
Error 27519. Error updating XML file ... -2147024891


I am trying to modify an xml file using the XML File Changes feature.

The xml file is the only file in the component and is marked as the key file. The error is because the file is copied onto the target machine as read only and it cannot be modified during the install process, but the source location file is not read only. I have also tried overriding the attributes of the file but it stays as read only on the target machine. How can I get around this?

MichaelU
03-14-2008, 10:25 AM
I'm not sure why the file would end up read-only when it wasn't to begin with. If this is an MSI based project, you might try building a compressed release (so it can't copy the read-only nature of a CD-ROM disc), or making sure the custom action used to remove the read-only bit is deferred in system context. (If it's InstallScript, compression again might help to avoid the problem, but there won't be any contexts to worry about.)

technomun
10-03-2011, 10:13 AM
According to Installshield, here are the steps to fix. I haven't verified this works yet but will update this post if it doesn't.

To fix this issue:
1) Please navigate to Custom actions and Sequence view
2) Navigate to "ISXmlInstall" custom action
3) Set the ISXmlInstall custom action's In-script execution to "Deferred execution"

Rebuild the project and that should update the XML file on the network drive.

AJungen
08-09-2012, 03:07 AM
Thank You !

We are using IS2012 Premier and had the same Problem.
The solution worked!

We had no problems with normal Appdata path,
but the users Appdata was set to a network path ...

Tanks again.

Andreas