Rev 2 | Rev 4 | 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 |
||
10 | AppVerName=SpaceMission 1.1 |
||
11 | AppVersion=1.1 |
||
2 | daniel-mar | 12 | AppCopyright=© Copyright 2001 - 2011 ViaThinkSoft. |
1 | daniel-mar | 13 | AppPublisher=ViaThinkSoft |
14 | AppPublisherURL=http://www.viathinksoft.de/ |
||
15 | AppSupportURL=http://www.daniel-marschall.de/ |
||
16 | AppUpdatesURL=http://www.viathinksoft.de/ |
||
17 | DefaultDirName={pf}\SpaceMission |
||
18 | DefaultGroupName=SpaceMission |
||
19 | VersionInfoCompany=ViaThinkSoft |
||
2 | daniel-mar | 20 | VersionInfoCopyright=© Copyright 2001 - 2011 ViaThinkSoft. |
1 | daniel-mar | 21 | VersionInfoDescription=SpraceMission Setup |
22 | VersionInfoTextVersion=1.0.0.0 |
||
23 | VersionInfoVersion=1.1 |
||
24 | Compression=zip/9 |
||
25 | |||
26 | [Languages] |
||
27 | Name: de; MessagesFile: "compiler:Languages\German.isl" |
||
28 | |||
29 | [LangOptions] |
||
30 | LanguageName=Deutsch |
||
31 | LanguageID=$0407 |
||
32 | |||
33 | [Tasks] |
||
34 | Name: "desktopicon"; Description: "Erstelle eine Verknüpfung auf dem &Desktop"; GroupDescription: "Programmverknüpfungen:"; MinVersion: 4,4 |
||
35 | Name: "levedit"; Description: "Installiere den &Leveleditor"; GroupDescription: "Zusatzprogramme:"; MinVersion: 4,4 |
||
3 | daniel-mar | 36 | Name: "converter"; Description: "Installiere den Level&converter"; GroupDescription: "Zusatzprogramme:"; MinVersion: 4,4; Flags: unchecked |
1 | daniel-mar | 37 | |
38 | [Files] |
||
39 | Source: "..\SpaceMission.exe"; DestDir: "{app}"; Flags: ignoreversion |
||
40 | Source: "..\LevEdit.exe"; DestDir: "{app}"; Flags: ignoreversion; Tasks: levedit |
||
3 | daniel-mar | 41 | Source: "..\Converter.exe"; DestDir: "{app}"; Flags: ignoreversion; Tasks: converter |
1 | daniel-mar | 42 | Source: "..\Dokumentation.pdf"; DestDir: "{app}"; Flags: ignoreversion |
43 | Source: "..\Bilder\Auswahl.bmp"; DestDir: "{app}\Bilder"; Flags: ignoreversion; Tasks: levedit |
||
44 | Source: "..\Bilder\Delphi.bmp"; DestDir: "{app}\Bilder"; Flags: ignoreversion |
||
45 | Source: "..\Bilder\LevSplash.jpg"; DestDir: "{app}\Bilder"; Flags: ignoreversion; Tasks: levedit |
||
46 | Source: "..\Bilder\SplSplash.jpg"; DestDir: "{app}\Bilder"; Flags: ignoreversion |
||
47 | Source: "..\DirectX\Sound.dxw"; DestDir: "{app}\DirectX"; Flags: ignoreversion |
||
48 | Source: "..\DirectX\Graphic.dxg"; DestDir: "{app}\DirectX"; Flags: ignoreversion |
||
49 | Source: "..\Einstellungen\SpaceMission.ini"; DestDir: "{app}\Einstellungen"; Flags: ignoreversion |
||
50 | Source: "..\Levels\Level 1.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
51 | Source: "..\Levels\Level 2.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
52 | Source: "..\Levels\Level 3.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
53 | Source: "..\Levels\Level 4.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
54 | Source: "..\Levels\Level 5.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
55 | Source: "..\Levels\Level 6.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
56 | Source: "..\Levels\Level 7.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
57 | Source: "..\Levels\Level 8.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
58 | Source: "..\Levels\Level 9.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
59 | Source: "..\Levels\Level 10.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
60 | Source: "..\Levels\Level 11.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
61 | Source: "..\Levels\Level 12.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
62 | Source: "..\Levels\Level 13.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
63 | Source: "..\Levels\Level 14.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
64 | Source: "..\Levels\Level 15.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
65 | Source: "..\Levels\Level 16.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
66 | Source: "..\Levels\Level 17.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
67 | Source: "..\Levels\Level 18.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
68 | Source: "..\Levels\Level 19.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
69 | Source: "..\Levels\Level 20.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
70 | Source: "..\Levels\Level 21.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
71 | Source: "..\Levels\Level 22.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
72 | Source: "..\Levels\Level 23.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
73 | Source: "..\Levels\Level 24.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
74 | Source: "..\Levels\Level 25.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
75 | Source: "..\Levels\Level 26.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
76 | Source: "..\Levels\Level 27.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
77 | Source: "..\Levels\Level 28.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
78 | Source: "..\Levels\Level 29.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
79 | Source: "..\Levels\Level 30.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
80 | Source: "..\Levels\Level 31.lev"; DestDir: "{app}\Levels"; Flags: ignoreversion |
||
81 | Source: "..\Musik\Boss.mid"; DestDir: "{app}\Musik"; Flags: ignoreversion |
||
82 | Source: "..\Musik\Game.mid"; DestDir: "{app}\Musik"; Flags: ignoreversion |
||
83 | Source: "..\Musik\Scene.mid"; DestDir: "{app}\Musik"; Flags: ignoreversion |
||
84 | Source: "..\Musik\Title.mid"; DestDir: "{app}\Musik"; Flags: ignoreversion |
||
85 | Source: "..\Texte\Mitwirkende.txt"; DestDir: "{app}\Texte"; Flags: ignoreversion |
||
86 | |||
87 | [Dirs] |
||
88 | Name: "{app}\Spielstände" |
||
89 | Name: "{app}\Levels" |
||
3 | daniel-mar | 90 | Name: "{app}\Eingabe"; Tasks: converter |
91 | Name: "{app}\Ausgabe"; Tasks: converter |
||
92 | Name: "{app}\Temp"; Tasks: converter |
||
93 | Name: "{app}\Temp\1"; Tasks: converter |
||
94 | Name: "{app}\Temp\2"; Tasks: converter |
||
1 | daniel-mar | 95 | Name: "{group}\Webseiten" |
96 | Name: "{group}\Ordner" |
||
97 | |||
98 | [Icons] |
||
99 | Name: "{group}\Webseiten\Daniel Marschalls Webportal"; Filename: "http://www.daniel-marschall.de/" |
||
100 | Name: "{group}\Webseiten\ViaThinkSoft"; Filename: "http://www.viathinksoft.de/" |
||
101 | Name: "{group}\Webseiten\Projektseite auf ViaThinkSoft"; Filename: "http://www.viathinksoft.de/index.php?page=projektanzeige&seite=projekt-19" |
||
102 | Name: "{group}\SpaceMission"; Filename: "{app}\SpaceMission.exe" |
||
103 | Name: "{group}\Dokumentation"; Filename: "{app}\Dokumentation.pdf" |
||
104 | Name: "{group}\Leveleditor"; Filename: "{app}\LevEdit.exe"; Tasks: levedit |
||
3 | daniel-mar | 105 | Name: "{group}\Levelconverter"; Filename: "{app}\Converter.exe"; Tasks: converter |
1 | daniel-mar | 106 | Name: "{group}\Ordner\Levelordner"; Filename: "{app}\Levels\" |
107 | Name: "{group}\Ordner\Spielstände"; Filename: "{app}\Spielstände\" |
||
3 | daniel-mar | 108 | Name: "{group}\Ordner\Converter Eingabeordner"; Filename: "{app}\Eingabe\"; Tasks: converter |
109 | Name: "{group}\Ordner\Converter Ausgabeordner"; Filename: "{app}\Ausgabe\"; Tasks: converter |
||
1 | daniel-mar | 110 | Name: "{userdesktop}\SpaceMission"; Filename: "{app}\SpaceMission.exe"; MinVersion: 4,4; Tasks: desktopicon |
111 | Name: "{group}\SpaceMission deinstallieren"; Filename: "{uninstallexe}" |
||
112 | |||
113 | [Run] |
||
114 | Filename: "{app}\SpaceMission.exe"; Description: "SpaceMission starten"; Flags: nowait postinstall skipifsilent |
||
115 | |||
116 | [Code] |
||
117 | function InitializeSetup(): Boolean; |
||
118 | begin |
||
119 | if CheckForMutexes('SpaceMission11Setup')=false then |
||
120 | begin |
||
121 | Createmutex('SpaceMission11Setup'); |
||
122 | Result := true; |
||
123 | end |
||
124 | else |
||
125 | begin |
||
126 | Result := False; |
||
127 | end; |
||
128 | end; |
||
129 |