My Setup Hangs at the Installation Step "Removing Shortcuts"

Updated Jan 10, 2019

Reported In

Software

  • LabVIEW 2018

Issue Details

I'm trying to install/upgrade a NI product. The setup starts normally, but the progress bar stops during the step called "removing shortcuts". No matter how long I wait, the installation does not continue. What can I do?

Solution

To solve this issue, please follow these steps:
  1. Make sure that no other software installations are currently running on your system
  2. Reboot your system two times (the first one to make sure that all setups are completed, the second one to make sure there are no pending reboot requests). Try to run the setup again afterwards. If the problem persists follow up with step 3.
  3. Open the Registry Editor (by pressing the Windows Key + R, entering "regedit" in the "open" line and then pressing "OK"). Afterwards navigate to the following two Registry Keys and clean any entries that you find: \
    • HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress
    • HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
    • After modifying the Registry, restart your computer. The setup should be able to pass beyond the "removing shortcuts" point.
  4. If step three does work, reinstall your OS.
Warning: Modifying the wrong registry entries can have a negative impact on your system's performance, reliability and stability and can damage your system at a worst case. Only modify the registry if you are confident you can follow the above instructions precisely.

Additional Information

This issue is mostly caused by an incomplete or faulty clean up from a previous software installation: Certain registry keys indicating that a setup is currently in progress were not cleared after the installation. These keys need to be adjusted manually to solve the issue.