shell command inside InstallationCheck script not working while run with installer