Zero Install

Dr Thomas Leonard [ contact | GPG public key | blog | donations ]

Installation : Windows

Windows is not currently supported, but if you have some programming knowledge, please help out!

Here's how to test it

  1. Install msysgit
  2. Run git-gui from the Start menu, and clone git://repo.or.cz/zeroinstall.git
  3. Install python-2.5.2.msi from python.org
  4. Install gtk-2.12.9-win32-2.exe from link on pygtk.org's download page
  5. Install PyGObject and PyGTK from the same page
  6. Installed windows binary of GnuPG from gnupg.og
  7. Go to Start -> Control panel -> System -> Advanced -> Environment Variables. Edit "Path". Append: ;c:\python25;c:\gnupg (or wherever you installed Python and GnuPG)
  8. Use Start -> Run -> cmd. Make sure the python and gpg commands can be found

You can now cd to your cloned GIT repository and run 0launch (use -vvc for maximum logging). This will probably fail. See if you can make it work. Open issues:

  • The InputBlocker in download.py doesn't work. You can replace the whole line with just yield as a work-around. This breaks the download progress bars, but works apart from that.
  • It thinks gpg isn't in $PATH. Edit gpg.py to disable that check. Ideally, patch it to actually search the Windows %PATH% correctly.
  • Downloading GPG keys fails, due to some odd backslashes. You can gpg --import the keys manually. Ideally, figure out what's going on there.
  • All downloads have \r codes inserted into them. Looks like subprocess.Popen in download.py is turning a binary file into a text file. How can that happen?

That's as far as we've got so far. Let us know how you get on. Good luck!