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
- :
- Self-Healing acting inconsistently
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Feb 05, 2010
06:35 AM
Self-Healing acting inconsistently
I have a basic MSI project that consists of several features. We do not advertise the features, but simply use them to organize all the files. The files in particular that are not consistently self-healing themselves are xml files. What I am seeing is that when the files are in the parent feature, they self heal properly, but if they are in a child feature they do not.
Is there an explanation on why this could be happening?
Thanks
Is there an explanation on why this could be happening?
Thanks
(4) Replies
‎Feb 05, 2010
07:44 AM
Repairs are triggered by corruption of keys files of components and effect all of the components in the feature to which said component belongs to.
That said, XML files are non-versioned files so the only type of repair I might expect is to replace a missing xml file. An xml file that has been modified by the user typically wouldn't be 'repaired' since it now has user data and the default file versioning rules would prevent this unless you use version lying ( 'Always Overwrite' ).
It's hard to be more specific without looking at your actual installer and log file.
That said, XML files are non-versioned files so the only type of repair I might expect is to replace a missing xml file. An xml file that has been modified by the user typically wouldn't be 'repaired' since it now has user data and the default file versioning rules would prevent this unless you use version lying ( 'Always Overwrite' ).
It's hard to be more specific without looking at your actual installer and log file.
‎Feb 05, 2010
12:53 PM
Repair is triggered through several ways. Advetised shortcuts, File Extensions, COM Activation. Even if your XML file is a keyfile, there would have to be another component that has a keyfile with one of the both repair entry points to trigger the repair automatically.
It's also possible for you to write MSI calls inside of your application to enhance this capability.
http://support.microsoft.com/kb/290997
http://msdn.microsoft.com/en-us/library/aa302344.aspx
http://msdn.microsoft.com/en-us/library/aa302344.aspx#wi_integration_topic5
It's also possible for you to write MSI calls inside of your application to enhance this capability.
http://support.microsoft.com/kb/290997
http://msdn.microsoft.com/en-us/library/aa302344.aspx
http://msdn.microsoft.com/en-us/library/aa302344.aspx#wi_integration_topic5