This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Error modifiying XML file 27519
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 13, 2008
06:14 PM
Error modifiying XML file 27519
I've seen others complain about this in past releases but I can not find a work around.:mad:
Details:
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?
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?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 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.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 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
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