Fix JSON dump field names (fixes #45)
[darcs-mirror-arbtt.git] / setup.iss
1 [Setup]\r
2 ; NOTE: The value of AppId uniquely identifies this application.\r
3 ; Do not use the same AppId value in installers for other applications.\r
4 ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)\r
5 AppId={{1DB6EA4F-D387-432D-A739-283E0E916AF6}\r
6 AppName=arbtt\r
7 ;AppVerName=arbtt-0.4.4\r
8 #include "dist\setup-app-ver-name.iss"\r
9 AppPublisher=Joachim Breitner\r
10 AppPublisherURL=http://www.joachim-breitner.de/projects#arbtt\r
11 AppSupportURL=http://www.joachim-breitner.de/projects#arbtt\r
12 AppUpdatesURL=http://www.joachim-breitner.de/projects#arbtt\r
13 DefaultDirName={pf}\arbtt\r
14 DefaultGroupName=arbtt\r
15 AllowNoIcons=yes\r
16 OutputBaseFilename=arbtt-setup\r
17 Compression=lzma\r
18 SolidCompression=yes\r
19 ; Is there a point in displaying the LICENSE file?\r
20 ; LicenseFile=LICENSE\r
21 InfoBeforeFile=README.Win32\r
22 ChangesEnvironment=yes\r
23 \r
24 [Tasks]\r
25 Name: modifypath; Description: "Add arbtt binaries to the system path"\r
26 Name: autorun; Description: "Start to capture data upon system start"\r
27 Name: runcapture; Description: "Start to capture data after the installation"\r
28 \r
29 [Files]\r
30 Source: "dist\build\arbtt-dump\arbtt-dump.exe"; DestDir: "{app}\bin"\r
31 Source: "dist\build\arbtt-stats\arbtt-stats.exe"; DestDir: "{app}\bin"\r
32 Source: "dist\build\arbtt-capture\arbtt-capture.exe"; DestDir: "{app}\bin"\r
33 Source: "dist\build\arbtt-recover\arbtt-recover.exe"; DestDir: "{app}\bin"\r
34 Source: "C:\Programme\GnuWin32\bin\pcre3.dll"; DestDir: "{app}\bin"\r
35 Source: "categorize.cfg"; DestDir: "{userappdata}\arbtt"; Flags: onlyifdoesntexist uninsneveruninstall\r
36 Source: "doc\users_guide\*.*"; DestDir: "{app}\doc";\r
37 \r
38 [Icons]\r
39 Name: "{group}\Edit categorize.cfg"; Filename: "wordpad.exe"; Parameters: """{userappdata}\arbtt\categorize.cfg"""; Flags: useapppaths\r
40 Name: "{group}\{cm:UninstallProgram,arbtt}"; Filename: "{uninstallexe}"\r
41 Name: "{group}\arbtt documentation"; Filename: "{app}\doc\index.html"\r
42 Name: "{commonstartup}\arbtt-capture"; Filename: "{app}\bin\arbtt-capture.exe"; Comment: "Collects data for computer useage statistics"; Tasks: autorun\r
43 \r
44 [Run]\r
45 Filename: "{app}\bin\arbtt-capture.exe"; Description: "Start collecting usage data"; Flags: nowait; Tasks: runcapture\r
46 \r
47 [Languages]\r
48 Name: "english"; MessagesFile: "compiler:Default.isl"\r
49 Name: "german"; MessagesFile: "compiler:Languages\German.isl"\r
50 \r
51 [Code]\r
52 function ModPathDir(): TArrayOfString;\r
53         var\r
54         Dir:    TArrayOfString;\r
55         begin\r
56         setArrayLength(Dir, 1)\r
57         Dir[0] := ExpandConstant('{app}\bin');\r
58         Result := Dir;\r
59 end;\r
60 #include "modpath.iss"\r
61 \r