From c87523a2222cb882dcf672b2783e66c012d8f2b3 Mon Sep 17 00:00:00 2001 From: Ethan White Date: Sun, 4 May 2014 13:33:23 -0400 Subject: [PATCH] Add script for building Windows installer This script tells Inno Setup how to build the stand alone installer --- swc-installer.iss | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 swc-installer.iss diff --git a/swc-installer.iss b/swc-installer.iss new file mode 100644 index 0000000..eacc71f --- /dev/null +++ b/swc-installer.iss @@ -0,0 +1,37 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +[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={{2E6818B6-DA37-4D45-8FED-88A6EED6CD08} +AppName=Software Carpentry Windows Installer +AppVersion=0.1 +;AppVerName=Software Carpentry Windows Installer 0.1 +AppPublisher=Software Carpentry +AppPublisherURL=http://software-carpentry.org +AppSupportURL=http://software-carpentry.org +AppUpdatesURL=http://software-carpentry.org +DefaultDirName={pf}\swc-installer +DefaultGroupName=Software Carpentry Windows Installer +DisableProgramGroupPage=yes +OutputBaseFilename=SWCarpentryInstaller +SetupIconFile=software-carpentry-logo.ico +Compression=lzma +SolidCompression=yes + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Files] +Source: "dist\swc-windows-installer.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\Software Carpentry Windows Installer"; Filename: "{app}\swc-windows-installer.exe" + +[Run] +Filename: "{app}\swc-windows-installer.exe"; Description: "{cm:LaunchProgram,Software Carpentry Windows Installer}"; Flags: nowait postinstall skipifsilent + -- 2.26.2