Announcement

Collapse
No announcement yet.

Run only one instance of the installer at a time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Run only one instance of the installer at a time

    How to allow only one instance of the installer at a time?

  • #2
    See this topic for guidance: https://forums.indigorose.com/forum/...ingle-instance

    Ulrich

    Comment


    • #3
      thanks, work fine

      Code:
      windows = Window.EnumerateTitles();
      window_name = "Mi Installer Title";
      
      for handle, title in pairs(windows) do
      
      result = String.Find(title, window_name, 1, false);
       if (result ~= -1) then
          Application.Exit();
       end
      end

      Comment

      Working...
      X