-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.iss
54 lines (48 loc) · 1.77 KB
/
setup.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Win11 Toggle Rounded Corners"
#define MyAppVersion "1.2"
#define MyAppPublisher "oberrich"
#define MyAppURL "https://github.com/oberrich/win11-toggle-rounded-corners"
[Setup]
AppId={{5B8824C9-B4BE-4B1C-AA9F-BA8362C44B96}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
AppCopyright=Copyright (C) 2023 oberrich, MIT License
DefaultDirName={autopf}\{#MyAppName}
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
LicenseFile=LICENSE
PrivilegesRequired=admin
OutputBaseFilename=win11-toggle-rounded-corners-setup
Compression=lzma
SolidCompression=yes
WizardStyle=modern
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
MissingRunOnceIdsWarning=no
OutputDir=build
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
; Place any regular files here
Source: "LICENSE"; DestDir: "{app}";
Source: "build\win11-toggle-rounded-corners.exe"; DestDir: "{app}"
[Run]
Filename: "schtasks"; \
Parameters: "/Create /F /RL highest /SC onlogon /TN ""Run win11-toggle-rounded-corners as admin on logon"" /TR ""'{app}\win11-toggle-rounded-corners.exe' --disable"""; \
Description: "Automatically run on logon"; \
Flags: runhidden runascurrentuser postinstall
Filename: "{app}\win11-toggle-rounded-corners.exe"; \
Description: "Run now"; \
Parameters: "--disable"; \
Flags: runhidden runascurrentuser nowait postinstall
[UninstallRun]
Filename: "schtasks"; \
Parameters: "/Delete /F /TN ""Run win11-toggle-rounded-corners as admin on logon"""; \
Flags: runhidden runascurrentuser