lokinet/win32-setup/extra_preinstall.nsis

7 lines
212 B
Plaintext
Raw Normal View History

IfFileExists $INSTDIR\bin\lokinet.exe 0 +3
ExecWait 'net stop lokinet'
ExecWait '$INSTDIR\bin\lokinet.exe --remove'
IfFileExists $INSTDIR\share\gui\lokinet.exe 0 +2
ExecWait 'taskkill /f /t /im lokinet-gui.exe'