If you get an error stating that the path variable is too long during installation of FLIR Tools and the installation fails to proceed, it is because your system environment path variable is too long and Microsoft's .NET Framework cannot handle this.
Since FLIR Tools uses Microsoft's .NET Framework, we need to restrict the path variable so that the installation can continue without this error, otherwise FLIR Tools will not work.
To resolve this, follow the steps below:
- Restart the system and install FLIR Tools. If the path error still occurs, continue with the remaining steps.
- Open Windows Explorer and right-click on "My Computer" ("This PC" in Windows 8 and 10).
- Go to Advanced system settings.
- In the System Properties window, go to the Advanced tab.
- Click on Environment Variables.
- Select Path variable, which is present under System variables.
- Click on Edit.
- Check the value of the Path variable, and delete unnecessary directories from the "Path" key to reduce it to 2047 (or 4095, depending on your computer setup) characters. Do not remove anything that you are uncertain about.
- Restart the system.
Note: In exceptional cases the system may not restart. If this occurs:
- Restart Windows in safe mode.
- Open a Command Prompt window and type:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_EXPAND_SZ /d ^%SystemRoot^%\system32;^%SystemRoot^% /f