Skip to content

About

Free, open-source software deployment for Windows networks.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

OpenDeploy

Free, open-source software deployment for Windows networks. Push installers to many computers at once, with no agent to install on them, multi-step packages, conditions, nested packages, and a ready-made package library built on the WinGet community repository.

Status: v0.1, the first release. Packages and the package editor, the package library, groups, importing from PDQ Deploy, deploying to computers (by name, from a file or from Active Directory), the background server, the desktop console (on the server or on another computer) and the installer all work. It's early software: try it on a few computers before you rely on it. See the roadmap for what's next.

What it does

  • Agentless push. OpenDeploy copies a small runner to each computer over the ADMIN$ share, runs the package as SYSTEM through a temporary service, then removes everything. There's no WinRM and no software to install on targets first.
  • Packages with real logic. Multiple steps (install, command, PowerShell, file copy, uninstall, restart and resume, message, nested package), conditions on the package or on any step, success codes, timeouts and error handling.
  • Build packages from an installer. Pick an .msi or .exe and the editor fills in the name, version, publisher and silent switches (it recognises Inno Setup, NSIS, InstallShield, WiX and Advanced Installer), and for an MSI adds a check so computers that already have it are skipped.
  • Installers stay where they are. Point a step at \\server\share\setup.msi, as you would in PDQ Deploy, and the server copies it to each computer when it deploys. Or copy it into the package.
  • Switch from PDQ Deploy. Import PDQ Deploy packages straight from an installed copy, or from its exported .xml files. Folders become groups. Export and import OpenDeploy's own packages too, with or without their installers.
  • Groups of packages. Deploy several packages in one go, in order (say, everything a new starter's PC needs), and if one fails on a computer the rest still run, and the console tells you which failed where. Save them as a group to reuse.
  • Targets from Active Directory. Browse the domain's OUs, groups and computers, or search it, and add a whole OU or group at once.
  • A package library that stays current. Pick an app from the WinGet repository and OpenDeploy downloads the vendor's installer, checks its SHA256 hash, works out the silent switches, and adds a check that skips computers already up to date. Your own changes survive updates.
  • Manage it from anywhere. Run the console on the server, or on any technician's PC: it connects over HTTPS and signs in with your Windows account, so there are no extra passwords.
  • Plain files you can read. Each package is a folder with a package.yaml and its installers. You can keep them in Git, diff them and edit them by hand.

Install it

The server and the console need Windows 10 or 11, or Windows Server 2016 or later. The computers you deploy to need the ADMIN$ share and file sharing allowed through their firewall, as they are on most domain networks.

With the installer. Download OpenDeploy-<version>.msi from the latest release and run it as an administrator. After the MIT licence, choose what to install:

  • Console and Server on one computer, for a single deployment server;
  • Server only, managed from consoles on other computers;
  • Console only, for a technician's computer: enter the server's name, or leave it for the console to ask.

For the server, enter the account it deploys as: a domain account that's a local administrator on the computers you deploy to (see the server). The installer checks the account and password before going on. Leave Let consoles on other computers connect ticked if you'll use the console from other PCs. Then open OpenDeploy Console from the Start menu. A console on another PC asks for the server's name the first time, and asks you to trust the server's certificate.

The installer isn't code-signed yet, so Windows SmartScreen may say it's from an unknown publisher: choose More info, then Run anyway. To install without the dialogs, for example from a script, see the server.

Without installing. The release also has OpenDeploy-<version>-win-x64.zip. Unzip it somewhere permanent, such as C:\Program Files\OpenDeploy, then, as an administrator:

.\opendeploy-server install --account CONTOSO\svc-opendeploy --network
.\OpenDeployConsole

Use it

Import packages from the Package Library, deploy them (or a group of them) from Packages, and follow each computer's progress in Deployments. Deployments run in the server, so closing the console doesn't stop them.

From the command line. The installer adds opendeploy to the path (with the zip, open a terminal in its folder and use .\opendeploy):

opendeploy library popular
opendeploy library import 7zip.7zip Google.Chrome
opendeploy package list
opendeploy deploy "7-Zip" PC01 PC02 --server
opendeploy deploy "7-Zip" --ad-group "Finance PCs" --server
opendeploy history

With --server, the server deploys as its own account and the deployment keeps going if you close the terminal. Without it, the command line deploys as you, so you need to be a local administrator on the computers.

Packages are kept in C:\ProgramData\OpenDeploy\Packages, the same place the PowerShell prototype uses, and deployment history in History beside it, in the same format. Set OPENDEPLOY_ROOT or pass --root to use another folder.

Repository layout

Folder What's in it
src/OpenDeploy.Core Package format, validation, nested-package expansion and the WinGet package library
src/OpenDeploy.Engine The deploy engine: pushes to computers over ADMIN$, follows progress, handles restarts, keeps history
src/OpenDeploy.Runner ODRunner.exe, the small native program that runs a package on each target computer
src/OpenDeploy.Agent What the runner does: checks conditions, runs steps, records results
src/OpenDeploy.Protocol The job and result files the engine and runner exchange
src/OpenDeploy.Server opendeploy-server.exe, the Windows service: runs deployments in the background and serves the console
src/OpenDeploy.Client Talks to the server over its local named pipe, or over HTTPS from another computer; used by the command line and the console
src/OpenDeploy.Presentation The console's screens and logic (view models), kept free of WPF so they're tested on any platform
src/OpenDeploy.Desktop OpenDeployConsole.exe, the WPF desktop console
src/OpenDeploy.Cli The opendeploy command-line tool
tests/OpenDeploy.Core.Tests Tests for packages and the library, including real WinGet manifests
tests/OpenDeploy.Engine.Tests Tests for the agent and engine, with simulated computers (including restarts)
tests/OpenDeploy.Server.Tests End-to-end tests of the server's API through the real client
tests/OpenDeploy.Presentation.Tests Tests of the console's screens against a simulated server
installer The MSI installer (WiX): licence, setup type, service account and console server pages
assets The logo (SVG) and the Windows icon
prototype/powershell The working PowerShell prototype (engine and GUI), kept as a reference
docs Architecture, package format, package library, server, roadmap

Building

dotnet build OpenDeploy.slnx     # compile everything
dotnet test OpenDeploy.slnx      # run the tests
.\build.ps1                      # the console, opendeploy.exe, opendeploy-server.exe and the runners, in artifacts\opendeploy

To build the installer after build.ps1: dotnet build installer\OpenDeploy.Setup.wixproj -c Release -p:Version=0.1.0. Every push to GitHub builds and tests everything and makes the installer (under Actions, in each run's Artifacts). Pushing a version tag such as v0.1.0 also publishes a release with the installer and the zip.

build.ps1 builds the runners with Native AOT, which needs Visual Studio's "Desktop development with C++" workload. Without it, use .\build.ps1 -NoAot. See CONTRIBUTING.md for more.

Licence

MIT. Third-party components are listed in THIRD-PARTY-NOTICES.md. OpenDeploy isn't affiliated with Microsoft or with PDQ.

About

Free, open-source software deployment for Windows networks.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages