From e7420789b87c2b8a167042b1dba12a047628367d Mon Sep 17 00:00:00 2001 From: nishi Date: Thu, 20 Jun 2024 02:47:03 +0000 Subject: [PATCH] please get fixed git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@393 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Makefiles/installer.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefiles/installer.mk b/Makefiles/installer.mk index 0b435f6..1287e77 100644 --- a/Makefiles/installer.mk +++ b/Makefiles/installer.mk @@ -56,6 +56,7 @@ dos-installer: echo "!define MUI_HEADERIMAGE_RIGHT" >> install.nsi echo "!include nsDialogs.nsh" >> install.nsi echo "!include LogicLib.nsh" >> install.nsi + echo "!include x64.nsh" >> install.nsi echo "Name \"DataWorks\"" >> install.nsi echo "OutFile \"$@\"" >> install.nsi echo "SetCompressor lzma" >> install.nsi @@ -81,6 +82,12 @@ dos-installer: echo " CreateShortcut \"\$$SMPROGRAMS\\DataWorks\\DataWorks Remote Client.lnk\" \"\$$INSTDIR\\dataworks_remote_client.exe\" \"\"" >> install.nsi echo " CreateShortcut \"\$$SMPROGRAMS\\DataWorks\\DataWorks Server.lnk\" \"\$$INSTDIR\\dataworks_server.exe\" \"\"" >> install.nsi echo " WriteUninstaller \"\$$INSTDIR\\Uninstall.exe\"" >> install.nsi + echo " \$${If} \$${RunningX64}" >> install.nsi + echo " SetRegView 64" >> install.nsi + echo " \$${Else}" >> install.nsi + echo " SetRegView 32" >> install.nsi + echo " \$${EndIf}" >> install.nsi + echo " WriteRegStr HKLM \"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DataWorks\" \"DisplayIcon\" \"\$$INSTDIR\\dataworks.exew\"" echo " WriteRegStr HKLM \"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DataWorks\" \"DisplayName\" \"Dataworks\"" echo " WriteRegStr HKLM \"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DataWorks\" \"UninstallString\" \"\$$INSTDIR\\Uninstall.exe\"" echo "SectionEnd" >> install.nsi @@ -89,6 +96,7 @@ dos-installer: echo " Delete \"\$$INSTDIR\\dataworks.exe\"" >> install.nsi echo " Delete \"\$$INSTDIR\\dataworks_server.exe\"" >> install.nsi echo " Delete \"\$$INSTDIR\\dataworks_remote_client.exe\"" >> install.nsi + echo " Delete \"\$$INSTDIR\\Uninstall.exe\"" >> install.nsi echo " RMDir \"\$$INSTDIR\"" >> install.nsi echo "SectionEnd" >> install.nsi makensis install.nsi -- 2.43.0