Add script for building Windows installer
authorEthan White <ethan@weecology.org>
Sun, 4 May 2014 17:33:23 +0000 (13:33 -0400)
committerW. Trevor King <wking@tremily.us>
Mon, 16 Jun 2014 04:50:20 +0000 (21:50 -0700)
This script tells Inno Setup how to build the stand alone installer

swc-installer.iss [new file with mode: 0644]

diff --git a/swc-installer.iss b/swc-installer.iss
new file mode 100644 (file)
index 0000000..eacc71f
--- /dev/null
@@ -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
+