Skip to content
Snippets Groups Projects
Commit 7c3b5ae2 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Update for SyncTERM 1.5 and Inno Setup 6

Address warnings from Inno Setup 6, indluding support for both
"administrative" and "non administrative" install modes (!).

This means, if you have not installed SyncTERM previously, you should have an
option to install for "All users" (requiring administrative rights) or
"Just You".

When installing in non-administrative mode ("Just You"), the program will be
installed in your user "Programs" folder, e.g.
 C:\Users\<yourname>\AppData\Local\Programs\SyncTERM

If you previously installed SyncTERM in the common "Program Files" or
"Program File (x86)" directories (which assuming administrative mode, the
only install mode previously), then the installer will install again to
that same location (and require administrative access).

I'm still including a syncterm.lst download option (using curl.exe) because
the Web List feature is not working so great in v1.5. That option should
go away in the next release.
parent 06040dba
No related branches found
No related tags found
No related merge requests found
Pipeline #8178 passed
......@@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "SyncTERM"
#define MyAppVersion "1.4"
#define MyAppVersion "1.5"
#define MyAppPublisher "SyncTERM"
#define MyAppURL "http://www.syncterm.net/"
#define MyAppExeName "syncterm.exe"
......@@ -19,13 +19,16 @@ AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
WizardStyle=modern
DefaultDirName={autopf}\{#MyAppName}
DefaultGroupName={#MyAppName}
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
DisableProgramGroupPage=yes
OutputBaseFilename=SyncTERM-{#MyAppVersion}-setup
Compression=lzma
SolidCompression=yes
ArchitecturesInstallIn64BitMode=x64
ArchitecturesInstallIn64BitMode=x64compatible
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
......@@ -44,51 +47,14 @@ Source: "c:\bin\x64\syncterm.exe"; DestDir: "{app}"; Flags: ignoreversion; Check
Source: "c:\bin\x64\syncterm.dll"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
Source: "C:\bin\x64\SDL2.dll"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
Source: "c:\sbbs\src\syncterm\fonts\*"; DestDir: "{app}\fonts"; Flags: ignoreversion
Source: "c:\sbbs\src\syncterm\syncterm.ini"; DestDir: "{userappdata}\{#MyAppName}"; Flags: ignoreversion confirmoverwrite
Source: "c:\sbbs\src\syncterm\syncterm.ini"; DestDir: "{autoappdata}\{#MyAppName}"; Flags: ignoreversion confirmoverwrite
Source: "s:\xfer\sbbs\syncterm.lst"; DestDir: "{commonappdata}\{#MyAppName}"; Tasks: systemlist; Flags: ignoreversion confirmoverwrite
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;[INI]
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Antique (8x14 and 8x16)"; Key: "Path8x14"; String: "{app}\fonts\antique.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Antique (8x14 and 8x16)"; Key: "Path8x16"; String: "{app}\fonts\antique.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Bold (8x8, 8x14, and 8x16)"; Key: "Path8x8"; String: "{app}\fonts\bold.f8"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Bold (8x8, 8x14, and 8x16)"; Key: "Path8x14"; String: "{app}\fonts\bold.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Bold (8x8, 8x14, and 8x16)"; Key: "Path8x16"; String: "{app}\fonts\bold.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Broadway (8x16)"; Key: "Path8x16"; String: "{app}\fonts\broadway.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Computer (8x14 and 8x16)"; Key: "Path8x14"; String: "{app}\fonts\computer.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Computer (8x14 and 8x16)"; Key: "Path8x16"; String: "{app}\fonts\computer.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Courier (8x14 and 8x16)"; Key: "Path8x14"; String: "{app}\fonts\courier.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Courier (8x14 and 8x16)"; Key: "Path8x16"; String: "{app}\fonts\courier.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Deco (8x16)"; Key: "Path8x16"; String: "{app}\fonts\deco.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Digital (8x16)"; Key: "Path8x16"; String: "{app}\fonts\digital.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Frankfurt (8x14)"; Key: "Path8x14"; String: "{app}\fonts\frankfrt.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Future (8x16)"; Key: "Path8x16"; String: "{app}\fonts\future.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Georgian (8x14)"; Key: "Path8x14"; String: "{app}\fonts\georgian.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Gothical (8x16)"; Key: "Path8x16"; String: "{app}\fonts\gothical.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Hearst (8x14 and 8x16)"; Key: "Path8x14"; String: "{app}\fonts\hearst.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Hearst (8x14 and 8x16)"; Key: "Path8x16"; String: "{app}\fonts\hearst.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:ICE (8x16)"; Key: "Path8x16"; String: "{app}\fonts\ice.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Jasnew (8x16)"; Key: "Path8x16"; String: "{app}\fonts\jasnew.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:LCD (8x16)"; Key: "Path8x16"; String: "{app}\fonts\lcd.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:LORE (8x16)"; Key: "Path8x16"; String: "{app}\fonts\lorefont.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Magic (8x16)"; Key: "Path8x16"; String: "{app}\fonts\magic.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Medieval (8x16)"; Key: "Path8x16"; String: "{app}\fonts\medieval.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Modern (8x16)"; Key: "Path8x16"; String: "{app}\fonts\modern.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Old English (8x14)"; Key: "Path8x14"; String: "{app}\fonts\oldeng.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Roman 1 (8x16)"; Key: "Path8x16"; String: "{app}\fonts\roman-1.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Roman 2 (8x16)"; Key: "Path8x16"; String: "{app}\fonts\roman.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Sans-serif (8x16)"; Key: "Path8x16"; String: "{app}\fonts\sansrif-.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Scribble (8x16)"; Key: "Path8x16"; String: "{app}\fonts\scribble.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Script (8x14 and 8x16)"; Key: "Path8x14"; String: "{app}\fonts\script.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Script (8x14 and 8x16)"; Key: "Path8x16"; String: "{app}\fonts\script.f16"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Small Caps (8x14)"; Key: "Path8x14"; String: "{app}\fonts\smalcaps.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Strange (8x14)"; Key: "Path8x14"; String: "{app}\fonts\strange.f14"
;Filename: "{userappdata}\{#MyAppName}\syncterm.ini"; Section: "Font:Swiss (8x16)"; Key: "Path8x16"; String: "{app}\fonts\swiss-2.f16"
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\Get Synchronet BBS List"; Filename: "{sys}\curl.exe"; Parameters: "http://synchro.net/syncterm.lst -o {commonappdata}\{#MyAppName}\syncterm.lst"; IconFilename: "{app}\{#MyAppExeName}"; Comment: "Get the latest Synchronet BBS List from Vertrauen";
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{group}\Check for updates"; Filename: "http://sourceforge.net/projects/syncterm/"; Comment: "Check for new SyncTERM versions";
[Run]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment