Rev 55 | Rev 58 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | daniel-mar | 1 | ; SpaceMission Setup Script for InnoSetup |
1 | daniel-mar | 2 | ; by Daniel Marschall |
3 | |||
4 | ; http://www.daniel-marschall.de/ |
||
5 | |||
6 | ; Shut-Down Game?! |
||
7 | |||
8 | [Setup] |
||
9 | AppName=SpaceMission |
||
31 | daniel-mar | 10 | AppVerName=SpaceMission 1.2 |
11 | AppVersion=1.2 |
||
57 | daniel-mar | 12 | AppCopyright=© Copyright 2001 - 2024 ViaThinkSoft |
1 | daniel-mar | 13 | AppPublisher=ViaThinkSoft |
18 | daniel-mar | 14 | AppPublisherURL=https://www.viathinksoft.de/ |
15 | AppSupportURL=https://www.daniel-marschall.de/ |
||
16 | AppUpdatesURL=https://www.viathinksoft.de/ |
||
57 | daniel-mar | 17 | DefaultDirName={autopf}\SpaceMission |
1 | daniel-mar | 18 | DefaultGroupName=SpaceMission |
19 | VersionInfoCompany=ViaThinkSoft |
||
57 | daniel-mar | 20 | VersionInfoCopyright=© Copyright 2001 - 2024 ViaThinkSoft |
1 | daniel-mar | 21 | VersionInfoDescription=SpraceMission Setup |
22 | VersionInfoTextVersion=1.0.0.0 |
||
31 | daniel-mar | 23 | VersionInfoVersion=1.2 |
57 | daniel-mar | 24 | OutputBaseFilename=SpaceMission_Setup |
25 | OutputDir=. |
||
17 | daniel-mar | 26 | ; Configure Sign Tool in InnoSetup at "Tools => Configure Sign Tools" (adjust the path to your SVN repository location) |
27 | ; Name = sign_single |
||
28 | ; Command = "C:\SVN\...\sign_single.bat" $f |
||
29 | SignTool=sign_single |
||
30 | SignedUninstaller=yes |
||
1 | daniel-mar | 31 | |
32 | [Languages] |
||
33 | Name: de; MessagesFile: "compiler:Languages\German.isl" |
||
34 | |||
35 | [LangOptions] |
||
36 | LanguageName=Deutsch |
||
37 | LanguageID=$0407 |
||
38 | |||
39 | [Tasks] |
||
40 | Name: "desktopicon"; Description: "Erstelle eine Verknüpfung auf dem &Desktop"; GroupDescription: "Programmverknüpfungen:"; MinVersion: 4,4 |
||
41 | Name: "levedit"; Description: "Installiere den &Leveleditor"; GroupDescription: "Zusatzprogramme:"; MinVersion: 4,4 |
||
42 | |||
43 | [Files] |
||
55 | daniel-mar | 44 | Source: "..\SpaceMission.exe"; DestDir: "{app}"; Flags: ignoreversion signonce |
45 | Source: "..\LevEdit.exe"; DestDir: "{app}"; Flags: ignoreversion signonce; Tasks: levedit |
||
28 | daniel-mar | 46 | ;Source: "..\Dokumentation.pdf"; DestDir: "{app}"; Flags: ignoreversion |
31 | daniel-mar | 47 | Source: "..\DirectX\Graphics.dxg"; DestDir: "{app}\DirectX"; Flags: ignoreversion |
18 | daniel-mar | 48 | Source: "..\DirectX\Music.dxm"; DestDir: "{app}\DirectX"; Flags: ignoreversion |
1 | daniel-mar | 49 | Source: "..\DirectX\Sound.dxw"; DestDir: "{app}\DirectX"; Flags: ignoreversion |
4 | daniel-mar | 50 | Source: "..\Levels\*.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
1 | daniel-mar | 51 | |
52 | [Dirs] |
||
53 | Name: "{group}\Webseiten" |
||
54 | Name: "{group}\Ordner" |
||
55 | |||
56 | [Icons] |
||
18 | daniel-mar | 57 | Name: "{group}\Webseiten\Daniel Marschall"; Filename: "https://www.daniel-marschall.de/" |
58 | Name: "{group}\Webseiten\ViaThinkSoft"; Filename: "https://www.viathinksoft.de/" |
||
59 | Name: "{group}\Webseiten\Projektseite auf ViaThinkSoft"; Filename: "https://www.viathinksoft.de/index.php?page=projektanzeige&seite=projekt-19" |
||
1 | daniel-mar | 60 | Name: "{group}\SpaceMission"; Filename: "{app}\SpaceMission.exe" |
28 | daniel-mar | 61 | ;Name: "{group}\Dokumentation"; Filename: "{app}\Dokumentation.pdf" |
1 | daniel-mar | 62 | Name: "{group}\Leveleditor"; Filename: "{app}\LevEdit.exe"; Tasks: levedit |
63 | Name: "{group}\Ordner\Levelordner"; Filename: "{app}\Levels\" |
||
64 | Name: "{userdesktop}\SpaceMission"; Filename: "{app}\SpaceMission.exe"; MinVersion: 4,4; Tasks: desktopicon |
||
65 | Name: "{group}\SpaceMission deinstallieren"; Filename: "{uninstallexe}" |
||
66 | |||
67 | [Run] |
||
68 | Filename: "{app}\SpaceMission.exe"; Description: "SpaceMission starten"; Flags: nowait postinstall skipifsilent |
||
69 | |||
70 | [Code] |
||
71 | function InitializeSetup(): Boolean; |
||
72 | begin |
||
73 | if CheckForMutexes('SpaceMission11Setup')=false then |
||
74 | begin |
||
75 | Createmutex('SpaceMission11Setup'); |
||
76 | Result := true; |
||
77 | end |
||
78 | else |
||
79 | begin |
||
80 | Result := False; |
||
81 | end; |
||
82 | end; |
||
83 |