Announcement

Collapse
No announcement yet.

Multiple Executions

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

  • Multiple Executions

    I am currently evaluating SUF5 and am wondering if there is a way to prevent the execution of installation programs if the user aborts one of them. For example, if I want to run a total of 4 installations, and on the 2nd I do not agree with the license agreement and abort that installation, can I abort the next 2 installations?

    Any help appreciated. Thx

  • #2
    Re: Multiple Executions

    Hi,
    It depends on how you are running your installations, do you want to start four installations from within one installation, or do you want four separate installations but if the user backs out of one of them the rest will not work?
    The problem with the later method is what happens if the user disagrees by accident? How are they going to run any more installs if they have been "blocked" from running them? If they are “blocked” then how long with they be “blocked” for?
    Perhaps if you clarify what sort of functionality you want I will be able to provide a suitable solution.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Multiple Executions

      Basically I want 4 separate installations to run. If the user aborts at least one of them then the whole installation will have to be rerun.

      This is the way was thinking about doing it.
      However, not all need to be installed to run. Only 1 is needed and the other 3 are optional and go together. Do you have a better suggestion?

      Comment


      • #4
        Re: Multiple Executions

        Hi,
        So basically you have 1 MAIN installation, and from that three extra installations that the user might want to run. Now if the user aborts one of those three installs the rest will not run, almost in a left to right order.
        If this is what you want then you can do this using Setup Factory, but it would be slightly tricky. The only reason that it might be somewhat tricky is because you cannot control the timing of EXECUTE PROGRAM actions that finely. So if I was you I would set up three RADIO BUTTONS 6 screens with 2 radio buttons each. Which would basically be screen for each of the three final installs asking the user to accept or decline the INSTALLATION of that specific product. Now on the screens properties in the "Variables (n)" section I would set a variable for each screen, say %Prod1%, %Prod2%, and %Prod3%, respectively. By setting the variables in the "Variable (n)" section we are setting them to the number of the radio button that was selected. So if the first radio button is selected the "Variable (n)" will be set to 0, and if the second is selected "Variable (n)" will be set to 1.
        Now place these screens on the AFTER INSTALLING screen, then for each of the three SHELL OPERATIONS make sure that they occur ON SHUTDOWN, meaning that they will occur after the three screen have been shown. Then give each EXECUTE action one or more Boolean conditions, what condition(s) then get depends on what there are executing.
        So using the variables that I mentioned above for the three EXECUTE actions, %Prod1% refers to the first action, %Prod2% the second, and %Prod3% the Third. Now the FIRST EXECUTE action’s Boolean conditions would be:
        "%Prod1% = 1".
        The SECOND EXECUTE action would have two Boolean conditions:
        1) "%Prod1% = 1"
        2) "%Prod2% = 1"
        Finally the THIRD EXECUTE action would have three Boolean conditions:
        1) "%Prod1% = 1"
        2) "%Prod2% = 1"
        3) "%Prod3% = 1"
        So what basically happens is if the user agrees to the license agreement for %Prod1% it will be installed meaning that the FIRST EXECUTE action would fire, but if he/she disagrees with the license agreement for %Prod2% neither the SECOND nor THIRD EXECUTE actions would be fired.
        If you want you could also assign Boolean conditions to the second and third radio button screens so that they will not be shown if the use disagrees with a previous license agreement.
        Give the SECOND screen: "%Prod1% =1" and give the THIRD screen: "%Prod1% = 1" and "%Prod2% = 1".
        Hopefully this explanation will show you how to accomplish what you want. If you have any more questions please feel free to contact me.

        mark.
        MSI Factory The Next Generation Intelligent Setup Builder

        Comment

        Working...
        X