Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2004
    Posts
    11

    Command: Stop Service & Start Service ???

    I have the command "Stop Service" and "Start Service" in my setup.

    "Stop Service" stops the MySQL Server before installing files and "Start Service" starts the MySQL Server again after installing files.

    My question is that sometimes, but not all the time, I get the error that the "Start Service" failed. I am guessing that sometimes the setup program I created is running faster than it takes the MySQL Server to start, and not allowing the server to completely start before the "Finish" page runs.

    Is this correct, and what can be done about it? Under the "Start Service" command there is nothing that tells it to wait to make sure that the sever has the time to start.

    Or is there something else that is happening?

    It is not that big of a deal, because if you re-run the setup again it usually works fine. But it sometimes may take a couple runs to get it to run correctly.

    Just curious of what the problem could be and how to fix it.

    Thanks!

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Did you try increasing the timout limit? That helps sometimes.

    Adam Kapilik

  3. #3
    Join Date
    Jun 2004
    Posts
    11
    Where is the timeout limit in Setup Factory 6.0?? I cannot find where to adjust it?

  4. #4
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    My bad. The timeout feature is in the create service action.

    You could try to start it again if it fails. Here is the psudo code:

    Start Service (......)
    IF (%LastErrorNum% <> 0)
    Start Service (.......)
    END IF

    This could give you a couple of stabs at it.

    Adam Kapilik

Similar Threads

  1. Start Service
    By Jason Pate in forum Setup Factory 6.0
    Replies: 3
    Last Post: 06-16-2003, 08:55 AM
  2. PROBLEM: AutoPlay Application Does Not Start Automatically
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-25-2002, 02:21 PM
  3. PROBLEM: AutoPlay Application Does Not Start Automatically
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-25-2002, 12:39 PM
  4. HOWTO: Create Nested Shortcuts in the Start Menu
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-24-2002, 10:26 AM
  5. Create service problem
    By Laslie Toth in forum Setup Factory 6.0
    Replies: 3
    Last Post: 06-21-2002, 02:19 AM

Posting Permissions

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