forked from nilsschmidt1337/ldparteditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LDPE.iss
64 lines (55 loc) · 2.85 KB
/
LDPE.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
#define MyAppName "LDPartEditor"
#define MyAppVersion "0.8.46"
#define MyAppPublisher "Nils Schmidt"
#define MyAppExeName "LDPartEditor.exe"
#define MyExtension "*.dat"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId=1E5BAA6E-AFEF-48F6-8BDE-F98C3F1CBA1E
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
DefaultDirName={pf}\LDPartEditor
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
LicenseFile=I:\LDPE\LICENSE
OutputDir=I:\LDPE
OutputBaseFilename=LDPE_{#MyAppVersion}_Setup
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "associate"; Description: "{cm:AssocFileExtension,{#MyAppName},{#MyExtension}}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "I:\LDPE\LDPartEditor.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "I:\LDPE\glfw.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "I:\LDPE\jemalloc.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "I:\LDPE\lwjgl.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "I:\LDPE\OpenAL.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "I:\LDPE\LICENSE"; DestDir: "{app}"; Flags: ignoreversion
Source: "I:\LDPE\categories.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "I:\LDPE\primitive_rules.txt"; DestDir: "{app}"; Flags: ignoreversion
[Dirs]
Name: "{app}\plugin"
[UninstallDelete]
Type: filesandordirs; Name: "{app}"
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
[Registry]
Root: HKCR; Subkey: ".dat"; ValueType: string; ValueName: ; ValueData: "datfile"; Flags: uninsdeletekey; Tasks: associate
Root: HKCR; Subkey: "datfile\shell\open\command"; ValueType: string; ValueName: ; ValueData: "{app}\{#MyAppExeName} %1"; Flags: uninsdeletekey; Tasks: associate