forked from hclivess/Bismuth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.iss
42 lines (34 loc) · 1.9 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
; -- Example1.iss --
; Demonstrates copying 3 files and creating an icon.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
[Setup]
AppName=Bismuth
AppVersion=Mainnet
DefaultDirName={pf}\Bismuth
DefaultGroupName=Bismuth
UninstallDisplayIcon={app}\node.exe
Compression=lzma2
SolidCompression=yes
OutputBaseFilename=Bismuth_installer
SetupIconFile=graphics\icon.ico
DisableDirPage=no
WizardImageFile=graphics\left.bmp
WizardSmallImageFile=graphics\mini.bmp
[Files]
Source: "Dist\*" ; DestDir: "{app}"; Flags: recursesubdirs;
[Icons]
Name: "{group}\Start"; Filename: "{app}\node.exe"
Name: "{group}\Interface"; Filename: "{app}\gui.exe"
Name: "{group}\Mining"; Filename: "{app}\miner.exe"
Name: "{group}\Uninstall Bismuth"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Start Node"; Filename: "{app}\node.exe"
Name: "{commondesktop}\Interface"; Filename: "{app}\gui.exe"
Name: "{commondesktop}\Mining"; Filename: "{app}\miner.exe"
[Run]
Filename: "{app}\node.exe"; Description: "Start"; Flags: postinstall shellexec skipifsilent
Filename: "{app}\gui.exe"; Description: "Interface"; Flags: postinstall nowait skipifsilent unchecked
Filename: "{app}\miner.exe"; Description: "Mining"; Flags: postinstall nowait skipifsilent unchecked
[Registry]
Root: "HKCU"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\node.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue;
Root: "HKCU"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\gui.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue;
Root: "HKCU"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\miner.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue;