Installation : Windows
Windows is not currently supported, but if you have some programming knowledge, please help out!
Note: These instructions are for MSYS (that is, regular Windows). It may be easier to use it under Cygwin, but we haven't had any reports from Windows users either way so far. The How to have Zero Install running with Portable Cygwin on Windows XP thread on the mailing list contains some discussion about that.
Here's how to test it
- Install msysgit
- Run git-gui from the Start menu, and clone git://repo.or.cz/zeroinstall.git
- Install python-2.5.2.msi from python.org
- Install gtk-2.12.9-win32-2.exe from link on pygtk.org's download page
- Install PyGObject and PyGTK from the same page
- Install Windows binary of GnuPG from gnupg.og
- Install Windows binary of bzip2 from bzip.org. Call it bunzip2.exe and put it in your %PATH.
- Go to Start -> Control panel -> System -> Advanced -> Environment Variables. Edit "Path". Append: ;c:\python25;c:\gnupg (or wherever you installed Python and GnuPG)
- 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:
2009-02-03: Update: there is a new "windows" branch which gets a bit further... ("git checkout windows")
- The InputBlocker in download.py doesn't work. You can replace the whole line with just yield as a work-around. This is inefficient, but works. [ in the windows branch ]
- It thinks gpg isn't in $PATH. Edit gpg.py to disable that check. Ideally, patch it to actually search the Windows %PATH% correctly. [ fixed on windows branch ]
- 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? [ fixed on windows branch ]
- /var/cache/0install.net isn't a good place for the system store on Windows. Where should it go?
- os.utime fails for some reason. Shouldn't be needed with recent Python versions anyway.
- Unpacking loses the X permission, causing the digest check to fail. Store it in some DOS attribute?
That's as far as we've got so far. Let us know how you get on. Good luck!