Installation : Windows
Windows partially works with Zero Install but this is not yet ready for general use. If you have some programming knowledge, please help out!
.NET version
A .NET version of Zero Install is being developed for Windows.
Older (manual) instructions
Note: These instructions are for regular Windows. For Cygwin, see the How to have Zero Install running with Portable Cygwin on Windows XP thread on the mailing list.
Installing the pre-requisites
- Install python-2.6.4.msi from python.org and add the install directory to the path (C:\Python26). Do not use Python 3.
- Extract gtk+-bundle_2.18.5-20091215_win32.zip from gtk.org.
- Install PyCairo 1.4.12-2, PyGObject 2.14.2-2 and PyGTK 2.12.1-3 from pygtk.org.
- Install the Windows binary of GnuPG from gnupg.og and add the install directory to the path (C:\Program Files\GNU\GnuPG) OR
Install gpg4win. - Optional: Install the Windows binary of bzip2 from bzip.org. Call it bunzip2.exe and put it in your %PATH%.
- Use Start -> Run -> cmd. Make sure the python and gpg commands can be found.
Getting Zero Install itself
- Install msysgit and open a GIT bash prompt.
- Run "git clone git://repo.or.cz/zeroinstall.git". This will create a directory named "zeroinstall". cd to it and run "git checkout origin/windows".
- cd to the zeroinstall directory and run "python setup.py install".
Running it
cd to your cloned GIT repository and run 0launch any time (use -vvc for maximum logging), e.g.
python 0launch http://afb.users.sourceforge.net/zero-install/interfaces/seamonkey.xml
Notes
- The GUI does not work, use the command line instead.
- Don't run 0launch itself from inside MSYS (git bash) it will fail at the gpg key import.
- To add a directory to the path:
- Left click My Computer -> Properties -> Advanced -> Environment Variables.
- Edit "Path". Append the directory. Directories should be separated by a ";", e.g. C:\Python26;C:\Program Files\GNU\GnuPG.