Reputation: 35
I have a Windows installer package which causes Windows repair mechanism to pop up randomly. From the event viewer logs, I see the below message
Detection of product 'Product ID'. feature 'feature_name' failed during request for component 'component id'
However apart from this I don't see any other messages in the Event viewer's Application logs. According to this MSDN article https://learn.microsoft.com/en-us/windows/win32/msi/searching-for-a-broken-feature-or-component, I see that the above message should be followed by another message given below
Detection of product 'MyProduct', feature 'MyFeature', component 'MyComponent' failed
But I don't see this message in the Event Viewer logs and I am confused by this issue on how to fix it. Any idea on what is causing this?
Upvotes: 1
Views: 384
Reputation: 42136
Self-Repair: This is self-repair. I have written a lot about it before:
1)
Self-repair explained, 2)
Self-repair solutions (section 5 here), 3)
Self-repair avoidance
Cause: Essentially a key path check on application launch reveals a missing resource. Self-repair ensues to correct the situation (put file or registry key in place). Sometimes the repair fails for various reasons as explained in above link - and keeps repeating endlessly (from various triggers).
Shortlist Debugging: Self-repair is a simple concept, but can be quite difficult to wrap your head around to solve reliably at times. Some first things to try:
- Verify Problem: It is very important to estimate whether this problem is a real one or a developer box problem. Test on virtuals.
- Anti-Virus: I would try to disable my anti-virus or security suite and then try to launch the product. You should obviously first scan the files to verify the are not flagged as dangerous.
- Advertised Shortcut: I would also try to launch the file in question directly from the installation folder without using a shortcut (see section 5.2 here).
You can determine what MSI package this relates to as follows:
Find these VBScripts here as well: https://github.com/glytzhkof/all
Upvotes: 1