简体   繁体   English

为什么Installshield 2008不回滚XML更改?

[英]Why does Installshield 2008 not roll back XML Changes?

I am using Installshield 2008 Premier to edit some XML files which are already on the targetsystem. 我正在使用Installshield 2008 Premier来编辑一些目标系统上已经存在的XML文件。 This process does work fine with the "XML file changes" function. 通过“ XML文件更改”功能,此过程可以正常工作。

My problem is, that Installshield does not remove these changes on uninstall. 我的问题是,Installshield不会在卸载时删除这些更改。 I have set the "Remove element on uninstall" checkbox within the added element but InstallShield seems to consequently ignore this. 我在添加的元素中设置了“在卸载时删除元素”复选框,但是InstallShield因此似乎忽略了这一点。

Has anybody an idea how to solve this problem? 有谁知道如何解决这个问题?

Unfortunately, it doesn't appear solvable. 不幸的是,它似乎无法解决。 Basically, the xml changes made during the install dont appear to be "finalized" until the installation actually completes. 基本上,在安装过程中完成的xml更改似乎不会“完成”,直到安装真正完成为止。 Because of this, the xml file appears to get left with the "readonly" and "hidden" attributes set. 因此,xml文件似乎保留了“ readonly”和“ hidden”属性集。

In my experience with IS2009, I've had to write an installScript to manually handle the changes (and removal). 以IS2009的经验,我不得不编写installScript来手动处理更改(和删除)。

There is a quite a lot of people with this issue over on the IS community forums, but sadly no official answer or acknowledgement.. 在IS社区论坛上,有很多人都遇到了这个问题,但是很遗憾,没有官方的答复或认可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM