(I'm talking Windows version here.)
Many thanks, and may I also say it's good to be back after years!

Moderators: Flumminator, Zomis
Code: Select all
; ==============================================================================
; template.iss
; ------------------------------------------------------------------------------
; configuration template for Inno Setup installation project
;
; 2006-04-22 info@artsoft.org
; ==============================================================================
[Setup]
AppName=_PRG_NAME_
AppVerName=_PRG_NAME_ _PRG_VERSION_
AppPublisher=Artsoft Entertainment
AppPublisherURL=http://www.artsoft.org/
AppSupportURL=http://www.artsoft.org/_PRG_BASENAME_/
AppUpdatesURL=http://www.artsoft.org/_PRG_BASENAME_/
DefaultDirName={pf}\_PRG_NAME_
DefaultGroupName=_PRG_NAME_
LicenseFile="_PRG_DIR_\COPYING.txt"
;InfoBeforeFile="_PRG_DIR_\INSTALL.txt"
;InfoAfterFile="_PRG_DIR_\README.txt"
UninstallDisplayIcon={app}\_PRG_EXE_
Compression=lzma
SolidCompression=yes
OutputBaseFilename=_SETUP_EXE_
OutputDir=.
[Files]
Source: "_PRG_DIR_\*"; DestDir: "{app}"; Flags: recursesubdirs createallsubdirs
[Tasks]
Name: "desktopicon"; Description: "Create a &Desktop icon"; GroupDescription: "Additional icons:"
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"
[Icons]
Name: "{group}\_PRG_NAME_"; Filename: "{app}\_PRG_EXE_"
Name: "{group}\_PRG_NAME_ on the Web"; Filename: "{app}\_PRG_BASENAME_.url"
Name: "{userdesktop}\_PRG_NAME_"; Filename: "{app}\_PRG_EXE_"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\_PRG_NAME_"; Filename: "{app}\_PRG_EXE_"; Tasks: quicklaunchicon
; This dynamically generates a Windows internet shortcut file. Unfortunately,
; this file is not removed when the package is uninstalled, leaving an empty
; program directory with just that internet shortcut file. Using a static file
; does not cause this problem.
;[INI]
;Filename: "{app}\_PRG_BASENAME_.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.artsoft.org/_PRG_BASENAME_/"
[Run]
Filename: "{app}\_PRG_EXE_"; Description: "Launch _PRG_NAME_"; Flags: nowait postinstall skipifsilent
I've used the installer twice to install RnD (3.2.0 -> 3.2.3 -> 3.2.4). I've installed it both times to the same directory as the previous installation. It hasn't ever erased the level sets, graphics, music, anything. Nor has it deleted or overwritten other things I've saved in the directory such as ConfEdit.Holger wrote:> Wouldn't the installer erase the levels directory in RnD program dir?
I would be very surprised if it would do that -- I'm sure it just doesn't touch any existing files that are not part of the installation archive. (Haven't tested this, though.)
[/code]