Error 1325 - File name is not a valid short file name
The MSI log showed that msiexec was failing with "Error 1325 - File name is not a valid short file name" when trying to access what looks like a share directory under the H drive for MyDocuments. According to the Microsoft documentation this error message usually is related to lack of permissions for the account in use to access this mapped folder.
The customer made some changes on permissions and how this shared drive was loaded. After that we were able to install the MSI without complain.
We used the following information as reference to solved the issue with permissions:
https://www.experts-exchange.c
- The permissions on "Username" is full acces for the user but the permission on "Share$" has no read access. Even if the user can successuflly access the full UNC, MSI install files need "read" access on "Share$".
- It also appears that if the username is no longer than 8 characters, it is working fine even if user has no "read" access on "Share$"
So the fix would be to:
- Give READ access on "Share$" to the users or everyone
Note:
Now, in some instances after removing the share reference (redirecting a folder like My Documents or My Pictures to a network share), there are situations that the reference is not completaly cleared out from the registry, causing that msiexec fails to properly access the location.
The following article suggests few areas where the reference needs to be cleared out: http://superuser.com/questions