Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Please Wait sb6 - Xposted in 3rd party

  1. #1

    Default Please Wait sb6 - Xposted in 3rd party

    Forgot about this NG
    At the Finish of an installation, I need to run a Word.rtf and then run 2
    executables.

    How do I get the 3 items to Wait for the previous to finish. They are
    running all over each other
    I need something similar to Run('blah',1) Wait Parm

    They need to run in this order after Finish is Pressed in SB6, but only one
    at a time

    Word.rtf
    a.exe
    b.exe


    --
    Dan Scott
    C55-C6.3 9053 Clarion Templates (NOT ABC)
    <www.garagepartner.com>

    Credit card Processing in your software
    www.x-charge.com

  2. #2

    Default Re: Please Wait sb6 - Xposted in 3rd party

    > At the Finish of an installation, I need to run a Word.rtf and then run 2
    > executables.

    > At the Finish of an installation, I need to run a Word.rtf and then run 2
    > executables.

    (cc from the other NG for the benefit of others here)


    Dan,

    Word to the wise.

    On Vista, if those executables do anything user specific - they are not
    going to work as expected.

    Your installer is running (or should be) in elevated status, the user (even
    when logged in as a super user under Vista) is NOT. Vista executes
    programs for Dan the administrator as Dan the user.

    This means that any registry writes to HKCU or data written to the user
    path where your using CSIDL to get the location of My Documents will be
    pointing at the super user account - NOT at the regular user account.

    The Microsoft recommendation is NOT to run things at the end of an install
    under Vista and if you must, then only something like launching the RTF
    file.

    Your other actions need to take place when your program is ran for the
    first time after an update (or you use a post installer that is ran at the
    user access level) AFTER the main installer has terminated.


    Other than that bit of news for you - the SB examples show how to launch
    items at the end of the install based on a checkbox - but the wait
    sequencing may give you problems.

    I'd ask if this helps, but obviously you did not want to hear what I told
    you.

    ;-)

    Charles


    --
    -------------------------------------------------------------------------------------------------------
    Charles Edmonds

    www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
    www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    and Forms!"
    www.lansrad.com - "Intelligent Solutions for Universal Problems"
    www.fotokiss.com - "World's Best Auction Photo Editor"
    -------------------------------------------------------------------------------------------------------

  3. #3

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Charles

    I always appreciate anything you tell me, or anyone tells me for sure.

    Anyway, yes, I could run the update at start of my program after the install
    update,
    but it would be so much easier to do it from SB6. I always have, but never
    more than
    one exe at the end.
    BTW, I have convinced most of my customer to stay away from Veesta, so I
    don't have
    the headaches of Veesta yet, but someday I am sure I will, especially after
    I run out of
    XP Pro licenses to sell, but that's a year or 2 down the road. Who knows,
    maybe the Mac
    commercials will get MS head on straight.

    --
    Dan Scott
    C55-C6.3 9053 Clarion Templates (NOT ABC)
    <www.garagepartner.com>

    Credit card Processing in your software
    www.x-charge.com

  4. #4

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Dan,

    Two different options:

    1. "Run Program" Visualizer

    a. Select the "Run Program" Visualizer
    b. Add item to be executed
    c. Select "Finish Dialog" Tab
    d. Enter a Checkbox Text (e.g. Launch xyz)
    e. Mark "Run program once the installation exists"

    2. Script Editor

    See "Run Check Box 1.sb6" demo script in the Examples package.

    BTW, to wait for the program to be finished, check the "Waif for Program"
    checkbox in the Run Program item.

    Does this help?

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    "point. click. ship" - that's SetupBuilder 6.7
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  5. #5

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Friedrich

    You have so much stuff in SB6 that I am awe struck.
    Haven't seen visualizer yet, but will look in the help files for what it
    does.

    I think I checked wait for program, but doesn't that simply pause SB6?

    --
    Dan Scott
    C55-C6.3 9053 Clarion Templates (NOT ABC)
    <www.garagepartner.com>

    Credit card Processing in your software
    www.x-charge.com

  6. #6

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Hi Dan,

    > You have so much stuff in SB6 that I am awe struck.
    > Haven't seen visualizer yet, but will look in the help files for what it
    > does.
    >
    > I think I checked wait for program, but doesn't that simply pause SB6?

    The "Sleep..." script function would "pause" a SB6 installer.

    The "Wait..." option in a Run Program function cause the installer to be
    suspended until the external program has finished.

    See attached screenshots.

    Does this help?

    Friedrich
    Attached Images Attached Images   

  7. #7

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Friedrich got me all fixed up

    SetupBuilder is extraordinary

    --
    Dan Scott
    C55-C6.3 9053 Clarion Templates (NOT ABC)
    <www.garagepartner.com>

    Credit card Processing in your software
    www.x-charge.com

  8. #8

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Dan,

    I am guessing that the [ ] Wait for Program checkbox in the SetupBuilder
    Run Program... or Run Command Line... are not working for you? If this
    is the case, then it is likely because the Finish Dialog is the final
    stop and with no more Loop Wizard active, it is forcing its way through
    the rest of the script (just a guess). I would have to test it to see
    what you are up against, but I do have solutions for that too. However,
    you may want to just consider writing and calling a simple (single)
    Clarion program to do what you need, as I know you are an expert at that
    already :-)

    Cheers,

    Andy Kaczmarczyk
    www.clariontools.com

  9. #9

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Andy

    Thanks for the quick reply. I was leaning toward do a quick prog to run the
    2 exe's, but thought with all sb6 has, it may have a way to do this in the
    script.
    BTW, the Wait flag in the script simply suspends SB6 installer, not the run
    programs

    --
    Dan Scott
    C55-C6.3 9053 Clarion Templates (NOT ABC)
    <www.garagepartner.com>

    Credit card Processing in your software
    www.x-charge.com

  10. #10

    Default Re: Please Wait sb6 - Xposted in 3rd party

    Dan,

    You could use the Wait flag, but would need to be inside the Loop Wizard
    for it to work as expected. This would be a little tricky as I recall,
    the Finish Dialog leaves the Loop Wizard when Finish is selected, so I
    created a pseudo Finish Dialog by using one of the other dialogs and
    changing the button text, hiding the back button, etc..., then I added
    another dialog that allowed me to keep the Loop Wizard active until I
    finished my external processes. There were some other tricks I needed to
    get this to work (way too complicated to describe in this response), so I
    think you may be better off with calling a custom program.

    Regards,

    Andy Kaczmarczyk
    www.clariontools.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •