1; INNO Setup config file for monotone win32 setup 2; 3; all paths are related to "top_builddir" 4 5#define BUILDDIR="." 6#define APPNAME="monotone" 7#define APPVERS="@VERSION@" 8#define SRCDIR="@top_srcdir@" 9 10[Setup] 11AppName={#APPNAME} 12AppVersion={#APPVERS} 13AppVerName={#APPNAME} {#APPVERS} 14OutputBaseFileName={#APPNAME}-{#APPVERS}-setup 15AppCopyright=Copyright � 2002-2011 Graydon Hoare et al. 16AppPublisher=The monotone Development Team 17AppPublisherURL=http://www.monotone.ca/ 18DefaultDirName={pf}\{#APPNAME} 19DefaultGroupName={#APPNAME} 20MinVersion=0,5.0 21OutputDir=. 22AllowNoIcons=1 23Compression=lzma/ultra 24SolidCompression=yes 25LicenseFile="{#SRCDIR}\COPYING" 26ChangesEnvironment=true 27WizardImageFile={#SRCDIR}\innosetup\monotone.bmp 28 29[Files] 30Source: "{#BUILDDIR}\mtn-stripped.exe"; DestDir: "{app}"; DestName: "mtn.exe"; Flags: ignoreversion 31Source: "{#BUILDDIR}\doc\html\*.html"; DestDir: "{app}\documentation\html"; Flags: ignoreversion 32Source: "{#BUILDDIR}\doc\html\*.css"; DestDir: "{app}\documentation\html"; Flags: ignoreversion 33Source: "{#BUILDDIR}\doc\html\figures\*.*"; DestDir: "{app}\documentation\html\figures"; Flags: ignoreversion 34Source: "{#BUILDDIR}\doc\html\images\*.*"; DestDir: "{app}\documentation\html\images"; Flags: ignoreversion 35Source: "{#SRCDIR}\COPYING"; DestDir: "{app}"; Flags: ignoreversion 36Source: "{#SRCDIR}\doc\monotone.info*"; DestDir: "{app}\documentation"; Flags: ignoreversion 37 38; this file is generated by Makefile target "dlls.iss" 39; it creates list of distributable DLLs 40#include "dlls.iss" 41 42; the same but for language files 43#include "linguas.iss" 44 45[Tasks] 46Name: modifypath; Description: "Add monotone to your path"; GroupDescription: "Get up and running"; Flags: unchecked 47Name: viewdocs; Description: "View the monotone documentation"; GroupDescription: "Get up and running" 48 49[Run] 50Filename: "{app}\documentation\html\index.html"; Tasks: viewdocs; Flags: shellexec nowait; WorkingDir: "{app}\documentation\html" 51 52[Icons] 53Name: "{group}\monotone documentation"; Filename: "{app}\documentation\html\index.html"; WorkingDir: "{app}\documentation\html" 54 55[Code] 56function ModPathDir(): String; 57begin 58 Result := ExpandConstant('{app}'); 59end; 60 61#include "@top_srcdir@\innosetup\modpath.iss" 62 63