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
- :
- XML File Changes Leaves file readonly and hidden after rollback
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
Jun 19, 2008
08:17 PM
XML File Changes Leaves file readonly and hidden after rollback
Hi,
I am using 2008 Professional and am trying to modify a web.config using XML File Changes (The web config is being copied as part of the installation process then the connection string modified).
As long as the installation completes succesfuly, all is well, but if during the installation something goes wrong, the rollback runs, but leaves the web.config behind with readonly and hidden properties.
I have found only one previous post on this forum about this issue, but no one responded.
If there is no fix for this is it better to modify the web config using some code I found posted on here to do it through the InstallScript?
Thanks
I am using 2008 Professional and am trying to modify a web.config using XML File Changes (The web config is being copied as part of the installation process then the connection string modified).
As long as the installation completes succesfuly, all is well, but if during the installation something goes wrong, the rollback runs, but leaves the web.config behind with readonly and hidden properties.
I have found only one previous post on this forum about this issue, but no one responded.
If there is no fix for this is it better to modify the web config using some code I found posted on here to do it through the InstallScript?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 11, 2008
05:55 AM
I found that this CA is responsible for this. And it runs in System context, so that explains the attributes on the file. My opinion is that you need to remove this CA and come up with a better mechanism of restoring the web.config file to it's original state in case the installation fails.
Tell me how it goes.
Peter.
Tell me how it goes.
Peter.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)