| 53 | | |
| | 53 | |
| | 54 | # The following directives can only be run on Windows using |
| | 55 | # nmake |
| | 56 | |
| | 57 | # Our Windows installer relies on an open source project named WiX, available from this home page: |
| | 58 | # |
| | 59 | # http://wix.sourceforge.net/ |
| | 60 | # |
| | 61 | # For obvious reasons these installers can only be produced on Windows; our src/dot/Makefile has a number |
| | 62 | # of directives that can only be run on Windows, using nmake. You must have the WiX package in your |
| | 63 | # PATH for these directives to work. |
| | 64 | # You must also have the 'cabarc' utility installed and in your path to create Microsoft CAB |
| | 65 | # files -- this can be downloaded from http://support.microsoft.com/kb/310618 |
| | 66 | |
| | 67 | # cabarc n install-src\win\wix\dot.cab proxy-build\win\dot.exe proxy-build\win\config |
| | 68 | installer-win-make: |
| | 69 | del proxy-build\win\dot-install.wixobj |
| | 70 | del proxy-build\win\dot-install.wxs |
| | 71 | del proxy-build\win\dot.msi |
| | 72 | copy install-src\win\wix\dot-install.wxs proxy-build\win |
| | 73 | cd proxy-build\win |
| | 74 | candle.exe dot-install.wxs -out dot-install.wixobj |
| | 75 | light.exe dot-install.wixobj -out dot.msi |
| | 76 | del dot-install.wixobj |
| | 77 | del dot-install.wxs |
| | 78 | cd ..\.. |
| | 79 | |
| | 80 | win-install: |
| | 81 | msiexec /i proxy-build\win\dot.msi |
| | 82 | |
| | 83 | win-uninstall: |
| | 84 | msiexec /x proxy-build\win\dot.msi |