CDuce inno setup script 1.iss 3.28 KB
Newer Older
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "CDuce"
#define MyAppVerName "CDuce 0.5"
#define MyAppPublisher "PPS"
#define MyAppURL "http://www.cduce.org/"
#define MyAppExeName "cduce.exe"

[Setup]
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
17
DefaultDirName=C:\Program Files\{#MyAppName}
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
18
DefaultGroupName={#MyAppName}
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
19
20
LicenseFile=LICENSE.win32
InfoBeforeFile=
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
21
22
23
24
25
26
27
28
29
30
31
InfoAfterFile=
OutputBaseFilename=CDuce setup
Compression=lzma
SolidCompression=true
VersionInfoVersion=0.5.0
PrivilegesRequired=none
SetupIconFile=cducepower.ico
WizardImageFile=babel-raw.bmp
WizardImageBackColor=clWhite
ChangesEnvironment=false
WizardImageStretch=false
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
32
DirExistsWarning=no
33
34
ChangesAssociations=true
AlwaysShowDirOnReadyPage=true
35
AlwaysRestart=true
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
36
37
38
39
40
41
42
43
44
45
46
47

[Languages]
Name: english; MessagesFile: compiler:Default.isl
Name: french; MessagesFile: compiler:Languages\French.isl

[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}

[Files]
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: ..\cduce.exe; DestDir: {app}
Source: ..\dtd2cduce.exe; DestDir: {app}
48
49
Source: ..\..\..\..\..\..\bin\cygpcre-0.dll; DestDir: {app}
Source: ..\..\..\..\..\..\bin\cygwin1.dll; DestDir: {app}
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
50
51
52
Source: gpl-3.0-standalone.html; DestDir: {userdesktop}; Attribs: readonly; Flags: overwritereadonly
Source: README.win32; DestDir: {userdesktop}; Flags: isreadme; DestName: CDuce README.txt
Source: LICENSE.win32; DestDir: {userdesktop}; DestName: CDuce License.txt
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
53
54

[Icons]
55
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Flags: dontcloseonexit; Tasks: ; Languages: 
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
56
57
Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
58
Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon; Flags: dontcloseonexit; Languages: 
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
59
60
61
62
63

[Run]
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
[Registry]
Root: HKLM; Subkey: SYSTEM\CurrentControlSet\Control\Session Manager\Environment; ValueType: expandsz; ValueName: Path; ValueData: "{reg:HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment,Path};{app}"; Flags: dontcreatekey
64
65
Root: HKCR; Subkey: .cd; ValueType: string; ValueData: CDuceFile; Flags: uninsdeletekey
Root: HKCR; Subkey: CDuceFile; ValueType: string; ValueData: CDuce File; Flags: uninsdeletekey
66
67
68
69
70
71
Root: HKCR; Subkey: CDuceFile\DefaultIcon; ValueType: string; ValueData: {app}\{#MyAppExeName}, 0
Root: HKCR; Subkey: CDuceFile\shell\open\command; ValueType: string; ValueData: "{app}\{#MyAppExeName} --script ""%1"""
Root: HKCR; Subkey: .cdo; ValueType: string; ValueData: CDuceCompFile; Flags: uninsdeletekey
Root: HKCR; Subkey: CDuceCompFile; ValueType: string; ValueData: CDuce Compiled File; Flags: uninsdeletekey
Root: HKCR; Subkey: CDuceCompFile\DefaultIcon; ValueType: string; ValueData: {app}\{#MyAppExeName}, 0
Root: HKCR; Subkey: CDuceCompFile\shell\open\command; ValueType: string; ValueData: "{app}\{#MyAppExeName} --run ""%1"""