From bb9de6037c721aa13c5fcc93f4f110172357248f Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Thu, 15 Feb 2024 08:36:41 -0800 Subject: [PATCH] Prevent multiple installers running concurrently --- app/ollama.iss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/ollama.iss b/app/ollama.iss index 97e647cc..604def04 100644 --- a/app/ollama.iss +++ b/app/ollama.iss @@ -80,6 +80,8 @@ SignTool=MySignTool SignedUninstaller=yes #endif +SetupMutex=OllamaSetupMutex + [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" @@ -120,6 +122,8 @@ Type: filesandordirs; Name: "{%USERPROFILE}\.ollama" [Messages] WizardReady=Ollama Windows Preview ReadyLabel1=%nLet's get you up and running with your own large language models. +SetupAppRunningError=Another Ollama installer is running.%n%nPlease cancel or finish the other installer, then click OK to continue with this install, or Cancel to exit. + ;FinishedHeadingLabel=Run your first model ;FinishedLabel=%nRun this command in a PowerShell or cmd terminal.%n%n%n ollama run llama2