Home
Archives

Troubleshooting MSI Error 1304

Recently, I ran into this error while trying to install a product.  The error read: "Error 1304.Error writing to file %s.  Verify that you have access to that directory."  (%s was replaced with the actual filename from the error) 



It turns out for this issue, the file generating the error was a .NET assembly that was being installed to the GAC.  After much troubleshooting, we looked to see what version of .NET was actually installed, and discovered that no .NET installation was present.  For reasons other than I want to get into at this moment, the lack of .NET slipped past our installer.  So we fixed that issue, and got .NET 2.0 installed and everything was dandy.

PS:  If you are running into this error code for your installation, make sure to verfiy that your media ins't corrupted.  Re-download or re-copy the media to ensure this.  Also, if you are running this off of a network share, network errors could cause this.  A corrupted CAB file is your most likely culprit.

-JP