Windows Long Path Support
Warning
To avoid potential issues with Windows’ maximum path length restriction, it is recommended to unzip the package as close to the root directory (C:\) as possible. Extracting the files too deeply nested may result in errors.
The SPARK Virtual Environment requires Windows Long Path support to be enabled. The bootstrap script will attempt to enable this feature automatically, but in some cases, manual intervention may be required. If an error is encountered during the bootstrap process, follow these steps to enable Windows Long Path support. There are two ways to enable long path support in Windows: through Group Policy or the Windows Registry.
Through Group Policy
Open the Local Group Policy Editor by typing
gpedit.mscin the Start Menu.Navigate to
Computer Configuration\Administrative Templates\System\Filesystem.Find the setting for
Enable Win32 long paths.Double-click on
Enable Win32 long pathsto open it.Choose the
Enabledoption and apply the changes.Restart the computer or update the Group Policy by executing
gpupdate /forcein the command prompt.
Through Windows Registry
During the bootstrap script execution, the Windows Registry key will be checked, and if necessary, the user will be prompted to perform this step automatically. However, if manual intervention is needed or the bootstrap script fails to enable the Windows Registry key, follow these steps.
Open the Registry Editor by typing
regedit.mscin the Start Menu.Navigate to
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.Find the
LongPathsEnabledregistry key and double-click on it.Change the
Value Datato 1.Exit the Registry Editor