Update Turkish translation
[dasher.git] / INSTALL.Windows
blob48f45f009fd51435777d5717648b34665f50c3bd
1 Building Dasher for Microsoft Windows\r
2 =====================================\r
3 \r
4 Prerequisites\r
5 -------------\r
6 \r
7 Expat XML Parser\r
8 \r
9 Downloads can be found at http://expat.sourceforge.net\r
11 The project files use environment variables to locate the root directories of \r
12 the prerequisites.  You can set these in the Windows control panel: \r
13 Control Panels->System->Advanced->Environment Variables.\r
15 Here are the variable names and their default install locations (you may\r
16 need to change these to reflect reality on your system):\r
18 EXPAT          C:\Program Files\Expat 2.0.1\r
20 Additional Prerequisits For Building HTML Help\r
21 ----------------------------------------------\r
23 If you aren't building a release, and don't otherwise want to build the Windows\r
24 help (.chm) file, you can ignore these and disable the 'Manual' project in the \r
25 solution. This project is only built for the 'Release' configurations anyway.\r
27 LibXML2\r
28 docbook-xsl\r
29 Microsoft HTML Help Workshop\r
31 LibXML2 is available at: http://www.zlatkovic.com/libxml.en.html. The minimum \r
32 requirement here is xslproc.exe, which can be installed along with the required\r
33 dependencies by copying the contents of the bin directories from the libxml and \r
34 libxslt packages to (eg) C:\Program Files\LibXML2. If you want to be able to \r
35 use these libraries more generally you should probably put them somewhere in \r
36 the system wide library path.\r
38 These need a few more environment variables\r
40 LIBXML         C:\Program Files\LibXML2\r
41 DOCBOOK_XSL    C:\Program Files\docbook-xsl-1.73.2\r
42 HELP_COMPILER  C:\Program Files\HTML Help Workshop\hhc.exe\r
44 Note that the last of these must be the full path of the compiler executable. This\r
45 is due to technical limitations connected with hhc.exe (a) doing a bad job of \r
46 parsing the command line and (b) giving a non-zero return value on success.\r
48 ** NOTE **\r
49 The automated build step doesn't (yet) handle the image files, so you'll need to \r
50 manually copy Data\Help\Gnome\C\figures to Data\Help\Win32 before building.\r
52 Building\r
53 --------\r
55 Visual Studio 2013 solution/project files are included in the \r
56 Src/Win32 directory. This should hopefully build without modification on \r
57 any system.\r
59 Building the installers\r
60 -----------------------\r
62 To build the installer MSI files, you need to install the Windows Install \r
63 XML (WiX) toolset, from http://wix.sourceforge.net/.  For Visual Studio\r
64 2005, you first should install "ProjectAggregator" and then the 3.0 (beta)\r
65 version of WiX.  If it installs successfully, you should see "Windows \r
66 Installer XML Version 3.0" listed in the about box of Visual Studio.\r
68 The Visual Studio 2013 project files use the environment variable called \r
69 "WIX" which should be set to the install directory of WiX.\r
71 setup.exe\r
72 ---------\r
74 The installation itself is carried out by a small utility, setup.exe, which \r
75 downloads the .msi file and installs it. This is (a) to ensure that the\r
76 correct version of the Windows Installer is present, and (b) to make sure\r
77 that the installer is run with the right options to enable the desired\r
78 upgrade behaviour.\r
80 The setup.exe binary is built from source shipped as part of the MS Platform\r
81 SDK, as si MSIStuff, which is a utility for configuring the resulting\r
82 binary. The whole process is described in MS KB article 888473:\r
84 http://support.microsoft.com/kb/888473