diff --git a/os/windows/cellframe-node.nsis b/os/windows/cellframe-node.nsis index ec7ffe39ed81d43cbf72f6877992447abcd6ac8d..54309a37decd1bbe88477c852c434e9b34f3a757 100644 --- a/os/windows/cellframe-node.nsis +++ b/os/windows/cellframe-node.nsis @@ -257,7 +257,7 @@ Function checkEnabledNets ${EndIf} ${If} $NetSubzeroState == "on" - ${NSD_Check} $NetMileenaCb + ${NSD_Check} $NetSubzeroCb ${EndIf} FunctionEnd @@ -314,6 +314,7 @@ Function pgNetSelectLeave ${NSD_GetState} $NetRiemannCb $NetRiemannState ${NSD_GetState} $NetRaidenCb $NetRaidenState ${NSD_GetState} $NetMileenaCb $NetMileenaState + ${NSD_GetState} $NetSubzeroCb $NetSubzeroState !insertmacro ensureNetworkState "Backbone" $NetBackboneState @@ -329,6 +330,9 @@ FunctionEnd Section "Uninstall" SetRegView 64 nsExec::ExecToLog /OEM "$INSTDIR\${NODE_NAME}-config.exe -e service disable" + nsExec::ExecToLog /OEM "$INSTDIR\${NODE_NAME}-config.exe -e service stop" + nsExec::ExecToLog /OEM 'taskkill /f /im ${NODE_NAME}.exe' + Delete "$INSTDIR\${NODE_NAME}.exe" Delete "$INSTDIR\${NODE_NAME}-tool.exe" Delete "$INSTDIR\${NODE_NAME}-cli.exe"