From 1c0181007ae80cc4756089df3cd875ff0a7deae2 Mon Sep 17 00:00:00 2001 From: liang-ys Date: Mon, 13 Apr 2026 17:09:37 +0800 Subject: [PATCH] =?UTF-8?q?[m]=E4=BF=AE=E6=94=B9windows=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E5=8C=85=E8=B0=83=E7=94=A8=E7=9A=84=E5=AE=89=E8=A3=85=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installer/windows/install_script_hmenergy.nsi | 4 ++-- installer/windows/install_script_hmenergy_release.nsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/windows/install_script_hmenergy.nsi b/installer/windows/install_script_hmenergy.nsi index bd7abf2..84c6633 100644 --- a/installer/windows/install_script_hmenergy.nsi +++ b/installer/windows/install_script_hmenergy.nsi @@ -63,7 +63,7 @@ SectionEnd #启动服务 Section -StartService #ExecWait "$INSTDIR\installer\StartService.bat" -nsExec::Exec "$INSTDIR\installer\StartService.bat" +nsExec::Exec "$INSTDIR\installer\installer_window.bat" SectionEnd Section -Post @@ -84,7 +84,7 @@ Section Uninstall #卸载数据库 #ExecWait "$INSTDIR\installer\StopService.bat" - nsExec::Exec "$INSTDIR\installer\StopService.bat" + nsExec::Exec "$INSTDIR\installer\uninst_window.bat" Delete "$SMPROGRAMS\HMEnergy\Uninstall.lnk" Delete "$DESKTOP\HMEnergy.lnk" diff --git a/installer/windows/install_script_hmenergy_release.nsi b/installer/windows/install_script_hmenergy_release.nsi index a0b6909..a87425c 100644 --- a/installer/windows/install_script_hmenergy_release.nsi +++ b/installer/windows/install_script_hmenergy_release.nsi @@ -63,7 +63,7 @@ SectionEnd #启动服务 Section -StartService #ExecWait "$INSTDIR\installer\StartService.bat" -nsExec::Exec "$INSTDIR\installer\StartService.bat" +nsExec::Exec "$INSTDIR\installer\installer_window.bat" SectionEnd Section -Post @@ -84,7 +84,7 @@ Section Uninstall #卸载数据库 #ExecWait "$INSTDIR\installer\StopService.bat" - nsExec::Exec "$INSTDIR\installer\StopService.bat" + nsExec::Exec "$INSTDIR\installer\uninst_window.bat" Delete "$SMPROGRAMS\HMEnergy\Uninstall.lnk" Delete "$DESKTOP\HMEnergy.lnk"