Monday, September 23, 2013

Error generating short file name for file error code -6015

Problem
In InstallShield 2010 I specified a location using a forward slash, i.e. [INSTALLDIR]Reports/Product instead of using a backslash. This results in the error "Error generating short file name for file..."
I updated the reference to use a backslash, i.e. [INSTALLDIR]Reports\Product, but it's still getting this error. It seems to be caching the string with the forward string somewhere.

Solution
1. Additional Tools > Direct Editor
2. Directory
3. Locate the string containing the forward slash, right-click the row and Drop the Row

I found this by doing a Ctrl-F and entering Reports/Product. This found it in the Directory table, so i navigated there and dropped the row.

No comments:

Post a Comment

There was an error in this gadget