|
1 | 1 | ; Basic Inno Setup script.
|
2 |
| -; (C) 2019 CubicleSoft. All Rights Reserved. |
| 2 | +; (C) 2021 CubicleSoft. All Rights Reserved. |
3 | 3 |
|
4 | 4 | ; Adjust these defines for your app.
|
5 | 5 | #define BusinessName "Your Business or Name"
|
6 | 6 | #define BusinessURL "http://www.yourwebsite.com/"
|
7 | 7 | #define AppName "Your App"
|
| 8 | +#define AppMutex "Your Business or Name_Your App" |
8 | 9 | #define AppFilename "Your-App"
|
9 | 10 | #define AppVer "1.0"
|
10 | 11 | #define AppURL "http://www.yourwebsite.com/product/"
|
11 |
| -#define AppCopyright "(C) 2019 Your Business or Name" |
| 12 | +#define AppCopyright "(C) 2021 Your Business or Name" |
12 | 13 | #define SupportURL "http://www.yourwebsite.com/contact/"
|
13 | 14 | #define AppBase "yourapp"
|
14 | 15 |
|
@@ -44,6 +45,7 @@ AppPublisherURL={#BusinessURL}
|
44 | 45 | AppUpdatesURL={#AppURL}
|
45 | 46 | AppSupportURL={#SupportURL}
|
46 | 47 | AppCopyright={#AppCopyright}
|
| 48 | +AppMutex={#AppMutex} |
47 | 49 | SourceDir=..\..
|
48 | 50 | #ifdef PHP_64
|
49 | 51 | ArchitecturesInstallIn64BitMode=x64
|
|
107 | 109 | function InitializeSetup() : Boolean;
|
108 | 110 | var
|
109 | 111 | MsgResult : Integer;
|
110 |
| - ErrCode: integer; |
| 112 | + ErrCode: Integer; |
111 | 113 | begin
|
112 | 114 | // Check for the correct VC++ Redistributables.
|
113 | 115 | if ((NOT Is64BitInstallMode) AND (NOT FileExists(ExpandConstant('{syswow64}') + '\{#VCDetect}'))) then begin
|
@@ -167,10 +169,10 @@ Source: "support\*"; Excludes: "mac\,nix\"; DestDir: "{app}\support"; Flags: cre
|
167 | 169 | Source: "extensions\*"; Excludes: "README.md"; DestDir: "{app}\extensions"; Flags: createallsubdirs recursesubdirs skipifsourcedoesntexist
|
168 | 170 | Source: "www\*"; Excludes: "README.md"; DestDir: "{app}\www"; Flags: createallsubdirs recursesubdirs
|
169 | 171 | #ifdef PHP_32
|
170 |
| -Source: "installers\win-innosetup\php-win-32\*"; Excludes: "README.md"; DestDir: "{app}\php-32"; Check: (not Is64BitInstallMode) or IsTaskSelected('portablemode'); Flags: createallsubdirs recursesubdirs |
| 172 | +Source: "installers\win-innosetup\php-win-32\*"; Excludes: "README.md,*.bak"; DestDir: "{app}\php-32"; Check: (not Is64BitInstallMode) or IsTaskSelected('portablemode'); Flags: createallsubdirs recursesubdirs |
171 | 173 | #endif
|
172 | 174 | #ifdef PHP_64
|
173 |
| -Source: "installers\win-innosetup\php-win-64\*"; Excludes: "README.md"; DestDir: "{app}\php-64"; Check: Is64BitInstallMode or IsTaskSelected('portablemode'); Flags: createallsubdirs recursesubdirs |
| 175 | +Source: "installers\win-innosetup\php-win-64\*"; Excludes: "README.md,*.bak"; DestDir: "{app}\php-64"; Check: Is64BitInstallMode or IsTaskSelected('portablemode'); Flags: createallsubdirs recursesubdirs |
174 | 176 | #endif
|
175 | 177 | #ifdef PortableAppMode
|
176 | 178 | Source: "installers\win-innosetup\start.bat"; DestDir: "{app}"; Check: IsTaskSelected('portablemode')
|
|
0 commit comments