oliver@68
|
1 |
; -- OpenSecurity.iss --
|
oliver@68
|
2 |
; OpenSecurity setup file for use with
|
oliver@68
|
3 |
; Inno Setup Compiler (http://www.jrsoftware.org/isinfo.php)
|
oliver@68
|
4 |
|
oliver@68
|
5 |
[Setup]
|
oliver@76
|
6 |
; Basic installation stuff and config
|
oliver@68
|
7 |
AppName=OpenSecurity
|
oliver@75
|
8 |
AppContact=AIT Austrian Institute of Technology
|
oliver@68
|
9 |
AppPublisher=AIT Austrian Institute of Technology
|
oliver@68
|
10 |
AppPublisherURL=http://www.ait.ac.at/
|
oliver@68
|
11 |
AppVersion=0.1
|
oliver@68
|
12 |
ArchitecturesInstallIn64BitMode=x64
|
oliver@68
|
13 |
DefaultDirName={pf}\OpenSecurity
|
oliver@76
|
14 |
DefaultGroupName=OpenSecurity
|
oliver@68
|
15 |
OutputDir="."
|
oliver@68
|
16 |
OutputBaseFilename="OpenSecurity Setup V0.1"
|
oliver@68
|
17 |
OutputManifestFile=OpenSecurity-Setup-Manifest.txt
|
oliver@68
|
18 |
SetupIconFile=OpenSecurity\gfx\OpenSecurity.ico
|
oliver@68
|
19 |
SolidCompression=yes
|
oliver@68
|
20 |
UninstallDisplayIcon={app}\gfx\OpenSecurity.ico
|
oliver@68
|
21 |
|
oliver@68
|
22 |
[Files]
|
oliver@76
|
23 |
; Files to copy
|
oliver@68
|
24 |
Source: "OpenSecurity\bin\*"; Excludes: "*.pyc"; DestDir: "{app}\bin"; Flags: recursesubdirs;
|
oliver@68
|
25 |
Source: "OpenSecurity\cygwin64\*"; DestDir: "{app}\cygwin64"; Flags: recursesubdirs;
|
oliver@68
|
26 |
Source: "OpenSecurity\gfx\*"; DestDir: "{app}\gfx"; Flags: recursesubdirs;
|
oliver@68
|
27 |
Source: "OpenSecurity\install\*"; DestDir: "{app}\install"; Flags: recursesubdirs;
|
oliver@68
|
28 |
Source: "OpenSecurity\python27\*"; DestDir: "{app}\python27"; Flags: recursesubdirs;
|
oliver@68
|
29 |
|
oliver@76
|
30 |
[Registry]
|
oliver@76
|
31 |
; Registry entries to set
|
oliver@76
|
32 |
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueName: "OpenSecurity Daemon"; ValueType: string; ValueData: "{app}\python27\pythonw.exe ""{app}\bin\opensecurityd.pyw"""; Flags: uninsdeletevalue
|
oliver@76
|
33 |
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueName: "OpenSecurity Tray Icon"; ValueType: string; ValueData: "{app}\python27\pythonw.exe ""{app}\bin\opensecurity_tray.pyw"""; Flags: uninsdeletevalue
|
oliver@76
|
34 |
|
oliver@76
|
35 |
[Icons]
|
oliver@76
|
36 |
; Program Icons in start menu
|
oliver@76
|
37 |
Name: "{group}\OpenSecurity Tray Icon"; Filename: "{app}\python27\pythonw.exe"; Parameters: """{app}\bin\opensecurity_tray.pyw"""; WorkingDir: "{userappdata}"; Comment: "The OpenSecurity Tray Icon"; IconFilename: "{app}\gfx\OpenSecurity.ico"
|
oliver@76
|
38 |
Name: "{group}\OpenSecurity Server"; Filename: "{app}\python27\pythonw.exe"; Parameters: """{app}\bin\opensecurityd.pyw"""; WorkingDir: "{userappdata}"; Comment: "The OpenSecurity VM System Orchestrating Server"; IconFilename: "{app}\gfx\OpenSecurity.ico"
|
oliver@76
|
39 |
Name: "{group}\Uninstall OpenSecurity"; Filename: "{uninstallexe}"
|
oliver@76
|
40 |
|
oliver@68
|
41 |
[Run]
|
oliver@76
|
42 |
; Run after installment
|
oliver@68
|
43 |
Filename: "{app}\install\initial_vm.bat"; Description: "Loading initial VM"; WorkingDir: "{app}\install"; StatusMsg: "Setting up initial VM..."; Flags: runasoriginaluser
|
oliver@76
|
44 |
|