move dosinan icon to the end of the files

This commit is contained in:
Mario Fetka 2013-08-17 03:05:47 +02:00
parent 3bb6265a7c
commit 7b3031892e
3 changed files with 15 additions and 10 deletions

View File

@ -1,8 +0,0 @@
[DosInAnIcon_stop_server]
net stop tvnserver
ping 127.0.0.1 -n 5 >nul
taskkill /F /IM tvnserver.exe
ping 127.0.0.1 -n 5 >nul
[DosInAnIcon_start_server]
net start tvnserver

View File

@ -228,5 +228,11 @@ else
endif
endif
include_insert "control3264.inc"
[DosInAnIcon_stop_server]
net stop tvnserver
ping 127.0.0.1 -n 5 >nul
taskkill /F /IM tvnserver.exe
ping 127.0.0.1 -n 5 >nul
[DosInAnIcon_start_server]
net start tvnserver

View File

@ -61,10 +61,17 @@ ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
Message "Uninstalling " + $ProductId$ + " ..."
comment "Stop TightVNC Server"
DosInAnIcon_stop_server
if FileExists("%ScriptPath%\delsub3264.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub3264.ins"
endif
include_insert "control3264.inc"
[DosInAnIcon_stop_server]
net stop tvnserver
ping 127.0.0.1 -n 5 >nul
taskkill /F /IM tvnserver.exe
ping 127.0.0.1 -n 5 >nul