-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathwhacked4.iss
71 lines (55 loc) · 2.74 KB
/
whacked4.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[Tasks]
Name: desktopicon; Description: Create a desktop icon; Flags: unchecked
Name: associate; Description: Associate with Dehacked patch files
[Files]
Source: .\build\exe.win-amd64-3.12\*.*; DestDir: {app}; Flags: recursesubdirs createallsubdirs
Source: .\fonts\dejavu-sans-mono\DejaVuSansMono.ttf; DestDir: {autofonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: DejaVu Sans Mono
Source: .\fonts\dejavu-sans-mono\DejaVuSansMono-Bold.ttf; DestDir: {autofonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: DejaVu Sans Mono Bold
[Icons]
Name: {group}\WhackEd4; Filename: {app}\whacked4.exe; WorkingDir: {app}; IconFilename: {app}\res\icon-hatchet.ico; IconIndex: 0
Name: {userdesktop}\WhackEd4; Filename: {app}\whacked4.exe; WorkingDir: {app}; IconFilename: {app}\res\icon-hatchet.ico; IconIndex: 0; Tasks: " desktopicon"
Name: {group}\{cm:UninstallProgram, WhackEd4}; Filename: {uninstallexe}
[Setup]
InternalCompressLevel=ultra64
SolidCompression=true
AppName=WhackEd4
AppVerName=WhackEd4 1.3.2
DefaultDirName={autopf}\WhackEd4
AlwaysUsePersonalGroup=false
ShowLanguageDialog=no
AppVersion=1.3.2
UninstallDisplayIcon={app}\whacked4.exe
UninstallDisplayName=WhackEd4
AppendDefaultGroupName=true
DefaultGroupName=WhackEd4
Compression=lzma2/ultra64
OutputDir=.
SourceDir=.
OutputBaseFilename=whacked4-setup-1.3.2
AllowNoIcons=true
PrivilegesRequired=admin
ChangesAssociations=true
InfoBeforeFile=
LicenseFile=LICENSE
FlatComponentsList=true
UninstallLogMode=overwrite
LanguageDetectionMethod=none
WizardImageStretch=false
RestartIfNeededByRun=false
AppID={{A8A56AC6-E82B-49AD-9093-5AC204830F89}
[Run]
Filename: {app}\whacked4.exe; WorkingDir: {app}; Description: Run WhackEd4; Flags: nowait postinstall hidewizard skipifsilent
[InstallDelete]
Name: {app}\cfg\tables_mbf_beta.json; Type: files
[UninstallDelete]
Name: {app}\res; Type: filesandordirs
Name: {app}\cfg; Type: filesandordirs
Name: {app}\*.*; Type: files
Name: {app}; Type: dirifempty
Name: {userappdata}\whacked4; Type: filesandordirs
[Registry]
Root: HKCR; SubKey: "WhackEd4"; ValueType: String; ValueName: ""; ValueData: "WhackEd4 patch file"; Flags: uninsdeletekey; Tasks: associate
Root: HKCR; Subkey: "WhackEd4\DefaultIcon"; ValueType: String; ValueName: ""; ValueData: "{app}\res\icon-document.ico,0"; Flags: uninsdeletekey; Tasks: associate
Root: HKCR; SubKey: "WhackEd4\Shell\Open\Command"; ValueType: String; ValueName: ""; ValueData: """{app}\whacked4.exe"" -workdir ""{app}"" -open ""%1"""; Flags: uninsdeletekey; Tasks: associate
Root: HKCR; SubKey: ".deh"; ValueType: String; ValueName: ""; ValueData: "WhackEd4"; Flags: uninsdeletekey; Tasks: associate
Root: HKCR; SubKey: ".bex"; ValueType: String; ValueName: ""; ValueData: "WhackEd4"; Flags: uninsdeletekey; Tasks: associate