Update setup script to handle emulator and runtime installation, also error when not run as admin