Prevent multiple installers running concurrently

This commit is contained in:
Daniel Hiltgen 2024-02-15 08:36:41 -08:00
parent 272e53a1f5
commit bb9de6037c

View file

@ -80,6 +80,8 @@ SignTool=MySignTool
SignedUninstaller=yes SignedUninstaller=yes
#endif #endif
SetupMutex=OllamaSetupMutex
[Languages] [Languages]
Name: "english"; MessagesFile: "compiler:Default.isl" Name: "english"; MessagesFile: "compiler:Default.isl"
@ -120,6 +122,8 @@ Type: filesandordirs; Name: "{%USERPROFILE}\.ollama"
[Messages] [Messages]
WizardReady=Ollama Windows Preview WizardReady=Ollama Windows Preview
ReadyLabel1=%nLet's get you up and running with your own large language models. 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 ;FinishedHeadingLabel=Run your first model
;FinishedLabel=%nRun this command in a PowerShell or cmd terminal.%n%n%n ollama run llama2 ;FinishedLabel=%nRun this command in a PowerShell or cmd terminal.%n%n%n ollama run llama2