source: trunk/Install/win/LazFuck.iss

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