Results 1 to 4 of 4

Thread: how do I detect an instance of setup already running?

  1. #1
    dave2000 Guest

    Question how do I detect an instance of setup already running?

    Is there a way to detect if the same setup is already running? I'd like to prevent users from running the same setup twice (at the same time).

  2. #2
    Join Date
    Feb 2002
    Location
    Malaysia, Selangor, Petaling Jaya
    Posts
    171
    Why u need to do that? If u run the setup twice concurrently, the second launch will fail.
    Hyen Vui
    If you want to do something right,

    you must do it youself.

    OCA, IBM DB2 DBA

  3. #3
    Join Date
    Mar 2002
    Location
    New York
    Posts
    636


    Perfect answer !!

    If you have some other requirement, then you have to use the API to know if another instance of the program is running.
    Thanks.

    "In theory, there is no difference between theory and practice. But in practice, there is." - Yogi Berra

  4. #4
    dave2000 Guest
    For some reason, the second time I run the same setup it doesn't detect itself and fail.

    Is there an api call I can use to check this?

Posting Permissions

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