Rev 7 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4 | daniel-mar | 1 | ; (De)Coder Script für InnoSetup |
2 | ; Fehler bei Uninstallation: ReadOnly, Anwendung in Benutzung |
||
3 | |||
4 | [Setup] |
||
5 | AppName=LightGame |
||
6 | AppVerName=LightGame |
||
7 | AppVersion=1.0 |
||
6 | daniel-mar | 8 | AppCopyright=© Copyright 2009 - 2024 ViaThinkSoft |
4 | daniel-mar | 9 | AppPublisher=ViaThinkSoft |
7 | daniel-mar | 10 | AppPublisherURL=https://www.viathinksoft.de/ |
11 | AppSupportURL=https://www.daniel-marschall.de/ |
||
12 | AppUpdatesURL=https://www.viathinksoft.de/ |
||
6 | daniel-mar | 13 | DefaultDirName={autopf}\LightGame |
4 | daniel-mar | 14 | DefaultGroupName=LightGame |
15 | UninstallDisplayIcon={app}\LightGame.exe |
||
16 | VersionInfoCompany=ViaThinkSoft |
||
6 | daniel-mar | 17 | VersionInfoCopyright=© Copyright 2009 - 2024 ViaThinkSoft |
4 | daniel-mar | 18 | VersionInfoDescription=LightGame Setup |
19 | VersionInfoTextVersion=1.0.0.0 |
||
9 | daniel-mar | 20 | VersionInfoVersion=1.0 |
6 | daniel-mar | 21 | OutputDir=. |
4 | daniel-mar | 22 | OutputBaseFilename=LightGameSetup |
5 | daniel-mar | 23 | ; Configure Sign Tool in InnoSetup at "Tools => Configure Sign Tools" (adjust the path to your SVN repository location) |
24 | ; Name = sign_single |
||
25 | ; Command = "C:\SVN\...\sign_single.bat" $f |
||
26 | SignTool=sign_single |
||
27 | SignedUninstaller=yes |
||
4 | daniel-mar | 28 | |
29 | [Languages] |
||
30 | Name: de; MessagesFile: "compiler:Languages\German.isl" |
||
31 | |||
32 | [Files] |
||
33 | ; Allgemein |
||
6 | daniel-mar | 34 | Source: "LightGame.exe"; DestDir: "{app}"; Flags: ignoreversion signonce |
4 | daniel-mar | 35 | |
7 | daniel-mar | 36 | ;[Folders] |
37 | ;Name: "{group}\Webseiten"; Languages: de |
||
4 | daniel-mar | 38 | |
39 | [Icons] |
||
40 | ; Allgemein |
||
41 | Name: "{group}\LightGame"; Filename: "{app}\LightGame.exe" |
||
42 | ; Deutsch |
||
7 | daniel-mar | 43 | ;Name: "{group}\Deinstallieren"; Filename: "{uninstallexe}" |
44 | ;Name: "{group}\Webseiten\Daniel Marschall"; Filename: "https://www.daniel-marschall.de/" |
||
45 | ;Name: "{group}\Webseiten\ViaThinkSoft"; Filename: "https://www.viathinksoft.de/" |
||
46 | ;Name: "{group}\Webseiten\Projektseite auf ViaThinkSoft"; Filename: "https://www.viathinksoft.de/projects/lightgame" |
||
4 | daniel-mar | 47 | |
48 | [Run] |
||
49 | Filename: "{app}\LightGame.exe"; Description: "LightGame"; Flags: nowait postinstall skipifsilent |
||
50 | |||
51 | [Code] |
||
52 | function InitializeSetup(): Boolean; |
||
53 | begin |
||
54 | if CheckForMutexes('LightGameSetup')=false then |
||
55 | begin |
||
56 | Createmutex('LightGameSetup'); |
||
57 | Result := true; |
||
58 | end |
||
59 | else |
||
60 | begin |
||
61 | Result := False; |
||
62 | end; |
||
63 | end; |
||
64 |