]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - setup/win32/build.py
- Updated UFA:Plugin (mattn2)
[xonotic/netradiant.git] / setup / win32 / build.py
1 # Copyright (C) 2001-2006 William Joseph.
2
3 # This file is part of GtkRadiant.
4
5 # GtkRadiant is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9
10 # GtkRadiant is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with GtkRadiant; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
19 import datetime
20 from installer import MSIPackage
21
22 def format_date_today():
23   return str(datetime.date.today())
24
25 package = MSIPackage("gtkradiant-1.5.0.xml")
26 package.writeMSI("template.msi", "GtkRadiant-1.5.0-" + format_date_today() + ".msi")
27
28 #package = MSIPackage("q3a_example_maps.xml")
29 #package.writeMSI("template.msi", "Q3A-Example-Maps-" + format_date_today() + ".msi")
30
31 #package = MSIPackage("wolf_example_maps.xml")
32 #package.writeMSI("template.msi", "Wolf-Example-Maps-" + format_date_today() + ".msi")
33
34 #package = MSIPackage("ja_example_maps.xml")
35 #package.writeMSI("template.msi", "JA-Example-Maps-" + format_date_today() + ".msi")
36
37 #package = MSIPackage("et_example_maps.xml")
38 #package.writeMSI("template.msi", "ET-Example-Maps-" + format_date_today() + ".msi")
39
40 #package = MSIPackage("jk2_example_maps.xml")
41 #package.writeMSI("template.msi", "JK2-Example-Maps-" + format_date_today() + ".msi")
42
43 #package = MSIPackage("sof2_example_maps.xml")
44 #package.writeMSI("template.msi", "SoF2-Example-Maps-" + format_date_today() + ".msi")
45
46 #package = MSIPackage("q2_example_maps.xml")
47 #package.writeMSI("template.msi", "Q2-Example-Maps-" + format_date_today() + ".msi")
48
49 #package = MSIPackage("her2_example_maps.xml")
50 #package.writeMSI("template.msi", "Heretic2-Example-Maps-" + format_date_today() + ".msi")
51
52 #package = MSIPackage("hl_example_maps.xml")
53 #package.writeMSI("template.msi", "HalfLife-Example-Maps-" + format_date_today() + ".msi")
54
55 #package = MSIPackage("ef_example_maps.xml")
56 #package.writeMSI("template.msi", "STVEF-Example-Maps-" + format_date_today() + ".msi")
57
58 #package = MSIPackage("warsow_mapping_files.xml")
59 #package.writeMSI("template.msi", "Warsow-mapping-files-" + format_date_today() + ".msi")