From 7b60dbdd7e174dafd255b30251d2d2654ea93fd7 Mon Sep 17 00:00:00 2001 From: efrick Date: Mon, 5 Aug 2024 18:41:44 -0400 Subject: [PATCH 1/3] Bump version number. --- PDF-Merge.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PDF-Merge.csproj b/PDF-Merge.csproj index 1451ad1..28f9cf7 100644 --- a/PDF-Merge.csproj +++ b/PDF-Merge.csproj @@ -9,7 +9,7 @@ enable LICENSE README.md - 2024.08.01-Alpha + 2024.08.05 ABSC Inc. This tool merges PDF files from a configured directory into a single PDF. GNU GPL v3 2024 From b0169d7b0f92b8896cd2e0d751846ff37f91080f Mon Sep 17 00:00:00 2001 From: efrick Date: Mon, 5 Aug 2024 19:16:04 -0400 Subject: [PATCH 2/3] Basic installer. --- PDF-Merge.nsi | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 PDF-Merge.nsi diff --git a/PDF-Merge.nsi b/PDF-Merge.nsi new file mode 100644 index 0000000..a999ca9 --- /dev/null +++ b/PDF-Merge.nsi @@ -0,0 +1,40 @@ +Name "PDF-Merge" +Caption "PDF merging software." +OutFile "PDF-Merge-Install.exe" +InstallDir "C:\Program Files\ABSC\PDF-Merge" + +!include "MUI2.nsh" +!include "LogicLib.nsh" + +Var Company_Name +Var Current_Version + +!define MUI_ICON "PDF-Merge Icon.ico" +!define MUI_PAGE_CUSTOMFUNCTION_SHOW SetWelcomeMsg +!define DESKTOP "C:\Users\Public\Desktop" +!define APP_EXE "$INSTDIR\PDF-Merge.exe" +!insertmacro MUI_PAGE_WELCOME +!insertmacro MUI_PAGE_COMPONENTS +!insertmacro MUI_PAGE_INSTFILES +!define MUI_FINISHPAGE_NOAUTOCLOSE +!insertmacro MUI_PAGE_FINISH + +!insertmacro MUI_LANGUAGE "English" + +Function SetWelcomeMsg + StrCpy $Company_Name "Applied Business Solutions Consulting, Inc. (ABSC)" + StrCpy $Current_Version "2024.08.05.1" + SendMessage $mui.WelcomePage.Text= ${WM_SETTEXT} 0 "STR: Merge several PDFs into a single file.$\n Requiers .NET version 6 $\n Version: $Current_Version $\n Developed by: $Company_Name" +FunctionEnd + +SectionGroup "PDF-Merge" pdf_merge_inst + Section "PDF-Merge" pdf-Merge + SetOutPath "$INSTDIR" + DetailPrint "Installing PDF-Merge" + File "bin\Release\PDF-Merge.zip" + nsisunz::UnzipToLog "$INSTDIR\PDF-Merge.zip" "$INSTDIR" + Delete "$INSTDIR\PDF-Merge.zip" + + CreateShortCut "$DESKTOP\PDF-Merge.lnk" "${APP_EXE}" + SectionEnd +SectionGroupEnd From 2129276814a3687f4286a6f9a145f0f4bdd92abb Mon Sep 17 00:00:00 2001 From: efrick Date: Mon, 5 Aug 2024 19:17:05 -0400 Subject: [PATCH 3/3] Update ignored files. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ca6afc7..22d302a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*.exe # ---> VisualStudio ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons.