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: How to find the installed features during maintenance mode?
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
‎Jan 22, 2008
09:13 AM
How to find the installed features during maintenance mode?
Hi,
I am calling OnfirstUibefore() in OnmaintUibefore() as i have to dispaly UI to the user everytime. But i have to disable features that have already installed on select feature screen during maintenance mode. As if i'll not disable those features then installer will uninstall those feature if somebody deselect those features. So, i want to disable checkboxes of those features that have already installed.
Note: I do not want to hode them as i want to display the user that these much features have already installed.
Featureisitemselected function is not working properly in my case as if somebody selects the feature(which is not already installed) and then come back again on that screen through navigation(back or next button) then this feature become disable as the above function checks for the selection of the feature but in actual this feature is not installed right now, it is just selected for installation by the user.
Thanks.
I am calling OnfirstUibefore() in OnmaintUibefore() as i have to dispaly UI to the user everytime. But i have to disable features that have already installed on select feature screen during maintenance mode. As if i'll not disable those features then installer will uninstall those feature if somebody deselect those features. So, i want to disable checkboxes of those features that have already installed.
Note: I do not want to hode them as i want to display the user that these much features have already installed.
Featureisitemselected function is not working properly in my case as if somebody selects the feature(which is not already installed) and then come back again on that screen through navigation(back or next button) then this feature become disable as the above function checks for the selection of the feature but in actual this feature is not installed right now, it is just selected for installation by the user.
Thanks.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 15, 2008
06:04 AM
Anyone know?
😞 Help me pls.
😞 Help me pls.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 15, 2008
10:56 AM
Here is an idea for you.
You could loop through the features that are installed and not installed and then list them in the AskOptions (NONEXCLUSIVE) dialog.
You could loop through the features that are installed and not installed and then list them in the AskOptions (NONEXCLUSIVE) dialog.
//listCompList = ListCreate( STRINGLIST );
MediaGetData( MEDIA, MEDIA_FIELD_MEDIA_FLAGS, nMediaFlags, szIgnore );
//FeatureSetupTypeGetData (MEDIA, SETUP_TYPE, SETUPTYPE_INFO_DESCRIPTION, nvInfo, svInfo );
FeatureListItems(MEDIA, "", listCompList);
nResult = ListGetFirstString( listCompList, szComponent );
while ( nResult != END_OF_LIST )
nResult = FeatureGetData(MEDIA, szComponent, FEATURE_FIELD_SELECTED, nvSelected, svNULL);
nResult = FeatureGetData(MEDIA, szComponent, FEATURE_FIELD_DISPLAYNAME, nvNULL, strDisplay);
if ( (nvSelected = TRUE) && ( strDisplay != "" ) ) then
// Here is the list of Features that is already installed.
endif;
if nvSelected = FALSE then
// Here is the list of Features that is not already installed.
endif;
nResult = ListGetNextString (listCompList, szComponent);
endwhile;
ListDestroy( listCompList );
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 18, 2008
08:43 PM
TheTraveler wrote:
Here is an idea for you.
You could loop through the features that are installed and not installed and then list them in the AskOptions (NONEXCLUSIVE) dialog.//listCompList = ListCreate( STRINGLIST );
MediaGetData( MEDIA, MEDIA_FIELD_MEDIA_FLAGS, nMediaFlags, szIgnore );
//FeatureSetupTypeGetData (MEDIA, SETUP_TYPE, SETUPTYPE_INFO_DESCRIPTION, nvInfo, svInfo );
FeatureListItems(MEDIA, "", listCompList);
nResult = ListGetFirstString( listCompList, szComponent );
while ( nResult != END_OF_LIST )
nResult = FeatureGetData(MEDIA, szComponent, FEATURE_FIELD_SELECTED, nvSelected, svNULL);
nResult = FeatureGetData(MEDIA, szComponent, FEATURE_FIELD_DISPLAYNAME, nvNULL, strDisplay);
if ( (nvSelected = TRUE) && ( strDisplay != "" ) ) then
// Here is the list of Features that is already installed.
endif;
if nvSelected = FALSE then
// Here is the list of Features that is not already installed.
endif;
nResult = ListGetNextString (listCompList, szComponent);
endwhile;
ListDestroy( listCompList );
3Q very much.