@@ -1,43 +1,60 @@
1−<?xml version="1.0"?>
2−<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3− <Product Id="37DB5E26-BDA9-4166-AFD7-E23DA4B75755"
4− UpgradeCode="A68E8EF6-ABB1-4F22-A3C5-68DFDF0AB562" Name="Pandoc 1.10"
5− Version="1.10.2.1" Manufacturer="John MacFarlane"
6− Language="1033">
7− <Package InstallerVersion="200" Compressed="yes"
8− Comments="Windows Installer Package" />
9− <Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
10− <Directory Id="TARGETDIR" Name="SourceDir">
11− <Directory Id="ProgramFilesFolder">
12− <Directory Id="INSTALLDIR" Name="Pandoc">
13− <Component Id="MainExecutable"
14− Guid="ECD35082-4C28-49E1-977E-B90FC7C400C7" KeyPath="yes">
15− <File Id="pandocEXE" Name="pandoc.exe"
16− Source="..\cabal-dev\bin\pandoc.exe" />
17− <File Id="pandocCOPYRIGHT" Name="COPYRIGHT.txt"
18− Source="..\COPYRIGHT.txt" />
19− <File Id="pandocCOPYING" Name="COPYING.rtf"
20− Source="..\COPYING.rtf" />
21− <Environment Id="UpdatePath" Name="PATH" Action="set"
22− Part="last" System="yes" Value="[INSTALLDIR]" />
23− </Component>
24− <Component Id="Documentation"
25− Guid="A8D54A76-1A3D-4647-8327-81B69D39D8A3" KeyPath="yes">
26− <File Id="pandocREADME" Name="Pandoc User's Guide.html"
27− Source="..\README.html" />
28− </Component>
29− </Directory>
30− </Directory>
31− </Directory>
32− <Feature Id="Complete" Level="1" Title="Pandoc 1.10" Description="Complete package" Display="expand" ConfigurableDirectory="INSTALLDIR">
33− <Feature Id="MainProgram" Title="Program" Description="The main executable." Level="1">
34− <ComponentRef Id="MainExecutable" />
35− </Feature>
36− <Feature Id="Manual">
37− <ComponentRef Id="Documentation" />
38− </Feature>
39− </Feature>
40− <UIRef Id="WixUI_Advanced" />
41− <WixVariable Id="WixUILicenseRtf" Value="..\COPYING.rtf" />
42− </Product>
43−</Wix>
1+<?xml version="1.0"?>
2+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3+ <Product Id="37DB5E26-BDA9-4166-AFD7-E23DA4B75755"
4+ UpgradeCode="A68E8EF6-ABB1-4F22-A3C5-68DFDF0AB562" Name="Pandoc 1.10"
5+ Version="1.10.2.1" Manufacturer="John MacFarlane"
6+ Language="1033">
7+ <Package InstallerVersion="200" Compressed="yes"
8+ Comments="Windows Installer Package" />
9+ <Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
10+ <Directory Id="TARGETDIR" Name="SourceDir">
11+ <Directory Id="DesktopFolder" Name="Desktop" />
12+ <Directory Id="ProgramMenuFolder">
13+ <Directory Id="ApplicationProgramsFolder" Name="Pandoc"/>
14+ </Directory>
15+ <Directory Id="ProgramFilesFolder">
16+ <Directory Id="INSTALLDIR" Name="Pandoc">
17+ <Component Id="MainExecutable"
18+ Guid="ECD35082-4C28-49E1-977E-B90FC7C400C7" KeyPath="yes">
19+ <File Id="pandocEXE" Name="pandoc.exe"
20+ Source="..\cabal-dev\bin\pandoc.exe" />
21+ <File Id="pandocCOPYRIGHT" Name="COPYRIGHT.txt"
22+ Source="..\COPYRIGHT.txt" />
23+ <File Id="pandocCOPYING" Name="COPYING.rtf"
24+ Source="..\COPYING.rtf" />
25+ <Environment Id="UpdatePath" Name="PATH" Action="set"
26+ Part="last" System="yes" Value="[INSTALLDIR]" />
27+ </Component>
28+ <Component Id="Documentation"
29+ Guid="A8D54A76-1A3D-4647-8327-81B69D39D8A3" KeyPath="yes">
30+ <File Id="pandocREADME" Name="Pandoc User's Guide.html"
31+ Source="..\README.html" />
32+ </Component>
33+ </Directory>
34+ </Directory>
35+ </Directory>
36+ <DirectoryRef Id="ApplicationProgramsFolder">
37+ <Component Id="ApplicationShortcut" Guid="7F807DD5-CC54-474A-B571-89630893F563">
38+ <Shortcut Id="ApplicationStartMenuShortcut"
39+ Name="Pandoc User's Guide"
40+ Description="Pandoc User's Guide"
41+ Target="[INSTALLDIR]Pandoc User's Guide.html"
42+ WorkingDirectory="INSTALLDIR" />
43+ <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
44+ <RegistryValue Root="HKCU" Key="Software\John MacFarlane\Pandoc" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
45+ </Component>
46+ </DirectoryRef>
47+ <Feature Id="Complete" Level="1" Title="Pandoc 1.10" Description="Complete package" Display="expand" ConfigurableDirectory="INSTALLDIR">
48+ <Feature Id="MainProgram" Title="Program" Description="The main executable." Level="1">
49+ <ComponentRef Id="MainExecutable" />
50+ </Feature>
51+ <Feature Id="Manual">
52+ <ComponentRef Id="Documentation" />
53+ <ComponentRef Id="ApplicationShortcut" />
54+ </Feature>
55+ </Feature>
56+ <UIRef Id="WixUI_Minimal" />
57+ <UIRef Id="WixUI_ErrorProgressText" />
58+ <WixVariable Id="WixUILicenseRtf" Value="..\COPYING.rtf" />
59+ </Product>
60+</Wix>