1 | ; Script generated by the Inno Setup Script Wizard.
|
---|
2 | ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
---|
3 |
|
---|
4 | #define MyAppName "ChronIS"
|
---|
5 | #define MyAppVersion "1.0.0"
|
---|
6 | #define MyAppPublisher "Chronosoft"
|
---|
7 | #define MyAppPublisherShort "Chronosoft"
|
---|
8 | #define MyAppURL "http://svn.zdechov.net/trac/chronis"
|
---|
9 | #define MyAppExeName "ChronIS.exe"
|
---|
10 | #define MyAppDebugName "ChronIS.dbg"
|
---|
11 | #define MyAppSubDir ".."
|
---|
12 |
|
---|
13 | [Setup]
|
---|
14 | ; NOTE: The value of AppId uniquely identifies this application.
|
---|
15 | ; Do not use the same AppId value in installers for other applications.
|
---|
16 | ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
---|
17 | AppId={{7B770981-CC5F-419C-B8C8-383DE3C60FEF}
|
---|
18 | AppName={#MyAppName}
|
---|
19 | AppVersion={#MyAppVersion}
|
---|
20 | ;AppVerName={#MyAppName} {#MyAppVersion}
|
---|
21 | AppPublisher={#MyAppPublisher}
|
---|
22 | AppPublisherURL={#MyAppURL}
|
---|
23 | AppSupportURL={#MyAppURL}
|
---|
24 | AppUpdatesURL={#MyAppURL}
|
---|
25 | DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName}
|
---|
26 | DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
|
---|
27 | AllowNoIcons=yes
|
---|
28 | OutputDir=.
|
---|
29 | OutputBaseFilename=Instalace-{#MyAppName}-{#MyAppVersion}
|
---|
30 | Compression=lzma
|
---|
31 | SolidCompression=yes
|
---|
32 | ChangesAssociations=yes
|
---|
33 |
|
---|
34 | [Languages]
|
---|
35 | Name: "english"; MessagesFile: "compiler:Default.isl"
|
---|
36 | Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
|
---|
37 | Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"
|
---|
38 |
|
---|
39 | [Tasks]
|
---|
40 | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
|
---|
41 |
|
---|
42 | [Registry]
|
---|
43 | Root: HKCU; Subkey: "Software\Chronosoft\ChronIS"; Flags: uninsdeletekey
|
---|
44 |
|
---|
45 | [Files]
|
---|
46 | Source: "{#MyAppSubDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
---|
47 | ;Source: "{#MyAppSubDir}\{#MyAppDebugName}"; DestDir: "{app}"; Flags: ignoreversion
|
---|
48 | Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
|
---|
49 | ;Source: "{#MyAppSubDir}\Help\{#MyAppName}.chm"; DestDir: "{app}"; Flags: ignoreversion
|
---|
50 | ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
---|
51 |
|
---|
52 | [Icons]
|
---|
53 | Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
---|
54 | ;Name: "{group}\Nápovìda"; Filename: "{app}\{#MyAppName}.chm"
|
---|
55 | Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
|
---|
56 | Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
---|
57 |
|
---|
58 | [Run]
|
---|
59 | Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
|
---|
60 |
|
---|