From: Matthias Braun Date: Mon, 3 May 2004 11:18:28 +0000 (+0000) Subject: added files for windows installer X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=aca5026252ef230b38e2baff3ac362ee6b1b9a0d;p=supertux.git added files for windows installer SVN-Revision: 936 --- diff --git a/contrib/innosetup/supertux.ico b/contrib/innosetup/supertux.ico new file mode 100644 index 000000000..328a71f20 Binary files /dev/null and b/contrib/innosetup/supertux.ico differ diff --git a/contrib/innosetup/supertux.iss b/contrib/innosetup/supertux.iss new file mode 100644 index 000000000..576ed6ccd --- /dev/null +++ b/contrib/innosetup/supertux.iss @@ -0,0 +1,49 @@ +; Script generated by the Inno Setup Script Wizard. +; modified by Matthias Braun (thanks go to fEnio for the netpanzer script which I took as a base) + +[Setup] +AppName=SuperTux +AppVerName=SuperTux 0.1.0 +AppPublisher=SuperTux Development Team +AppPublisherURL=http://super-tux.sourceforge.net +AppSupportURL=http://super-tux.sourceforge.net +AppUpdatesURL=http://super-tux.sourceforge.net +DefaultDirName={pf}\SuperTux +DefaultGroupName=SuperTux +AllowNoIcons=yes +Compression=lzma +SolidCompression=yes + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "D:\supertux\supertux.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\AUTHORS"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\ChangeLog"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\COPYING"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\jpeg.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\libpng1.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\NEWS"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\README"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\SDL.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\SDL_image.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\SDL_mixer.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\TODO"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\zlib.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\supertux\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs +Source: "D:\supertux\contrib\innosetup\supertux.ico"; DestDir: "{app}"; Flags: ignoreversion +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[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 + +[Run] +Filename: "{app}\supertux.exe"; Description: "{cm:LaunchProgram,SuperTux}"; Flags: nowait postinstall skipifsilent + +[UninstallDelete] +Type: filesandordirs; Name: "{app}\.supertux" +Type: filesandordirs; Name: "{app}\stdout.txt" +Type: filesandordirs; Name: "{app}\stderr.txt"