version 1.7 | | version 1.8 |
---|
| | |
Section "un.Crossfire Server" un_cf | | Section "un.Crossfire Server" un_cf |
SectionIn RO | | SectionIn RO |
;Unregister service if it was installed | | ;Unregister service if it was installed |
ReadRegStr 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 "" 0 +2 |
ExecWait '"$INSTDIR\Crossfire32.exe" -unregsrv' | | ExecWait '"$INSTDIR\Crossfire32.exe" -unregsrv' |
| | |