-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspeedmeter.iss
More file actions
34 lines (30 loc) · 1.06 KB
/
speedmeter.iss
File metadata and controls
34 lines (30 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[Setup]
AppName=Internet Speed Meter
AppVersion=1.0
DefaultDirName={autopf}\InternetSpeedMeter
DefaultGroupName=Internet Speed Meter
OutputDir=output
OutputBaseFilename=setup
SetupIconFile=speedmeter.ico
Compression=lzma2/ultra64
SolidCompression=yes
UninstallDisplayIcon={app}\speedmeter.exe
AppMutex=InternetSpeedMeterMutex
[Code]
function InitializeSetup(): Boolean;
begin
Result := True;
if CheckForMutexes('InternetSpeedMeterMutex') then
begin
MsgBox('Internet Speed Meter is already running. Please close it before installation.', mbError, MB_OK);
Result := False;
end;
end;
[Files]
Source: "dist\speedmeter.exe"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{group}\Internet Speed Meter"; Filename: "{app}\speedmeter.exe"
Name: "{userstartup}\Internet Speed Meter"; Filename: "{app}\speedmeter.exe" ; WorkingDir: "{app}"; IconFilename: "{app}\speedmeter.exe"
Name: "{group}\Uninstall Internet Speed Meter"; Filename: "{uninstallexe}"
[Run]
Filename: "{app}\speedmeter.exe"; Description: "Launch after install"; Flags: nowait postinstall skipifsilent