CDuce inno setup script 1.iss 3 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:\cygwin\bin\{#MyAppName}
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DefaultGroupName={#MyAppName}
LicenseFile=..\LICENSE
InfoBeforeFile=..\README
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
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
35
36
37
38
39
40
41
42
43
44
45
46

[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}
47
48
Source: ..\..\..\..\..\..\bin\cygpcre-0.dll; DestDir: {app}
Source: ..\..\..\..\..\..\bin\cygwin1.dll; DestDir: {app}
Karoline Malmkjaer's avatar
Karoline Malmkjaer committed
49
50

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

[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
60
61
Root: HKCR; Subkey: .cd; ValueType: string; ValueData: CDuceFile; Flags: uninsdeletekey
Root: HKCR; Subkey: CDuceFile; ValueType: string; ValueData: CDuce File; Flags: uninsdeletekey
62
63
64
65
66
67
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"""