| 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.1"
|
|---|
| 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.)
|
|---|
| 18 | AppId={{B68CA6BD-A768-45D5-9F72-E9645BBCCD3A}
|
|---|
| 19 | AppName={#MyAppName}
|
|---|
| 20 | AppVersion={#MyAppVersion}
|
|---|
| 21 | ;AppVerName={#MyAppName} {#MyAppVersion}
|
|---|
| 22 | AppPublisher={#MyAppPublisher}
|
|---|
| 23 | AppPublisherURL={#MyAppURL}
|
|---|
| 24 | AppSupportURL={#MyAppURL}
|
|---|
| 25 | AppUpdatesURL={#MyAppURL}
|
|---|
| 26 | DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName}
|
|---|
| 27 | DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
|
|---|
| 28 | AllowNoIcons=yes
|
|---|
| 29 | OutputDir=.
|
|---|
| 30 | OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}
|
|---|
| 31 | Compression=lzma
|
|---|
| 32 | SolidCompression=yes
|
|---|
| 33 | ChangesAssociations=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".
|
|---|
| 38 | ArchitecturesInstallIn64BitMode=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]
|
|---|
| 44 | Name: "english"; MessagesFile: "compiler:Default.isl"
|
|---|
| 45 | Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
|
|---|
| 46 | ;Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"
|
|---|
| 47 |
|
|---|
| 48 | [Tasks]
|
|---|
| 49 | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
|
|---|
| 50 |
|
|---|
| 51 | [Registry]
|
|---|
| 52 | Root: HKCU; Subkey: "Software\Chronosoft\Acronym Decoder"; Flags: uninsdeletekey
|
|---|
| 53 |
|
|---|
| 54 | #define FileTypeName "Acronym Decoder project"
|
|---|
| 55 | Root: HKCR; Subkey: ".adp"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletevalue
|
|---|
| 56 | Root: HKCR; Subkey: "{#FileTypeName}"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletekey
|
|---|
| 57 | Root: HKCR; Subkey: "{#FileTypeName}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
|
|---|
| 58 | Root: HKCR; Subkey: "{#FileTypeName}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
|
|---|
| 59 |
|
|---|
| 60 | [Files]
|
|---|
| 61 | Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
|
|---|
| 62 | Source: "{#MyAppSubDir}\lib\i386-win32\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
|
|---|
| 63 | Source: "{#MyAppSubDir}\libeay32.dll"; DestDir: "{app}"; Flags: ignoreversion
|
|---|
| 64 | Source: "{#MyAppSubDir}\ssleay32.dll"; DestDir: "{app}"; Flags: ignoreversion
|
|---|
| 65 | Source: "{#MyAppSubDir}\Example acronyms.adp"; DestDir: "{app}"; Flags: ignoreversion
|
|---|
| 66 | Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion
|
|---|
| 67 | Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 | [Icons]
|
|---|
| 71 | Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
|---|
| 72 | Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
|
|---|
| 73 | Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
|---|
| 74 |
|
|---|
| 75 | [Run]
|
|---|
| 76 | Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
|
|---|
| 77 |
|
|---|