On some occasions when running the VMS installer, an insufficient disk space error may occur. This is often caused by Windows copying/extracting files to a temporary location before or during the installation. Even if there is enough disk space for the program itself, the problem can still occur. There are a few different solutions for this issue, which are described below.
Moving the TEMP/TMP environment variables in System Properties
The recommended solution is to redirect the TEMP/TMP environment variables to a different drive to free disk space for the installation. This can be done in the following way:
-
Go to System Properties > Advanced > Environment Variables
-
Move TEMP and TMP to a folder on a drive that has free space (e.g. D:\Temp)
-
Restart the installer
Running the installer from the command line with custom TEMP
This solution can be used when it is preferred not to make permanent changes to the settings, as the changes only apply in the current session.
Run the following commands in Command Prompt:
set TEMP=D:\Temp
set TMP=D:\Temp
installer.exe
Other solutions
Other solutions that can be tried to fix the issue:
-
Moving large files off the drive temporarily to free space when running the VMS installer
-
Using a symbolic link (junction) for redirecting the Temp folder with the following command:
-
mklink /J C:\Users\<you>\AppData\Local\Temp D:\Temp -
Note that this moves everything in this path to a different drive.
-