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
- :
- SdAskOptionsList is not working for me?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Apr 10, 2014
10:08 AM
SdAskOptionsList is not working for me?
I am using a self created features but my list of items are not being displayed
Here I my code snippet (all variables are defined properly)
Here I my code snippet (all variables are defined properly)
listDirs = ListCreate(STRINGLIST);
// Find requested elements place them into the list.
FindAllDirs (BackupDir, EXCLUDE_SUBDIR, listDirs);
nResult = ListCount(listDirs);
if ( nResult > 0) then
szSaveMEDIAValue = MEDIA;
MEDIA = "MyList";
// Get the first number from the list.
nResult = ListGetFirstString (listDirs, svLine);
// Loop while not at end of list.
while (nResult != END_OF_LIST)
// Display the number retrieved from the list.
FeatureAddItem(MEDIA, svLine, 0, FALSE);
// Get the next number from the list.
nResult = ListGetNextString (listDirs, svLine);
endwhile;
SdAskOptionsList ("title", "msg", "", EXCLUSIVE);
//Restore the media
MEDIA = szSaveMEDIAValue;
endif;
ListDestroy(listDirs);
(1) Reply