CDuce inno setup script 1.iss 2.44 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
47
48
49
50
51
52
53
54
55
56
57
58

[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}

[Icons]
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}
Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon
Name: {group}\{cm:UninstallProgram, {#MyAppName}}; Filename: {uninstallexe}

[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
59
60
61
62
Root: HKCR; Subkey: .cd; ValueType: string; ValueData: CDuceFile; Flags: uninsdeletekey
Root: HKCR; Subkey: CDuceFile; ValueType: string; ValueData: CDuce File; Flags: uninsdeletekey
Root: HKCR; Subkey: CDuceFile\DefaultIcon; ValueType: string; ValueData: {app}\CDuce.exe, 0
Root: HKCR; Subkey: CDuceFile\shell\open\command; ValueType: string; ValueData: "{app}\CDuce.exe ""%1"""