Ga naar de hoofdnavigatie Ga naar de hoofdinhoud Ga naar de voettekst van de pagina
; Inno Setup Script V6.2.2
; Copyright (C) - 2024 Theo Langstraat
; Last change: 21-05-2024

#define Source_Path "C:\Users\theol\OneDrive\Documenten\Embarcadero\Studio\Projects\FinAdm Develop\Bin64\"
#define Output_Path "C:\Users\theol\OneDrive\Documenten\Inno Setup\FinAdm"

#define AppDescr "Provides insight into the financial situation based on bank transactions"
#define AppExeName "Finadm.exe"
#define AppMail "theo.langstraat@outlook.com"
#define AppName "FinAdm"
#define AppPublisher "Theo Langstraat"
#define AppURL "https://www.langstraatonline.nl/tools/financiele-administratie"
#define AppVersion GetVersionNumbersString(Source_Path + AppExeName)
#define AppYear "2024"

[Setup]
AppId={{5B28E5CD-24C4-4F04-98FD-86F8CE23E2A6}
AppName={#AppName}
AppPublisher={#AppPublisher}
AppPublisherURL={#AppURL}
AppSupportURL={#AppURL}
AppUpdatesURL={#AppURL}
AppVerName={#AppName} {#AppVersion}
AppVersion={#AppVersion}

; specifies that Setup cannot run on anything but x64.
ArchitecturesAllowed=x64

; requests that the install be done in "64-bit mode" on x64, meaning it should use the native
; 64-bit Program Files directory and the 64-bit view of the registry.
ArchitecturesInstallIn64BitMode=x64

Compression=lzma
DefaultDirName={autopf}\{#AppPublisher}\{#AppName}
DefaultGroupName={#AppPublisher}
DisableDirPage=yes
DisableProgramGroupPage=yes
DisableWelcomePage=no
LicenseFile={#file AddBackslash(SourcePath) + "License.txt"}
OutputBaseFilename=Setup
OutputDir={#Output_Path}
SetupIconFile={#Source_Path}\..\Finadm_Icon.ico
ShowLanguageDialog=no
SolidCompression=yes
UninstallDisplayIcon={#Source_Path}\..\Finadm_Icon.ico
UninstallDisplayName={#AppPublisher} {#AppName} {#AppVersion}
WizardStyle=modern

[Languages]
Name: en; MessagesFile: "compiler:Default.isl"
Name: nl; MessagesFile: "compiler:Languages\Dutch.isl"
;Name: de; MessagesFile: "compiler:Languages\German.isl"

[Tasks]
;Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "{#Source_Path}{#AppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#Source_Path}WebView2Loader.dll"; DestDir: "{app}"; Flags: ignoreversion

[Icons]
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"
;Name: "{autodesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent