-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add inno setup build file - align localizations definitions - update .gitignore
- Loading branch information
Showing
3 changed files
with
111 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
#define MyAppName "AutoGGUF" | ||
#define MyAppVersion "v1.7.1" | ||
#define MyAppPublisher "leafspark" | ||
#define MyAppURL "https://github.com/leafspark/AutoGGUF" | ||
#define MyAppExeName "AutoGGUF-x64.exe" | ||
#define MyAppAssocName MyAppName + " File" | ||
#define MyAppAssocExt ".gguf" | ||
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
AppId={{9753D5EB-05A8-489B-86A4-FCE6341FDE0E} | ||
AppName={#MyAppName} | ||
AppVersion={#MyAppVersion} | ||
;AppVerName={#MyAppName} {#MyAppVersion} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURL} | ||
AppUpdatesURL={#MyAppURL} | ||
DefaultDirName={autopf}\{#MyAppName} | ||
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run | ||
; on anything but x64 and Windows 11 on Arm. | ||
ArchitecturesAllowed=x64compatible | ||
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the | ||
; install be done in "64-bit mode" on x64 or Windows 11 on Arm, | ||
; meaning it should use the native 64-bit Program Files directory and | ||
; the 64-bit view of the registry. | ||
ArchitecturesInstallIn64BitMode=x64compatible | ||
ChangesAssociations=yes | ||
DisableProgramGroupPage=yes | ||
LicenseFile=F:\autogguf-release\LICENSE.txt | ||
; Remove the following line to run in administrative install mode (install for all users.) | ||
PrivilegesRequired=lowest | ||
PrivilegesRequiredOverridesAllowed=dialog | ||
OutputDir=E:\Downloads\autogguf-inno | ||
OutputBaseFilename=autogguf | ||
Compression=lzma | ||
SolidCompression=yes | ||
WizardStyle=modern | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl" | ||
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl" | ||
Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl" | ||
Name: "french"; MessagesFile: "compiler:Languages\French.isl" | ||
Name: "german"; MessagesFile: "compiler:Languages\German.isl" | ||
Name: "hungarian"; MessagesFile: "compiler:Languages\Hungarian.isl" | ||
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl" | ||
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl" | ||
Name: "korean"; MessagesFile: "compiler:Languages\Korean.isl" | ||
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl" | ||
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl" | ||
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl" | ||
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl" | ||
Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl" | ||
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | ||
|
||
[Files] | ||
Source: "F:\autogguf-release\AutoGGUF-v1.7.1-Windows-avx2-standard\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "F:\autogguf-release\AutoGGUF-v1.7.1-Windows-avx2-standard\src\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Registry] | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0" | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1""" | ||
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: "" | ||
|
||
[Icons] | ||
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | ||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters