Announcement

Collapse
No announcement yet.

HOW CAN I EXEC A PROGRAM AFTER SETUP. . .

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

  • HOW CAN I EXEC A PROGRAM AFTER SETUP. . .

    I want to the user that is using the setup can select if he want to execute a program.(After setup have installed the software)

    I have think to add a screen called "radio buttons" witch the programs that I want to show. But I don't know how to do this.

    Anybody can write some examples?

    Please, help me. Thanks.

  • #2
    Re: HOW CAN I EXEC A PROGRAM AFTER SETUP. . .

    1) In the Screen manager, click the tab called "After Installaling".

    2) Add a new screen. Radio Buttons 6 or 12 will work fine.

    3) Go ahead and edit the text for each of the buttons.

    4) Go to the section labeled Radio Group and pick a variable name. I'm not sure if you need to use "Variable" or "Variable(n)." Try both to find out.

    Setup factory will store the choice of the user as a zero based integer. If they choose the very first radio button, the variable will be set to 0 (zero). If they choose the second radio button, the variable will be set to 1, etc.

    6) Go in the Shell Operation window.

    7) In the Execute tab add an entry for each executable the user has the option of picking.

    8) Look in Advanced tab in the properties for each entry to make sure the program is set to execute after Shutdown. Note that it will execute when setup.exe finishes, not when the computer shuts down.

    9) Finally, go into the Condition tab for each entry and type in the boolean condition %variableName% = 0, where %variableName% is the name of the variable you have defined in the Radio Buttons screen and the 0 is the order that specific executable is listed in Radio Buttons screen.

    Now when the user comes to the screen with the radio buttons they can pick which executable they want to run. If they pick the third radio button, setup will execute the entry in the Shell Operation screen where the boolean %variableName% is set to 2 (remember its a zero based integer system - it starts at zero, not 1).

    If I've made any mistakes, I'm sure somebody will correct me.

    [This message has been edited by Mendo (edited 10-19-2001).]

    Comment

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