1

Topic: Inno Setup installer script

Hi,

I created an installer for Teeworlds using Inno Setup. Inno Setup can be downloaded from http://www.innosetup.com/isdl.php.

Just save this as "teeworlds.iss" and put it in the same directory as Teeworlds itself, and run it to create the installer.

; Run this script from the same directory as Teeworlds to create the installer

[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={{2F7DE764-B5E4-4DBF-87F6-E8B01F039F2B}
AppName=Teeworlds
AppVerName=Teeworlds 0.5.0
AppPublisher=Magnus Auvinen
AppPublisherURL=http://www.teeworlds.com/
AppSupportURL=http://www.teeworlds.com/
AppUpdatesURL=http://www.teeworlds.com/
DefaultDirName={pf}\Teeworlds
DefaultGroupName=Teeworlds
LicenseFile=license.txt
OutputBaseFilename=teeworlds-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: "teeworlds.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "config_directory.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "license.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "readme.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "SDL.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "teeworlds_srv.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs

[Icons]
Name: "{group}\Teeworlds"; Filename: "{app}\teeworlds.exe"
Name: "{group}\{cm:ProgramOnTheWeb,Teeworlds}"; Filename: "http://www.teeworlds.com/"
Name: "{group}\{cm:UninstallProgram,Teeworlds}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Teeworlds"; Filename: "{app}\teeworlds.exe"; Tasks: desktopicon

[Run]
Filename: "{app}\teeworlds.exe"; Description: "{cm:LaunchProgram,Teeworlds}"; Flags: nowait postinstall skipifsilent

I hope this is useful!

2

Re: Inno Setup installer script

what can you do with them?

3

Re: Inno Setup installer script

If you download Inno setup, you can create installer with this script

Goodbye all. Account inactive since March 2011.