source: tags/1.0.0/Install/AcronymDecoder.iss

Last change on this file was 36, checked in by chronos, 8 years ago
  • Added: Build modes for Win32 and Win64.
  • Updated: Example acronyms project.
File size: 2.9 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.0.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
35[Languages]
36Name: "english"; MessagesFile: "compiler:Default.isl"
37Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
38;Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"
39
40[Tasks]
41Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
42
43[Registry]
44Root: HKCU; Subkey: "Software\Chronosoft\Acronym Decoder"; Flags: uninsdeletekey
45
46#define FileTypeName "Acronym Decoder project"
47Root: HKCR; Subkey: ".adp"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletevalue
48Root: HKCR; Subkey: "{#FileTypeName}"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletekey
49Root: HKCR; Subkey: "{#FileTypeName}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
50Root: HKCR; Subkey: "{#FileTypeName}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
51
52[Files]
53Source: "{#MyAppSubDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
54;Source: "{#MyAppSubDir}\{#MyAppDebugName}"; DestDir: "{app}"; Flags: ignoreversion
55Source: "{#MyAppSubDir}\Example acronyms.adp"; DestDir: "{app}"; Flags: ignoreversion
56Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion
57Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
58
59[Icons]
60Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
61Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
62Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
63
64[Run]
65Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
66
Note: See TracBrowser for help on using the repository browser.