From: Arvid Norlander Date: Thu, 5 Oct 2006 13:08:00 +0000 (+0000) Subject: Merged updated .iss file back into trunk (from 0_3_x branch) for the future. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d680cc11ca081068a5a212c6a3970f46f67336c1;p=supertux.git Merged updated .iss file back into trunk (from 0_3_x branch) for the future. SVN-Revision: 4382 --- diff --git a/tools/innosetup/supertux.ico b/tools/innosetup/supertux.ico index 16840d29a..49d06796c 100644 Binary files a/tools/innosetup/supertux.ico and b/tools/innosetup/supertux.ico differ diff --git a/tools/innosetup/supertux.iss b/tools/innosetup/supertux.iss index b81af8535..25bed7b42 100644 --- a/tools/innosetup/supertux.iss +++ b/tools/innosetup/supertux.iss @@ -1,40 +1,91 @@ -; Supertux setup script. Process this scrip with InnoSetup +; Supertux setup script. Process this script with InnoSetup ; -; This script assumes that you have prepared a directory that contains all -; files that "jam install" installs in the data\ subdir. You should also place -; files like README and COPYING -; into the doc\ dir. -; The main directory should contain this file the supertux.ico, all .dll -; files and the supertux.exe file. +; Assumes the following was already done: +; +; rm -fr /tmp/innobuild +; ./autogen.sh +; LIBS="-L/usr/local/lib -lvorbisenc -lvorbisfile -lvorbis -logg" CFLAGS="-I/usr/local/include" configure +; jam +; jam -sDESTDIR="/tmp/innobuild" install +; + +#define MyAppName "SuperTux" +#define MyAppVer "0.4.0" +#define MyAppVerName "SuperTux 0.4.0" +#define MyAppPublisher "SuperTux Development Team" +#define MyAppURL "http://supertux.berlios.de" +#define MyAppExeName "supertux.exe" +#define BuildDir "C:\Documents and Settings\Username\Lokala inställningar\Temp\innobuild" +#define DllSourceDir "C:\msys\1.0\build\supertux" + [Setup] -AppName=SuperTux -AppVerName=SuperTux 0.1.3 -AppPublisher=SuperTux Development Team -AppPublisherURL=http://supertux.berlios.de -AppSupportURL=http://supertux.berlios.de -AppUpdatesURL=http://supertux.berlios.de -DefaultDirName={pf}\SuperTux -DefaultGroupName=SuperTux +AppName={#MyAppName} +AppVerName={#MyAppVerName} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={pf}\{#MyAppVerName} +DefaultGroupName={#MyAppVerName} +ShowLanguageDialog=yes +Compression=lzma +SolidCompression=true +OutputBaseFilename=supertux-{#MyAppVer}-win32-setup +AllowNoIcons=true +AppID={{4BEF4147-E17A-4848-BDC4-60A0AAC70F2A} +VersionInfoVersion={#MyAppVer} +AppVersion={#MyAppVer} +UninstallDisplayName={#MyAppVerName} +LicenseFile={#BuildDir}\usr\local\share\doc\supertux-{#MyAppVer}\COPYING +InfoAfterFile={#BuildDir}\usr\local\share\doc\supertux-{#MyAppVer}\README +SetupIconFile={#BuildDir}\usr\local\share\supertux\images\engine\icons\supertux.ico + +[Languages] +Name: english; MessagesFile: compiler:Default.isl +Name: basque; MessagesFile: compiler:Languages\Basque.isl +Name: brazilianportuguese; MessagesFile: compiler:Languages\BrazilianPortuguese.isl +Name: catalan; MessagesFile: compiler:Languages\Catalan.isl +Name: czech; MessagesFile: compiler:Languages\Czech.isl +Name: danish; MessagesFile: compiler:Languages\Danish.isl +Name: dutch; MessagesFile: compiler:Languages\Dutch.isl +Name: finnish; MessagesFile: compiler:Languages\Finnish.isl +Name: french; MessagesFile: compiler:Languages\French.isl +Name: german; MessagesFile: compiler:Languages\German.isl +Name: hungarian; MessagesFile: compiler:Languages\Hungarian.isl +Name: italian; MessagesFile: compiler:Languages\Italian.isl +Name: norwegian; MessagesFile: compiler:Languages\Norwegian.isl +Name: polish; MessagesFile: compiler:Languages\Polish.isl +Name: portuguese; MessagesFile: compiler:Languages\Portuguese.isl +Name: russian; MessagesFile: compiler:Languages\Russian.isl +Name: slovak; MessagesFile: compiler:Languages\Slovak.isl +Name: slovenian; MessagesFile: compiler:Languages\Slovenian.isl +Name: spanish; MessagesFile: compiler:Languages\Spanish.isl [Tasks] -Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked [Files] -Source: "supertux.exe"; DestDir: "{app}"; Flags: ignoreversion -Source: "supertux.ico"; DestDir: "{app}"; Flags: ignoreversion -Source: "*.dll"; DestDir: "{app}"; Flags: ignoreversion -Source: "doc\*.*"; DestDir: "{app}\doc\"; Flags: ignoreversion -Source: "data\*.*"; DestDir: "{app}\data\"; Flags: ignoreversion recursesubdirs +Source: {#BuildDir}\usr\local\bin\supertux.exe; DestDir: {app}; Flags: ignoreversion +Source: {#BuildDir}\usr\local\share\supertux\images\engine\icons\supertux.ico; DestDir: {app}; Flags: ignoreversion +Source: {#BuildDir}\usr\local\share\doc\supertux-{#MyAppVer}\COPYING; DestDir: {app}; Flags: ignoreversion +Source: {#BuildDir}\usr\local\share\doc\supertux-{#MyAppVer}\README; DestDir: {app}; Flags: ignoreversion +Source: {#DllSourceDir}\SDL.dll; DestDir: {app}; Flags: ignoreversion +Source: {#DllSourceDir}\SDL_image.dll; DestDir: {app}; Flags: ignoreversion +Source: {#DllSourceDir}\iconv.dll; DestDir: {app}; Flags: ignoreversion +Source: {#DllSourceDir}\libogg-0.dll; DestDir: {app}; Flags: ignoreversion +Source: {#DllSourceDir}\libphysfs-1-0-0.dll; DestDir: {app}; Flags: ignoreversion +;Source: {#DllSourceDir}\OpenAL32.dll; DestDir: {app}; Flags: ignoreversion +Source: {#BuildDir}\usr\local\share\supertux\*; DestDir: {app}\data; Flags: ignoreversion recursesubdirs createallsubdirs + [Icons] -Name: "{group}\SuperTux"; Filename: "{app}\supertux.exe"; WorkingDir: "{app}"; IconFilename: "{app}\supertux.ico" -Name: "{group}\{cm:UninstallProgram,SuperTux}"; Filename: "{uninstallexe}" -Name: "{userdesktop}\SuperTux"; Filename: "{app}\supertux.exe"; WorkingDir: "{app}"; IconFilename: "{app}\supertux.ico"; Tasks: desktopicon +Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; IconFilename: {app}\{#MyAppName}.ico +Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe} +Name: {userdesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; IconFilename: {app}\{#MyAppName}.ico; Tasks: desktopicon [Run] -Filename: "{app}\supertux.exe"; Description: "{cm:LaunchProgram,SuperTux}"; Flags: nowait postinstall skipifsilent +Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent [UninstallDelete] -Type: filesandordirs; Name: "{app}\.supertux" -Type: filesandordirs; Name: "{app}\stdout.txt" -Type: filesandordirs; Name: "{app}\stderr.txt" +Type: filesandordirs; Name: {app}\stdout.txt +Type: filesandordirs; Name: {app}\stderr.txt