Merge pull request 'installer' (#2) from installer into master
Reviewed-on: ABSC/PDF-Merge#2
This commit is contained in:
commit
8c5d3f9e06
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
*.exe
|
||||||
# ---> VisualStudio
|
# ---> VisualStudio
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
## files generated by popular Visual Studio add-ons.
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
<Version>2024.08.01-Alpha</Version>
|
<Version>2024.08.05</Version>
|
||||||
<Company>ABSC Inc.</Company>
|
<Company>ABSC Inc.</Company>
|
||||||
<Description>This tool merges PDF files from a configured directory into a single PDF.</Description>
|
<Description>This tool merges PDF files from a configured directory into a single PDF.</Description>
|
||||||
<Copyright>GNU GPL v3 2024</Copyright>
|
<Copyright>GNU GPL v3 2024</Copyright>
|
||||||
|
40
PDF-Merge.nsi
Normal file
40
PDF-Merge.nsi
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user