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
- :
- Re: Recognize which features has been installed
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 17, 2011
03:11 AM
Recognize which features has been installed
Hello,
I need to find the name of the features which has been installed during installation of the application. Probably they are stored somewhere in registry but I don't know where I should look for to find them. Can you help me with that.
Thanks in advance.
Best Regards
I need to find the name of the features which has been installed during installation of the application. Probably they are stored somewhere in registry but I don't know where I should look for to find them. Can you help me with that.
Thanks in advance.
Best Regards
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
03:19 AM
Features in registry would be represented using GUIDs.
You can also check the install log. That has all the info in one place.
You can also check the install log. That has all the info in one place.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
03:28 AM
Unfortunately I cannot find in registry features which have been installed using Product Code.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
03:47 AM
You need to use the Feature GUID for the query.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
04:00 AM
Thank you for your replay.
Unfortunately I cannot find option to define feature GUID's in Features View window. Any idea how to do that?
Unfortunately I cannot find option to define feature GUID's in Features View window. Any idea how to do that?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
05:31 AM
You do not have to define those GUIDs. They are automatically added when you create a Feature in the Installshield IDE.
You can change those GUIDs later, though.
You have to look int the ORGANIZATION-->FEATURES.
Click on the feature you want and you can find its GUID listed on the right side GRID.
You can change those GUIDs later, though.
You have to look int the ORGANIZATION-->FEATURES.
Click on the feature you want and you can find its GUID listed on the right side GRID.
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
07:50 PM
If your project type is installscript.
"On install, feature states are stored in the InstallScript log created in C:\Program Files\InstallShield Installation Information\{ProductCode}\setup.ilg.
You can used the InstallScript log viewer (Tools->InstallScript->Log File Viewer) to open an view the information stored in the log."
"On install, feature states are stored in the InstallScript log created in C:\Program Files\InstallShield Installation Information\{ProductCode}\setup.ilg.
You can used the InstallScript log viewer (Tools->InstallScript->Log File Viewer) to open an view the information stored in the log."
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 18, 2011
03:35 AM
@MSIYER:
Unfortunately on the grid I see only a couple of options:
(Display Name, Description,Remote Installation, Destionation, Install Leverl, Display, Advertised,Required,Release Flags, Condition,Comments). I don't see GUID. Maybe because I'm using Basic MSI Project?
Best Regards
Unfortunately on the grid I see only a couple of options:
(Display Name, Description,Remote Installation, Destionation, Install Leverl, Display, Advertised,Required,Release Flags, Condition,Comments). I don't see GUID. Maybe because I'm using Basic MSI Project?
Best Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2011
04:24 PM
Features in MSI projects do not use GUIDs. If you want to query which features are present, you can use a combination of MsiEnumFeatures and MsiQueryFeatureState (C++), or equivalents in other languages or wrappers.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2011
02:30 AM
If your project is either Basic MSI or InstallScript MSI, you can iterate through the Feature table and call MsiGetFeatureState for each feature.
You don't need to read it directly from the registry.
I don't think MsiEnumFeatures is available in InstallScript language.
You don't need to read it directly from the registry.
I don't think MsiEnumFeatures is available in InstallScript language.