Extract codes to check service installation status