Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug in SdAskOptions()?

77 views
Skip to first unread message

Mickey Ferguson

unread,
Aug 13, 1999, 3:00:00 AM8/13/99
to
I've set up my MEDIA so that two of the components are not visible, yet when I call SdAskOptions(), I can see all three.  The last two should not be visible.  Any idea why?  Is this a bug in my code or in SdAskOptions()?
 
  ComponentAddItem(SERVER_OPTIONALCOMPONENTS, CAD_INTERFACE, 0, FALSE);
  ComponentSetData(SERVER_OPTIONALCOMPONENTS, CAD_INTERFACE,
                   COMPONENT_FIELD_VISIBLE, TRUE, "");
  ComponentSelectItem(SERVER_OPTIONALCOMPONENTS, CAD_INTERFACE,
                      gbCADInterface);
  ComponentAddItem(SERVER_OPTIONALCOMPONENTS, ALIFAX, 0, FALSE);
  ComponentSetData(SERVER_OPTIONALCOMPONENTS, ALIFAX,
                   COMPONENT_FIELD_VISIBLE, FALSE, "");
  ComponentSelectItem(SERVER_OPTIONALCOMPONENTS, ALIFAX, gbALIFax);
 
  ComponentAddItem(SERVER_OPTIONALCOMPONENTS, ALIPAGE, 0, FALSE);
  ComponentSetData(SERVER_OPTIONALCOMPONENTS, ALIPAGE,
                   COMPONENT_FIELD_VISIBLE, FALSE, "");
  ComponentSelectItem(SERVER_OPTIONALCOMPONENTS, ALIPAGE, gbALIPage);
 
  gsOptionalMedia = SERVER_OPTIONALCOMPONENTS;
 
--------------------------------
 
  sTitle = @PRODUCT_NAME + " Optional Features Software Module Selection";
  sMsg2  = "When you are finished making your selections, click Next to continue.";
 
  gsSavedMediaName = MEDIA;
  MEDIA = gsOptionalMedia;
 
  if (SdAskOptions(sTitle, "", sMsg2, "", "", NONEXCLUSIVE) = BACK) then
 
...

 

Stefan Krueger

unread,
Aug 14, 1999, 3:00:00 AM8/14/99
to
Try the SdAskOptionsList. This may be a limitation in SdAskOptions.

--
Stefan Krueger
Independent Setup Consultant

// InstallSite - Resources for Setup Developers
// http://www.installsite.org

My reply-to address is invalid to avoid spam.
If you are looking for individual assistance, like e-mail support,
please mail to in...@installsite.org for support options.

Mickey Ferguson <MFer...@peinc.com> schrieb in im Newsbeitrag:
37b4b...@news.installshield.com...

Mickey Ferguson

unread,
Aug 14, 1999, 3:00:00 AM8/14/99
to
No offense, Stefan, especially because I know you are simply volunteering
your time and not an InstallShield employee, but isn't it being quite
generous in using the term 'limitation'? It specifically says in the
ComponentSetData() function that this is how to make a component not
visible. Oh well, I guess it's on to writing yet another custom dialog...

InstallShield employees, please add this to your bug list. And while you're
at it, could we also have a way to set a component as disabled so that it is
visible, but grayed out and cannot be changed by the user?

Stefan Krueger <@> wrote in message <37b5e...@news.installshield.com>...


>Try the SdAskOptionsList. This may be a limitation in SdAskOptions.
>
>--
>Stefan Krueger
>Independent Setup Consultant
>
>// InstallSite - Resources for Setup Developers
>// http://www.installsite.org
>
>My reply-to address is invalid to avoid spam.
>If you are looking for individual assistance, like e-mail support,
>please mail to in...@installsite.org for support options.
>
>Mickey Ferguson <MFer...@peinc.com> schrieb in im Newsbeitrag:
>37b4b...@news.installshield.com...

Stefan Krueger

unread,
Aug 15, 1999, 3:00:00 AM8/15/99
to
It's short-sighted design. Just like the SdSetupType dialog that doesn't
show your actual setup types, or the SdAskOptions dialog showing path-like
expressions for sub-components, or...

--
Stefan Krueger
Independent Setup Consultant

// InstallSite - Resources for Setup Developers
// http://www.installsite.org

My reply-to address is invalid to avoid spam.
If you are looking for individual assistance, like e-mail support,
please mail to in...@installsite.org for support options.

Mickey Ferguson <MFer...@peinc.com> schrieb in im Newsbeitrag:

37b5f...@news.installshield.com...


> No offense, Stefan, especially because I know you are simply volunteering
> your time and not an InstallShield employee, but isn't it being quite
> generous in using the term 'limitation'? It specifically says in the
> ComponentSetData() function that this is how to make a component not
> visible. Oh well, I guess it's on to writing yet another custom dialog...
>
> InstallShield employees, please add this to your bug list. And while
you're
> at it, could we also have a way to set a component as disabled so that it
is
> visible, but grayed out and cannot be changed by the user?
>
> Stefan Krueger <@> wrote in message <37b5e...@news.installshield.com>...
> >Try the SdAskOptionsList. This may be a limitation in SdAskOptions.
> >
> >--
> >Stefan Krueger
> >Independent Setup Consultant
> >
> >// InstallSite - Resources for Setup Developers
> >// http://www.installsite.org
> >
> >My reply-to address is invalid to avoid spam.
> >If you are looking for individual assistance, like e-mail support,
> >please mail to in...@installsite.org for support options.
> >
> >Mickey Ferguson <MFer...@peinc.com> schrieb in im Newsbeitrag:
> >37b4b...@news.installshield.com...

0 new messages