From b61c410dc18745aedde1f0878a9c737fdd267c65 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 13 Jun 2014 07:14:16 +0000
Subject: [PATCH] Working on a SyncTERM installer for Windows, using Inno
 Setup. The paths in the .iss file are specific to my build system, so not of
 immediate use to anyone else. Deuce might want to review the info (like the
 Publisher).

---
 src/syncterm/syncterm.ini |  8 +++++++
 src/syncterm/syncterm.iss | 49 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)
 create mode 100644 src/syncterm/syncterm.ini
 create mode 100644 src/syncterm/syncterm.iss

diff --git a/src/syncterm/syncterm.ini b/src/syncterm/syncterm.ini
new file mode 100644
index 0000000000..3e3ee5abd3
--- /dev/null
+++ b/src/syncterm/syncterm.ini
@@ -0,0 +1,8 @@
+[SyncTERM]
+	VideoMode      =12
+	ConfirmClose   =false
+	OutputMode     =WinConsole
+	SortOrder      =5,1
+	ModemDevice    =com4
+	ScreenMode     =Current
+	ModemComRate   =115200
diff --git a/src/syncterm/syncterm.iss b/src/syncterm/syncterm.iss
new file mode 100644
index 0000000000..a76d9d8b11
--- /dev/null
+++ b/src/syncterm/syncterm.iss
@@ -0,0 +1,49 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+#define MyAppName "SyncTERM"
+#define MyAppVersion "0.95"
+#define MyAppPublisher "SyncTERM"
+#define MyAppURL "http://www.syncterm.net/"
+#define MyAppExeName "syncterm.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={{4039074B-5A5B-4B2C-888C-3F857234B773}
+AppName={#MyAppName}
+AppVersion={#MyAppVersion}
+;AppVerName={#MyAppName} {#MyAppVersion}
+AppPublisher={#MyAppPublisher}
+AppPublisherURL={#MyAppURL}
+AppSupportURL={#MyAppURL}
+AppUpdatesURL={#MyAppURL}
+DefaultDirName={pf}\{#MyAppName}
+DefaultGroupName={#MyAppName}
+DisableProgramGroupPage=yes
+OutputBaseFilename=setup
+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:\Users\Rob\Downloads\syncterm.exe"; DestDir: "{app}"; Flags: ignoreversion
+Source: "C:\bin\SDL.dll"; DestDir: "{app}"; Flags: ignoreversion
+Source: "C:\bin\cl32.dll"; DestDir: "{app}"; Flags: ignoreversion
+Source: "e:\src\syncterm\syncterm.ini"; DestDir: "{userappdata}\{#MyAppName}"; Flags: ignoreversion
+Source: "s:\xfer\sbbs\syncterm.lst"; DestDir: "{commonappdata}\{#MyAppName}"; Flags: ignoreversion
+; 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
+
-- 
GitLab