ShowMessage Stop Services
StopService WatchDogService
StopService ScadaSystemService
StopService ScadaDiagramService
StopService ScadaFrontHolder
Delay 3000,20

ShowMessage Uninstall Services
DeleteServices WatchDogService,ScadaSystemService,ScadaDiagramService,ScadaFrontHolder
Delay 3000,20

ShowMessage Delete Files
DeleteDir bin
Progress 10

ShowMessage Update Install State
RemoveShortcut
UninstallReg
Progress 5