-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.iss
More file actions
38 lines (32 loc) · 1.34 KB
/
setup.iss
File metadata and controls
38 lines (32 loc) · 1.34 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
35
36
37
38
#define MyAppName "PDF Compressor"
#define MyAppVersion "1.0.0"
#define MyAppPublisher "Shahriar Parvez Khan"
#define MyAppExeName "PDF_Compressor_Setup.exe"
[Setup]
AppId={{spk-144-0001}}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
DefaultDirName={autopf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
OutputDir=Output
OutputBaseFilename={#MyAppExeName}
Compression=lzma
SolidCompression=yes
WizardStyle=modern
SetupIconFile=spk.ico
UninstallDisplayIcon={app}\{#MyAppExeName}
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "dist\PDF_Compressor.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "spk.ico"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\PDF_Compressor.exe"; IconFilename: "{app}\spk.ico"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\PDF_Compressor.exe"; IconFilename: "{app}\spk.ico"; Tasks: desktopicon
[Run]
Filename: "{app}\PDF_Compressor.exe"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent