version 1.11 | | version 1.12 |
---|
| | |
SectionIn RO | | SectionIn RO |
;Unregister service if it was installed | | ;Unregister service if it was installed |
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Crossfire Server" "ServiceInstalled" | | ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Crossfire Server" "ServiceInstalled" |
StrCmp $0 "" 0 +2 | | StrCmp $0 "1" 0 +2 |
ExecWait '"$INSTDIR\Crossfire32.exe" -unregsrv' | | ExecWait '"$INSTDIR\Crossfire32.exe" -unregsrv' |
| | |
;Delete Files | | ;Delete Files |