“PAIREF or its installation just hangs in the command prompt. Nothing is going on.”
This can unfortunately happen suddenly on MS Windows. It is caused by the Quick Edit Mode of the Command Prompt. Press Enter or click in the prompt window, the process will continue running.