技術の家庭菜園

https://tpcbtw.com/

NI driver installation fails due to "List index out of bounds"

This is an English translation of an article that appeared in 2018 below.
Translation was performed with the help of ChatGPT.

tpcbtw.hatenablog.com

Some users may encounter an installation failure with a "List index out of bounds (2)" error when installing drivers for Native Instruments products. This error can appear when there has been a previous failed installation attempt for a similar product's driver or if the Visual Studio runtime version is outdated. Based on my research, this issue occurs with various devices such as S8, S4, A2, and AUDIO8.

Troubleshooting solutions for this error are available on international forums, but the information is scattered and not well organized. I will present my own resolution and provide a brief summary of other potential solutions.

Clearing the Cache (In My Case)

In my situation, I was certain that the cause of the error was a previous installation attempt. I decided to remove the installed components. If possible, use the installer to uninstall the driver; otherwise, delete the following files and folders:

  • C:\ProgramData{(hexadecimal number string)}(device name file) - The folder with the number string.
  • C:\ProgramData\Native Instruments\Installer Log(device name file)
  • C:\Program Files\Native Instruments(device name folder)
  • Registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Native Instruments(device name)

Please note that some files may be hidden or classified as system files. According to a reference source, it might be sufficient to delete only the first item *1. After deleting these files and folders, I reattempted the installation and resolved the issue.

Other Solutions

If the problem persists, consider trying methods discussed in various forums. Some of the suggested solutions include:

At the very least, the first two options may help eliminate the root cause of the problem. If all else fails and the last option does not work, it might be necessary to accept the situation and move on.