From 832ba6629562b20153834dcd47d00a4872ed6f60 Mon Sep 17 00:00:00 2001 From: bonkmaykr Date: Thu, 13 Feb 2025 01:55:04 -0600 Subject: [PATCH] Windows installer for 1.0.0 --- .gitignore | 1 + KAvaT.vcxproj | 10 ++++++- inno/setup.iss | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 inno/setup.iss diff --git a/.gitignore b/.gitignore index b54dd1e..d19aff7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /Release /x64 /KAvEAT +/inno/out diff --git a/KAvaT.vcxproj b/KAvaT.vcxproj index d06fe00..66604c2 100644 --- a/KAvaT.vcxproj +++ b/KAvaT.vcxproj @@ -23,28 +23,32 @@ {8C76412E-908C-4071-96B7-AC9428CB56E0} Win32Proj KAvEAT - 8.1 + 7.0 Application true v141_xp + Static Application false v141_xp + Static Application true v141_xp + Static Application false v141_xp + Static @@ -86,6 +90,7 @@ stdc11 CompileAsCpp Speed + MultiThreaded true @@ -101,6 +106,7 @@ C:\Program Files\ImageMagick-7.1.1-Q16\include;%(AdditionalIncludeDirectories) CompileAsCpp Speed + MultiThreaded true @@ -117,6 +123,7 @@ stdc11 CompileAsCpp Speed + MultiThreaded true @@ -134,6 +141,7 @@ C:\Program Files\ImageMagick-7.1.1-Q16\include;%(AdditionalIncludeDirectories) CompileAsCpp Speed + MultiThreaded true diff --git a/inno/setup.iss b/inno/setup.iss new file mode 100644 index 0000000..25265a8 --- /dev/null +++ b/inno/setup.iss @@ -0,0 +1,81 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "KAvEAT" +#define MyAppVersion "1.0.0" +#define MyAppPublisher "bonkmaykr" +#define MyAppURL "https://kangworlds.net/" +#define MyAppUpdateURL "https://git.worlio.com/bonkmaykr/KAvEAT/releases" +#define MyAppSourceURL "https://git.worlio.com/bonkmaykr/KAvEAT" +#define MyAppExeName "KAvEAT.exe" + +[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={{71FB8A33-47D3-454D-B814-FEC78C5226E8} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppSourceURL} +AppUpdatesURL={#MyAppUpdateURL} +DefaultDirName={autopf64}\{#MyAppName} +DefaultGroupName={#MyAppName} +DisableProgramGroupPage=yes +LicenseFile=C:\Users\kangang\source\repos\KAvEAT\LICENSE +;PrivilegesRequiredOverridesAllowed=dialog +OutputDir=C:\Users\kangang\source\repos\KAvEAT\inno\out +OutputBaseFilename=kaveat +SetupIconFile=C:\Users\kangang\source\repos\KAvEAT\kaveat.ico +Compression=lzma +SolidCompression=yes +WizardStyle=classic + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Files] +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_brotli_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_bzlib_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_cairo_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_exr_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_flif_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_freetype_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_fribidi_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_glib_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_harfbuzz_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_heif_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_jpeg-turbo_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_jpeg-xl_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_lcms_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_lqr_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_lzma_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_Magick++_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_MagickCore_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_MagickWand_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_openjpeg_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_pango_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_png_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_raw_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_rsvg_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_tiff_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_webp_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_xml_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_zip_.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Users\kangang\source\repos\KAvEAT\x64\Release\CORE_RL_zlib_.dll"; DestDir: "{app}"; Flags: ignoreversion +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{group}\Kangworlds.net"; Filename: "{#MyAppURL}" +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" + +[Registry] +Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \ +ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}" + +[Messages] +FinishedLabel=Setup has finished installing [name] on your computer. KAvEAT has been added to your system's PATH through the Windows Registry. +ClickFinish=Run "KAvEAT.exe" from the command line (in any location on your computer) to use the program. \ No newline at end of file