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
- :
- Feature not detected: InstallValidate and MsiGetFeatureState
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
‎Nov 15, 2009
10:08 PM
Feature not detected: InstallValidate and MsiGetFeatureState
Hi,
I need to do a minor upgrade for my product. However I noticed that the INSTALLVALIDATE action always fails to detect the features in my product because of which the REMOVE=ALL is set and the product gets uninstalled. The log file indicate as follows:
Action start 1:07:01: InstallValidate.
MSI (s) (1C:B8) [01:07:01:620]: Feature: Server; Installed: Absent; Request: Null; Action: Null
MSI (s) (1C:B8) [01:07:01:620]: Feature: Database; Installed: Absent; Request: Null; Action: Null
MSI (s) (1C:B8) [01:07:01:620]: Feature: AppServerADAMIntegration; Installed: Absent; Request: Null; Action: Null
Also, I noticed that MsiGetFeatureState API also fails for the same set of features.
What could the issue be? Where does the InstallValidate or MsiGetFeatureState check to see if the feature is installed?
Thanks,
Suchin
I need to do a minor upgrade for my product. However I noticed that the INSTALLVALIDATE action always fails to detect the features in my product because of which the REMOVE=ALL is set and the product gets uninstalled. The log file indicate as follows:
Action start 1:07:01: InstallValidate.
MSI (s) (1C:B8) [01:07:01:620]: Feature: Server; Installed: Absent; Request: Null; Action: Null
MSI (s) (1C:B8) [01:07:01:620]: Feature: Database; Installed: Absent; Request: Null; Action: Null
MSI (s) (1C:B8) [01:07:01:620]: Feature: AppServerADAMIntegration; Installed: Absent; Request: Null; Action: Null
Also, I noticed that MsiGetFeatureState API also fails for the same set of features.
What could the issue be? Where does the InstallValidate or MsiGetFeatureState check to see if the feature is installed?
Thanks,
Suchin
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2009
11:45 AM
Well I didn't see REMOVE property being set to ALL in the log snippet you provided. It seems that the real problem is that MSI thinks that none of the three features are actually currently installed. So when the minor upgrade takes place and REINSTALL=ALL is passed in, no features are reinstalled.
I suggest you try installing your base version on a clean machine and verify that the MSI log reports that your features were installed. Only then try to run the minor upgrade.
A tool that may come in handy for diagnostics is InstallShield MSI Sleuth. It can tell you the installed states of features for example.
Regards,
Ajay
I suggest you try installing your base version on a clean machine and verify that the MSI log reports that your features were installed. Only then try to run the minor upgrade.
A tool that may come in handy for diagnostics is InstallShield MSI Sleuth. It can tell you the installed states of features for example.
Regards,
Ajay
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2009
01:06 AM
Thanks Ajay. I did not include the whole of the log file, just a snippet to indicate that features are not detected.
I will try out the Sleuth tool you suggested.
But what beats me is that there are number of features in our product, broadly classified as Server and Client. All the server features are properly detected, only the client ones are not. Is there a specific location that the msi searches for, like say some registry entry, to figure out that a certain feature is installed?
-Suchin
I will try out the Sleuth tool you suggested.
But what beats me is that there are number of features in our product, broadly classified as Server and Client. All the server features are properly detected, only the client ones are not. Is there a specific location that the msi searches for, like say some registry entry, to figure out that a certain feature is installed?
-Suchin
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 30, 2009
03:45 AM
Suchin,
I was stopped by the same problem when my products performed Repair action.
There was only one file in a merge module, which was depended by one feature, needed to reinstall, but all features states were "Installed: Absent; Request: Null; Action: Null" and the property "REMOVE" was set to "ALL".
I have been stuck here a few days and found nothing useful. Do you find the answers of your questions or anything new? Thank you in advance.
Best Regards,
Michael
I was stopped by the same problem when my products performed Repair action.
There was only one file in a merge module, which was depended by one feature, needed to reinstall, but all features states were "Installed: Absent; Request: Null; Action: Null" and the property "REMOVE" was set to "ALL".
I have been stuck here a few days and found nothing useful. Do you find the answers of your questions or anything new? Thank you in advance.
Best Regards,
Michael
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)