Announcement

Collapse
No announcement yet.

Conditions

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

  • Conditions

    I have gone through all your tutorials and I was wondering if you have anything more in depth on conditions? The tutorials that you have are great, but they only cover a fraction of what I need to do. I am not experienced in this type of thing and I purchased this product to make my software more user-friendly. Specifically, I would like my customers to install Acrobat Reader, then accept or decline an end-user license agreement, then read some instructions on use of my software, and then open the presentation. I have that all done; however, I would like to make the CD so that after my customer has done all that, the next time they insert the CD, they can skip the license agreement and instructions part and just go to the presentation. Is this possible with this software? Also, are you going to produce more tutorials? I hope so, I could use them. Thank you.

  • #2
    Re: Conditions

    Hi,
    One way you could accomplish this would be by creating a unique key in the registry. So the License Agreement and Instructions pages would only be displayed if that registry key did not exist. Then when the user gets to the Presentation, the registry key would be created. That was just a very general outline, if you would like a more in-depth description I can provide you with it.
    Also you might try looking at the: "Multiple Pages" template for information on reading and writing to the registry.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Conditions

      Thank you Mark,

      Yes, I would like a more in-depth description, that sounds like what I want to do.

      stephpeck

      Comment


      • #4
        Re: Conditions

        Hi, Basically do this:
        1) On the first page, after the documentation that you want skipped, have a MODIFY REGISTRY action on the PAGE OPEN event. Use these settings:
        Registry Action: Create Key
        Main Key: HKEY_CLASSES_ROOT
        Sub Key: Your Product Name
        Name: Viewed
        Type: REG_SZ
        2) Then on the first page of the documentation that you want skipped create two actions: READ FROM REGISTRY and JUMP TO PAGE, for the PAGE OPEN event.
        For the READ FROM REGISTRY action use these settings:
        Name: %RegVar%
        Default: FALSE
        Main Key: HKEY_CLASSES_ROOT
        Sub Key: Your Product Name
        Value Name: Viewed
        And check: TRUE if exists.
        For the JUMP TO PAGE action use these settings:
        Page Name: The page you want the users to skip to, probably the one with the MODIFY REGISTRY action.
        Now add a Boolean condition: "%RegVar% = TRUE".
        Try this out; it should give you the functionality that you desire.

        mark.

        MSI Factory The Next Generation Intelligent Setup Builder

        Comment


        • #5
          Re: Conditions

          Mark,

          Thank you so much for your help! The information that you gave me works; however, let me be a little more specific about what I want to do. I have an End-User License Agreement page and a Forward page for my manual. If the user goes to the End-User License Agreement page and selects "Accept" then they go on to the Forward page. If the user selects "decline" then the program exits. I want those who select "Accept" to be able to skip the End-User License Agreement and the Forward page. But, those who "Decline", I want them to have to "Accept" before they can view my manual. Can you replace the "Viewed", in your instructions above, with "Accept", or something like that? Thank you again for your help.

          [This message has been edited by stephpeck (edited 11-06-2000).]

          Comment

          Working...
          X
          😀
          🥰
          🤢
          😎
          😡
          👍
          👎