source: tags/1.1.0/Install/AcronymDecoder.iss

Last change on this file was 57, checked in by chronos, 8 years ago
  • Modified: Updated version number.
File size: 3.6 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 "Acronym Decoder"
5#define MyAppNameShort "AcronymDecoder"
6#define MyAppVersion "1.1.0"
7#define MyAppPublisher "Chronosoft"
8#define MyAppPublisherShort "Chronosoft"
9#define MyAppURL "http://svn.zdechov.net/trac/AcronymDecoder/"
10#define MyAppExeName "AcronymDecoder.exe"
11#define MyAppDebugName "AcronymDecoder.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={{B68CA6BD-A768-45D5-9F72-E9645BBCCD3A}
19AppName={#MyAppName}
20AppVersion={#MyAppVersion}
21;AppVerName={#MyAppName} {#MyAppVersion}
22AppPublisher={#MyAppPublisher}
23AppPublisherURL={#MyAppURL}
24AppSupportURL={#MyAppURL}
25AppUpdatesURL={#MyAppURL}
26DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName}
27DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
28AllowNoIcons=yes
29OutputDir=.
30OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}
31Compression=lzma
32SolidCompression=yes
33ChangesAssociations=yes
34; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
35; done in "64-bit mode" on x64, meaning it should use the native
36; 64-bit Program Files directory and the 64-bit view of the registry.
37; On all other architectures it will install in "32-bit mode".
38ArchitecturesInstallIn64BitMode=x64
39; Note: We don't set ProcessorsAllowed because we want this
40; installation to run on all architectures (including Itanium,
41; since it's capable of running 32-bit code too).
42
43[Languages]
44Name: "english"; MessagesFile: "compiler:Default.isl"
45Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
46;Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"
47
48[Tasks]
49Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
50
51[Registry]
52Root: HKCU; Subkey: "Software\Chronosoft\Acronym Decoder"; Flags: uninsdeletekey
53
54#define FileTypeName "Acronym Decoder project"
55Root: HKCR; Subkey: ".adp"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletevalue
56Root: HKCR; Subkey: "{#FileTypeName}"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletekey
57Root: HKCR; Subkey: "{#FileTypeName}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
58Root: HKCR; Subkey: "{#FileTypeName}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
59
60[Files]
61Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
62Source: "{#MyAppSubDir}\lib\i386-win32\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
63Source: "{#MyAppSubDir}\libeay32.dll"; DestDir: "{app}"; Flags: ignoreversion
64Source: "{#MyAppSubDir}\ssleay32.dll"; DestDir: "{app}"; Flags: ignoreversion
65Source: "{#MyAppSubDir}\Example acronyms.adp"; DestDir: "{app}"; Flags: ignoreversion
66Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion
67Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
68
69
70[Icons]
71Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
72Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
73Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
74
75[Run]
76Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
77
Note: See TracBrowser for help on using the repository browser.