source: trunk/Install/win/CoolDisk.iss

Last change on this file was 43, checked in by chronos, 5 years ago
  • Modified: Use InnoSetup 6 with modern style.
  • Modified: Updated build.bat script.
File size: 3.5 KB
Line 
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 "CoolDisk"
5#define MyAppNameShort "CoolDisk"
6#define MyAppVersion "1.0.0"
7#define MyAppPublisher "Chronosoft"
8#define MyAppPublisherShort "Chronosoft"
9#define MyAppURL "http://svn.zdechov.net/trac/CoolDisk/"
10#define MyAppExeName "CoolDisk.exe"
11#define MyAppDebugName "CoolDisk.dbg"
12#define MyAppSubDir "../.."
13
14[Setup]
15; NOTE: The value of AppId uniquely identifies this application.
16; Do not use the same AppId value in installers for other applications.
17; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
18AppId={{07789379-49EC-4822-9605-423EDC1DD403}
19AppName={#MyAppName}
20AppVersion={#MyAppVersion}
21AppVerName={#MyAppName} {#MyAppVersion}
22AppPublisher={#MyAppPublisher}
23AppPublisherURL={#MyAppURL}
24AppSupportURL={#MyAppURL}
25AppUpdatesURL={#MyAppURL}
26UninstallDisplayName={#MyAppName}
27UninstallDisplayIcon="{app}\{#MyAppExeName}"
28VersionInfoVersion={#MyAppVersion}
29VersionInfoCompany={#MyAppPublisher}
30DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName}
31DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
32AllowNoIcons=yes
33OutputDir=.
34OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}
35Compression=lzma
36SolidCompression=yes
37ChangesAssociations=yes
38WizardStyle=modern
39; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
40; done in "64-bit mode" on x64, meaning it should use the native
41; 64-bit Program Files directory and the 64-bit view of the registry.
42; On all other architectures it will install in "32-bit mode".
43ArchitecturesInstallIn64BitMode=x64
44; Note: We don't set ProcessorsAllowed because we want this
45; installation to run on all architectures (including Itanium,
46; since it's capable of running 32-bit code too).
47
48[Languages]
49Name: "english"; MessagesFile: "compiler:Default.isl"
50Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
51;Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"
52
53[Tasks]
54Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
55
56[Registry]
57Root: HKLM; Subkey: "Software\Chronosoft\CoolDisk"; Flags: uninsdeletekey
58
59#define FileTypeName "CoolDisk project"
60Root: HKCR; Subkey: ".cdp"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletevalue
61Root: HKCR; Subkey: "{#FileTypeName}"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletekey
62Root: HKCR; Subkey: "{#FileTypeName}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
63Root: HKCR; Subkey: "{#FileTypeName}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
64
65[Files]
66Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
67Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
68;Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion
69Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
70
71
72[Icons]
73Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
74Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
75Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
76
77[Run]
78Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
79
Note: See TracBrowser for help on using the repository browser.