|
1 |
| -; Script generated by the Inno Setup Script Wizard. |
2 |
| -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
3 |
| -#pragma include __INCLUDE__ + ";" + "C:\Program Files (x86)\Inno Download Plugin" |
4 |
| - |
5 |
| -[Setup] |
6 |
| -AppName=qbit-watcher |
7 |
| -AppVersion=1.0 |
8 |
| -WizardStyle=modern |
9 |
| -DefaultDirName={autopf}\qbit-watcher |
10 |
| -Uninstallable=yes |
11 |
| -UninstallDisplayName={app}\qbit-watcher |
12 |
| -UninstallDisplayIcon={app}\qbit-watcher.exe |
13 |
| -Compression=lzma2 |
14 |
| -SolidCompression=yes |
15 |
| -OutputDir=..\..\ |
16 |
| -OutputBaseFilename=qbit-watcher-setup |
17 |
| -ChangesEnvironment=yes |
18 |
| -PrivilegesRequired=lowest |
19 |
| - |
20 |
| -#include <idp.iss> |
21 |
| - |
22 |
| -[Files] |
23 |
| -Source: "..\..\dist\qbit-watcher\*"; DestDir: "{app}\qbit-watcher"; Flags: ignoreversion recursesubdirs |
24 |
| -Source: "..\..\config.yml"; DestDir: "{app}\qbit-watcher"; |
25 |
| -Source: "..\..\icon\*"; DestDir: "{app}\qbit-watcher\icon"; |
26 |
| -Source: "..\..\README.md"; DestDir: "{app}\qbit-watcher"; |
27 |
| -Source: "{tmp}\baretail.exe"; DestDir: "{app}\qbit-watcher" ; Flags: external; ExternalSize: 225280 |
28 |
| - |
29 |
| - |
30 |
| -[Code] |
31 |
| -procedure InitializeWizard(); |
32 |
| -begin |
33 |
| - idpAddFileSize('https://www.baremetalsoft.com/baretail/download.php?p=m', ExpandConstant('{tmp}\baretail.exe'), 225280); |
34 |
| - idpDownloadAfter(wpReady); |
35 |
| -end; |
36 |
| -
|
37 |
| -[Icons] |
38 |
| -Name: "{userstartup}\qbit-watcher.exe"; Filename: "{app}\qbit-watcher\qbit-watcher.exe"; WorkingDir: "{app}\qbit-watcher" |
39 |
| - |
40 |
| -[Run] |
41 |
| -Filename: "notepad"; Parameters: {app}\qbit-watcher\config.yml; Description: "Edit configuration file"; |
42 |
| -Filename: {app}\qbit-watcher\qbit-watcher.exe ; Flags: runhidden nowait |
| 1 | +; Script generated by the Inno Setup Script Wizard. |
| 2 | +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
| 3 | +#pragma include __INCLUDE__ + ";" + "C:\Program Files (x86)\Inno Download Plugin" |
| 4 | + |
| 5 | +[Setup] |
| 6 | +AppName=qbit-watcher |
| 7 | +AppVersion=1.0.0 |
| 8 | +WizardStyle=modern |
| 9 | +DefaultDirName={autopf}\qbit-watcher |
| 10 | +Uninstallable=yes |
| 11 | +UninstallDisplayName={app}\qbit-watcher |
| 12 | +UninstallDisplayIcon={app}\qbit-watcher.exe |
| 13 | +Compression=lzma2 |
| 14 | +SolidCompression=yes |
| 15 | +OutputDir=..\..\ |
| 16 | +OutputBaseFilename=qbit-watcher-setup |
| 17 | +ChangesEnvironment=yes |
| 18 | +PrivilegesRequired=lowest |
| 19 | + |
| 20 | +#include <idp.iss> |
| 21 | + |
| 22 | +[Files] |
| 23 | +Source: "..\..\dist\qbit-watcher\*"; DestDir: "{app}\qbit-watcher"; Flags: ignoreversion recursesubdirs |
| 24 | +Source: "..\..\config.yml"; DestDir: "{app}\qbit-watcher"; |
| 25 | +Source: "..\..\icon\*"; DestDir: "{app}\qbit-watcher\icon"; |
| 26 | +Source: "..\..\README.md"; DestDir: "{app}\qbit-watcher"; |
| 27 | +Source: "{tmp}\baretail.exe"; DestDir: "{app}\qbit-watcher" ; Flags: external; ExternalSize: 225280 |
| 28 | + |
| 29 | + |
| 30 | +[Code] |
| 31 | +procedure InitializeWizard(); |
| 32 | +begin |
| 33 | + idpAddFileSize('https://www.baremetalsoft.com/baretail/download.php?p=m', ExpandConstant('{tmp}\baretail.exe'), 225280); |
| 34 | + idpDownloadAfter(wpReady); |
| 35 | +end; |
| 36 | +
|
| 37 | +[Icons] |
| 38 | +Name: "{userstartup}\qbit-watcher.exe"; Filename: "{app}\qbit-watcher\qbit-watcher.exe"; WorkingDir: "{app}\qbit-watcher" |
| 39 | + |
| 40 | +[Run] |
| 41 | +Filename: "notepad"; Parameters: {app}\qbit-watcher\config.yml; Description: "Edit configuration file"; |
| 42 | +Filename: {app}\qbit-watcher\qbit-watcher.exe ; Flags: runhidden nowait |
0 commit comments