The Microsoft Windows Installer Error 1320 may occur when you attempt to install software on your computer. For example, when you attempt to install the Statistical Package for the Social Sciences software by IBM, you may receive an error message similar to "Error 1320. The specified path is too long.
C:\ProgramData\Application Data\SPSS." Several other programs that you attempt to install or uninstall an application may also produce the MSI 1320 Error.
MSIExec.exe and InstMsi.exe Functions
· When installing the SPSS software, the MsiExec.exe and InstMsi.exe functions return the MSI 1320 error if the installation folder named INSTALLDIR is mapped to a network drive.
Path names that are too long will also return MSI 1320 errors. For example, if you work with Visual Studio and you place projects in directories other than the hard drive, commonly "C," this is likely to occur.
DOS SUBST Command
· If you placed the INSTLLDIR folder in a substituted drive using the DOS SUBST command, an MSI 1320 may be returned. The DOS SUBST command is used to associate a path with the letter of a virtual or physical drive. Errors will occur if you use the DOS SUBST command on a network drive.
Temporarily Modify Shortcut
· Modify the C:\ProgramData directory by removing the Application Data shortcut before you install the software. You'll have to show hidden files to locate the shortcut. To do this, navigate to the "Start" button and select the "Control Panel." Click "Appearance and Personalization," and then click "Folder Options." Click the "View" tab, and then click "Show hidden files and folders" located under "Advanced Settings." Click "OK." Drag the "Application Data" shortcut to your Desktop. If that's not possible, rename the folder to unlock it first, and then drag the "Application Data" shortcut to your Desktop. Place the shortcut back to the C:\ProgramData directory after you finish installing the software.
Warnings and Considerations
· Some of your settings may not be restored after you remove and then replace the Application Data shortcut. Workaround this by selecting the "Do not show hidden files and folders" option in the Folder and Search Options category. You'll also want select the "Hide protected operating systems files" option to restore your original settings.
Contact the software or hardware manufacturer of the software or hardware you're trying to install to get the appropriate support. Visiting the manufacturer's website and posting a query on a forum may lead to a faster result.