The Windows version of Zero Install extends the cross-platform core Zero Install .NET with a GUI and various OS-specific integrations.
The Linux version and Windows version of Zero Install share the same feed format. For most common use-cases they behave identically on the command-line. There are however some OS-specific differences.
When you download Zero Install for Windows from the web-site time you get a so called Bootstrapper. This is a stripped down version of Zero Install bundled into a single executable file. It uses a regular Zero Install feed to download and run a full version of Zero Install.
If you wish to install Zero Install in unattended/automatically you can download the CLI-version of the Bootstrapper. With this you can run:
0install.exe maintenance deploy --batchto install for the current user.
0install.exe maintenance deploy --batch --machineto install for all users.
Default settings can be integrated in the Bootstrap process via editing
See also: Blog post about Bootstrapper
To set up Zero Install on a USB thumb drive:
- Connect a thumb drive to the computer and make sure there are no files you still need on it.
- Format the thumb drive with NTFS (FAT32 will not work, see technical details for explanation).
- Download and run Zero Install for Windows.
- Select "Tools" and "Portable Creator" at the bottom of the window.
- Follow the instructions on screen.
You can now use your thumb drive to run Zero Install on any Windows Computer with the .NET Framework 2.0 (which is built-in starting with Vista). Zero Install stores downloaded applications directly on the stick so you can access the same applications everywhere. Please remember to always "eject" the thumb drive in Windows before disconnecting it from the computer.
The applications launched by Zero Install are not automatically made portable by this. They still store their settings in the usual locations. Please make sure to move these files to the thumb drive as necessary.
Portable versions of Zero Install cannot perform desktop integration (e.g. create start menu entries). Consider using regular Zero Install on multiple computers with Zero Install Sync instead.
FAT/FAT32-formatted drives cannot be used for Zero Install because they do not store file security settings (ACLs). They also only store time with an accuracy of two seconds while Zero Install checks the exact modification time of files.
The portable creator creates a file in the destination directory called
_portable, which instructs Zero Install to run in portable mode. When this file is detected Zero Install stores all its files in its installation directory instead of the usual system directories.
Zero Install is designed to be largely maintenance-free, e.g., checking for updates automatically. However, if you want to manually ensure everything is running optimally you can use the following commands: