-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstreams.iss
94 lines (78 loc) · 2.72 KB
/
streams.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#define MyAppName "Streams installer"
#define MyAppVersion "1.1.3.0"
#define MyAppPublisher "ProjectSoft"
#define MyAppURL "https://projectsoft.ru/"
[Setup]
AppId={{984E903F-553C-455C-9428-1994CA8C1DBE}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={sd}\streams
DefaultGroupName={#MyAppName}
OutputDir=installer
OutputBaseFilename=streams_installer
Compression=lzma
SolidCompression=true
WizardStyle=modern
UninstallDisplayName={cm:UninstallApp} {#MyAppName}
UninstallDisplayIcon={app}\icon.ico
DisableWelcomePage=False
DisableReadyPage=true
DisableReadyMemo=true
DisableFinishedPage=false
FlatComponentsList=false
AlwaysShowComponentsList=false
ShowComponentSizes=false
WindowShowCaption=false
WindowResizable=false
UsePreviousAppDir=false
UsePreviousGroup=false
AppendDefaultDirName=false
BackSolid=true
WindowStartMaximized=false
DisableProgramGroupPage=true
DisableDirPage=true
ShowLanguageDialog=yes
VersionInfoProductName={#MyAppName}
VersionInfoProductVersion={#MyAppVersion}
PrivilegesRequired=admin
InfoBeforeFile=bin\Eula.txt
ArchitecturesInstallIn64BitMode=x64
[Languages]
Name: en; MessagesFile: compiler:Default.isl
Name: rus; MessagesFile: compiler:Languages\Russian.isl
#include "comonMessage.iss"
[Icons]
Name: {group}\{cm:UninstallApp} {#MyAppName}; Filename: {uninstallexe}
[Files]
Source: bin\streams.exe; DestDir: {app}; DestName: streams.exe; Flags: solidbreak
Source: bin\unblock.exe; DestDir: {app}; DestName: unblock.exe; Flags: solidbreak
[Tasks]
Name: add_streams_path; Description: {cm:AddPathMessage}; Flags: exclusive
Name: add_cmd; Description: {cm:AddCmdMessage}
Name: good_mode; Description: {cm:GoodModeTask}
Name: reload_explorer; Description: {cm:ReloadExplorerTask}
Name: copy_path; Description: {cm:CopyPathTask}
;Name: shutdown_task; Description: Варианты завершения работы или с вариантами перезагрузки
[Run]
Filename: {sys}\rundll32.exe; WorkingDir: {sys}; Parameters: user32.dll,UpdatePerUserSystemParameters; StatusMsg: {cm:RegistryModule}
#include "my_tweaks.iss"
[UninstallDelete]
Name: {app}\*.*; Type: filesandordirs
Name: {app}; Type: dirifempty
[UninstallRun]
Filename: {sys}\rundll32.exe; WorkingDir: {sys}; Parameters: user32.dll,UpdatePerUserSystemParameters; StatusMsg: {cm:RegistryModule}
[Code]
const
ModPathName = 'add_streams_path';
ModPathType = 'system';
function ModPathDir(): TArrayOfString;
begin
setArrayLength(Result, 1)
Result[0] := ExpandConstant('{app}');
end;
#include "modpath.iss"