1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:20:32 -07:00
go/misc/windows
2011-12-26 20:25:31 +11:00
..
godocserver.bat misc/windows packager development intermediate check-in 2011-11-17 17:54:06 -06:00
goenv.bat misc/windows packager development intermediate check-in 2011-11-17 17:54:06 -06:00
installer.wxs misc/windows packager development intermediate check-in 2011-11-17 17:54:06 -06:00
LICENSE misc/windows packager development intermediate check-in 2011-11-17 17:54:06 -06:00
package.bash misc/windows: add src/pkg/runtime/z* files to installation script 2011-12-26 20:25:31 +11:00
README misc/windows: Go for Windows installer in MSI format 2011-11-09 17:20:34 -06:00

package.bash packages the Go toolchain for Windows in 
zip and installer (msi) format. 

Dependencies
============
- WiX Installer XML (WiX) toolset: http://wix.sourceforge.net/
- 7Zip command-line: http://www.7-zip.org/download.html
- MinGW/Msys tools

Unzip and place 7za.exe in msys' bin directory.
Add the WiX bin directory to PATH.

Packaging
=========
- have a go tree at $GOROOT
- make sure $GOBIN=$GOROOT\bin or is empty
- make sure $GOARCH=386 or $GOARCH=amd64
- select appropriate version "hg up -r ..."
- build go "cd $GOROOT/src; ./all.bash"
- create Windows packages "cd $GOROOT/misc/windows; ./package.bash"