Announcement

Collapse
No announcement yet.

Abort Action

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Abort Action

    As we all know, persons with a dial-up Internet connection (DUIC) not logged on to the net get a blank screen when clicking on a web link.

    I would like to give the end-user with a DUIC the option to abort the Open URL action if he/she 'is not' connected when using the CD.

    Currently, my menu's text/image object actions for the web link is setup to Play Wav File | Show Message | Open URL with Boolean of %SelectedProduct% = ProductA. I want to give the person the option to abort launching the browser when the Show Message dialog appears if there 'is not' an active connection.

    Can this be accomplished? If yes, how?

    Signed,



  • #2
    Re: Abort Action

    Hi,
    Try using a Yes/No Dialog. Simply ask the user if they are connected to the Internet. If they respond YES, OPEN the URL. If they respond NO, display a DIALOG and tell then to connect to the Internet and try the button again.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Abort Action

      Mark, thanks for the reply. However, I am a newbie and need some hand holding on "exactly" how to execute your instructions.

      I added the Yes/No dialog (without a any conditions). The dialog box pops up at runtime (preview), but when I click 'No' it opens the url. I guess the problem is the absence of a condition(s), which I find somewhat difficult to understand. Thus, I really need 'detailed' instructions on this one from you or someone else reading this post that can help me.

      Signed,

      Really


      Originally posted by Mark:
      Hi,
      Try using a Yes/No Dialog. Simply ask the user if they are connected to the Internet. If they respond YES, OPEN the URL. If they respond NO, display a DIALOG and tell then to connect to the Internet and try the button again.

      mark.


      [This message has been edited by eljay (edited 03-22-2001).]

      Comment


      • #4
        Re: Abort Action

        Hi,
        All the Yes/No Dialog does is set a variable to a certain value, either YES or NO. If you look at the Yes/No action there is a Name section, which uses %MyVar% by default.
        So when the dialog appears, and the user selects the Yes button, %MyVar% is set to YES, if the user selects the No button then %MyVar% is set to NO.
        So you would have the Yes/No action, then after that you will have the OPEN URL action which would have the Boolean condition: %MyVar% = YES. So basically the OPEN URL action will only occur if %MyVar% = YES, if the user selected Yes on the Yes/No dialog. Then you would have the Show Message action (if you want) with the Boolean condition that %MyVar% = NO, so this action will never occur unless %MyVar% = NO, unless the user selected NO on the Yes/No dialog.

        mark.

        [This message has been edited by Mark (edited 03-23-2001).]
        MSI Factory The Next Generation Intelligent Setup Builder

        Comment


        • #5
          Re: Abort Action

          Mark, thanks a million for your reply! Your response reinforced the solution to the problem, which I had already figured out before reading your e-mail and forum replies. Now I have another question.

          I have designated the same Yes/No dialog for multiple product web sites (i.e., TextObjects). Once a user connects to the Net (or opens a web page) after clicking Yes in the dialog box for one site, is there any way to disable the Yes/No dialog for other web sites? In other words, the user is now logged on to Net, hence, there is no need for the other Yes/No dialog boxes.

          Hopefully, you or someone else can help me with this one.

          Thanks Again!

          Signed,

          Getting Better

          [This message has been edited by eljay (edited 03-23-2001).]

          Comment


          • #6
            Re: Abort Action

            Hi,
            What you can do is add a Boolean condition to all Yes/No dialogs. Lets say I have two Yes/No dialogs, and both of them set %Internet% to YES if the user is connected (they selected Yes) and NO if the user is not connected. Now every instance of the Yes/NO dialog will have the following Boolean Condition: "%Internet% <> YES". Which basically means only display this dialog if the users has not already selected YES from one of the Yes/No dialogs.
            The first time the user click on one of the links the Dialog will come up, because %Internet% does not have a value yet, but if he or she selects Yes the dialog will never appear again. If the user decides to select No, the dialog will continue to appear whenever they click on a link, until they select Yes.

            mark.
            MSI Factory The Next Generation Intelligent Setup Builder

            Comment


            • #7
              Re: Abort Action

              Mark, it works like charm!

              Thanks again... You're the greatest!!!!

              One humble suggestion for you... When giving instructions on Boolean's, use both the Operator's 'text and symbol' description instead of the symbol alone. For example, "Yes/NO dialog will have the following Boolean Condition: "%Internet% <> (Not equal) YES". I didn't know which of text Operators was the <> symbol. So, after selecting a couple wrong operators, I finally got to the right one. I think this method will make you instructions even clearer and save the user a little time.

              [This message has been edited by eljay (edited 03-26-2001).]

              Comment


              • #8
                Re: Abort Action

                Hi,
                Thanks for the advice eljay, I will try to remember that next time.


                mark.
                MSI Factory The Next Generation Intelligent Setup Builder

                Comment

                Working...
                X