Skip to content

Commit

Permalink
Prepare for version 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ihedvall committed Jul 28, 2024
1 parent 0420152 commit cc599ab
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions script/mdflib.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
!include MUI2.nsh
!include x64.nsh
!include FileFunc.nsh
!define APP_BUILD_DIR "..\cmake-build-release-visual-studio" ; Path to executable and release library
!define APP_BUILD_DIR_DEBUG "..\cmake-build-debug-visual-studio" ; Path to the util debug library
!define APP_BUILD_DIR "..\cmake-build-release" ; Path to executable and release library
!define APP_BUILD_DIR_DEBUG "..\cmake-build-debug" ; Path to the MDF debug library
!define NET_BUILD_DIR "..\x64" ; Path to .NET library
Name "MDF Applications and Library 2.1"
Name "MDF Applications and Library 2.2"
OutFile "${APP_BUILD_DIR}\mdflib.exe"
Unicode True

Expand Down Expand Up @@ -64,7 +64,8 @@ Section "Applications" APP
SetShellVarContext all

SetOutPath "$INSTDIR\bin"
File "${APP_BUILD_DIR}\mdfviewer\*.exe"
File "${APP_BUILD_DIR}\mdfviewer\mdfview.exe"
File "${APP_BUILD_DIR}\mdf2csv\*.exe"
SetOutPath "$INSTDIR\img"
File "..\img\*.*"

Expand All @@ -81,13 +82,13 @@ Section "Applications" APP
WriteRegNone HKLM "${ARP}" ""
WriteRegStr HKLM "${ARP}" "InstallLocation" $INSTDIR
WriteRegStr HKLM "${ARP}" "DisplayIcon" "$INSTDIR\img\mdflib.ico"
WriteRegStr HKLM "${ARP}" "DisplayName" "MDF Apps & Libs 2.1"
WriteRegStr HKLM "${ARP}" "DisplayVersion" "2.0.0"
WriteRegStr HKLM "${ARP}" "DisplayName" "MDF Apps & Libs 2.2"
WriteRegStr HKLM "${ARP}" "DisplayVersion" "2.2.0"
WriteRegStr HKLM "${ARP}" "Publisher" "Ingemar Hedvall"
WriteRegDWORD HKLM "${ARP}" "NoModify" 1
WriteRegDWORD HKLM "${ARP}" "NoRepair" 1
WriteRegDWORD HKLM "${ARP}" "VersionMajor" 2
WriteRegDWORD HKLM "${ARP}" "VersionMinor" 1
WriteRegDWORD HKLM "${ARP}" "VersionMinor" 2
WriteRegDWORD HKLM "${ARP}" "EstimatedSize" "$0"
WriteRegStr HKLM "${ARP}" "UninstallString" "$\"$INSTDIR\Uninstall.exe$\""

Expand Down

0 comments on commit cc599ab

Please sign in to comment.