Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Clean up old files when installing on Windows (#5645)

Jeffrey Morgan179737feb731
diff --git a/app/ollama.iss b/app/ollama.iss
index e6502abd3..fef4a7b25 100644
--- a/app/ollama.iss
+++ b/app/ollama.iss
@@ -127,6 +127,9 @@ Type: filesandordirs; Name: "{%USERPROFILE}\.ollama\models"
Type: filesandordirs; Name: "{%USERPROFILE}\.ollama\history"
; NOTE: if the user has a custom OLLAMA_MODELS it will be preserved
+[InstallDelete]
+Type: filesandordirs; Name: "{%LOCALAPPDATA}\Programs\Ollama"
+
[Messages]
WizardReady=Ollama Windows Preview
ReadyLabel1=%nLet's get you up and running with your own large language models.