]> Cypherpunks repositories - gostls13.git/commit
misc/windows packager development intermediate check-in
authorJoe Poirier <jdpoirier@gmail.com>
Thu, 17 Nov 2011 23:54:06 +0000 (17:54 -0600)
committerJoe Poirier <jdpoirier@gmail.com>
Thu, 17 Nov 2011 23:54:06 +0000 (17:54 -0600)
commit984b4e381dc571e961934acbd5d4af329ae8afb9
tree3c3638c642f65557a5e97874c299bfb3c30959f3
parentac17fd4cd2daba25471c07d25d618171e905fd2d
misc/windows packager development intermediate check-in

The installer now: allows a user to select an alternative
install directory, it now adds a Go folder to the Programs
Menu, and it places two shortcuts on the user's desktop.
The Program Menu folder contains shortcuts to the uninstaller
and two batch files, go.bat and godoc.bat. The desktop
shortcuts also point to go.bat and godoc.bat.

go.bat sets the Go environment, including Path, and spawns a
Window's shell. godoc.bat starts the godoc server at
localhost:6060 then spawns a browser window pointing to the
document server.

Setting the environment temporarily and spawning a shell, via
go.bat, should be safer than messing with the system's environment
and it makes the user experience a bit more streamlined.

The packager does work in its current state but it still needs
some polishing. And yes, the plan is to add a dialogue to allow
the user to decline the desktop shortcuts.

R=rsc, alex.brainman, tjyang2001
CC=golang-dev
https://golang.org/cl/5399042
misc/windows/LICENSE [new file with mode: 0644]
misc/windows/godocserver.bat [new file with mode: 0644]
misc/windows/goenv.bat [new file with mode: 0644]
misc/windows/installer.wxs
misc/windows/package.bash