Windows Installer Error 1310
Summary
Error attempting to create the destination file: [PATH].Symptoms
When running an installation, error 1310 occurs in the following format:
Error attempting to create the destination file: [PATH].
[PATH] resolves the path and file, e.g., C:\Test\options.ini.
Error 1310: Error writing to file [1]. Verify that you have access to that directory [1] is the file that is over 2GB in size.
Cause
Error 1310 is a Windows Installer Error. Below is a list of know causes and solutions.
Resolution
A. The Windows Installer does not have permissions to write to the folder indicated in the error message.
This can occur if the folder already exists on the target machine, and the currently logged on user does not have the appropriate permissions to write to that folder.
-
Go to the folder on the target machine that was displayed in the error message.
- Right-click the folder and select Properties.
- Select the Security tab.
-
Verify that the currently logged on user has the appropriate permissions to write to this directory and set the permissions as needed.
B. A File Over 2 GB is Being Installed
This is a Microsoft limitation with Windows 7 and the MSI technology. If you include a file that is over 2GB in size you will get this error when trying to install.Please try the following possible workaround to copy your 2+ GB file to the target machine:
- In the Support Files > Advanced Files view, Add your file under the Disk1 folder
- Create a custom action that would copy this file to the target location. The Disk1 folder can be referenced as SourceDir. Note that the release would have to be built uncompressed for SourceDir to resolve to the Disk1 folder. Building an uncompressed setup is also a requirement if you include a file that is larger than 2GB since Microsoft's cab extraction utility has this size limit
- Remove the file from your component
Additional Information
See MSI Help Library topic Windows Installer Error Messages.
Was this helpful?
© 2026 Flexera. All rights reserved.