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"