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