From be969865935a97fb4df5ed6a88e68b7e89bff1a2 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 2 Nov 2015 08:58:32 +0100 Subject: [PATCH] Created windows installer --- src/windows/mkinstdir.sh | 1 + src/windows/recoll-setup.iss | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 src/windows/recoll-setup.iss diff --git a/src/windows/mkinstdir.sh b/src/windows/mkinstdir.sh index b48c3711..64b4f8d3 100644 --- a/src/windows/mkinstdir.sh +++ b/src/windows/mkinstdir.sh @@ -117,6 +117,7 @@ copyrecoll() chkcp $RCLQ $DESTDIR chkcp $RCLS $DESTDIR + chkcp $RCL/COPYING $DESTDIR/COPYING.txt chkcp $RCL/sampleconf/fields $DESTDIR/Share/examples chkcp $RCL/sampleconf/fragbuts.xml $DESTDIR/Share/examples chkcp $RCL/windows/mimeconf $DESTDIR/Share/examples diff --git a/src/windows/recoll-setup.iss b/src/windows/recoll-setup.iss new file mode 100644 index 00000000..00018c00 --- /dev/null +++ b/src/windows/recoll-setup.iss @@ -0,0 +1,48 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "Recoll" +#define MyAppVersion "1.22.0-20151103" +#define MyAppPublisher "Recoll.org" +#define MyAppURL "http://www.recoll.org" +#define MyAppExeName "recoll.exe" + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. +; Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId={{E9BC39EC-0E3D-4DDA-8DA0-FDB8ED16DC8D} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={pf}\{#MyAppName} +DefaultGroupName={#MyAppName} +LicenseFile=C:\install\recoll\COPYING.txt +OutputDir=C:\Temp +OutputBaseFilename=recoll-setup-{#MyAppVersion} +SetupIconFile=C:\recoll\src\desktop\recoll.ico +Compression=lzma +SolidCompression=yes + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "C:\install\recoll\recoll.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\install\recoll\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent +