-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bitwarden-autotype.iss
40 lines (34 loc) · 1.25 KB
/
bitwarden-autotype.iss
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
39
40
#define AppName "bitwarden-autotype"
#define AppExeName "bitwarden-autotype.exe"
#define AppExeSource ".\target\release\" + AppExeName
#define AppVersion RemoveFileExt(GetVersionNumbersString(AppExeSource))
#define AppPublisher "MCOfficer"
#define AppURL "https://github.com/MCOfficer/bitwarden-autotype/"
[Setup]
AppId={{2B0E41DE-5F03-4B1E-87CD-56BA81C740B9}
AppName={#AppName}
AppVersion={#AppVersion}
AppPublisher={#AppPublisher}
AppPublisherURL={#AppURL}
AppSupportURL={#AppURL}
AppUpdatesURL={#AppURL}
DefaultDirName={userpf}\{#AppName}
DefaultGroupName={#AppName}
LicenseFile=.\LICENSE
OutputDir=.
OutputBaseFilename={#AppName}-{#AppVersion}-setup
Compression=lzma
SolidCompression=yes
DisableProgramGroupPage=yes
PrivilegesRequired=lowest
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "{#AppExeSource}"; DestDir: "{app}"; Flags: ignoreversion
[Tasks]
Name: autostart; Description: "Launch automatically when Windows starts"
[Icons]
Name: "{userprograms}\{#AppName}"; Filename: "{app}\{#AppExeName}"
Name: "{userstartup}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: autostart
[Run]
Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent