[PR #3850] [MERGED] Move nested payloads to installer and zip file on windows #37168

Closed
opened 2026-04-22 21:53:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3850
Author: @dhiltgen
Created: 4/23/2024
Status: Merged
Merged: 4/23/2024
Merged by: @dhiltgen

Base: mainHead: windows_packaging


📝 Commits (2)

  • 058f6cd Move nested payloads to installer and zip file on windows
  • d8851cb Harden sched TestLoad

📊 Changes

9 files changed (+105 additions, -48 deletions)

View changed files

📝 .github/workflows/release.yaml (+19 -6)
📝 .github/workflows/test.yaml (+6 -11)
📝 app/ollama.iss (+2 -1)
📝 gpu/assets.go (+31 -1)
📝 llm/generate/gen_windows.ps1 (+18 -16)
📝 llm/llm_windows.go (+1 -1)
📝 llm/payload.go (+9 -7)
📝 scripts/build_windows.ps1 (+18 -5)
📝 server/sched_test.go (+1 -0)

📄 Description

Now that the llm runner is an executable and not just a dll, more users are facing problems with security policy configurations on windows that prevent users writing to directories and then executing binaries from the same location. This change removes payloads from the main executable on windows and shifts them over to be packaged in the installer and discovered based on the executables location. This also adds a new zip file for people who want to "roll their own" installation model.

Fixes #3763


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3850 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 4/23/2024 **Status:** ✅ Merged **Merged:** 4/23/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `windows_packaging` --- ### 📝 Commits (2) - [`058f6cd`](https://github.com/ollama/ollama/commit/058f6cd2cc397f4063ae99840b5606385d1f0b5a) Move nested payloads to installer and zip file on windows - [`d8851cb`](https://github.com/ollama/ollama/commit/d8851cb7a07f36a379f6d918c43c1081ccff89ce) Harden sched TestLoad ### 📊 Changes **9 files changed** (+105 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yaml` (+19 -6) 📝 `.github/workflows/test.yaml` (+6 -11) 📝 `app/ollama.iss` (+2 -1) 📝 `gpu/assets.go` (+31 -1) 📝 `llm/generate/gen_windows.ps1` (+18 -16) 📝 `llm/llm_windows.go` (+1 -1) 📝 `llm/payload.go` (+9 -7) 📝 `scripts/build_windows.ps1` (+18 -5) 📝 `server/sched_test.go` (+1 -0) </details> ### 📄 Description Now that the llm runner is an executable and not just a dll, more users are facing problems with security policy configurations on windows that prevent users writing to directories and then executing binaries from the same location. This change removes payloads from the main executable on windows and shifts them over to be packaged in the installer and discovered based on the executables location. This also adds a new zip file for people who want to "roll their own" installation model. Fixes #3763 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 21:53:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#37168