File Name Length Limit
Posted: Wed Aug 05, 2009 12:26 pm
We're having a problem in our installer. Maybe someone can help me figure out what's the issue. We are using InstallAware 8.
We are creating a file bag using this command:
Define File Bag : Y:\\Output\\MSISources\\iserverconfiguration\\*, include files recursively
One of the subfolders under this path has 29 subfolders, each of which holds two files.
Here's the problem: One of the files in one of these subfolders is missing from the file bag. When we run the installer, the file doesn't show up in the temporary folder where files are unpacked. We also looked inside the installer EXE using a zip file archive manager and we see that this one file is not even included in the file bag. However, the file is present in the source folder where InstallAware goes to retrieve the files to put into the file bag when the installer is compiled. So for some reason InstallAware fails to include this file in the file bag.
To me it appears that the file is being skipped because its filename is too long. The file's name is 34 characters long (not counting the file extension). It is the longest filename we have. There is also a 32 character filename which is being included in the file bag successfully.
As a test, we shortened the file name by a few characters and rebuilt the installer. With the shortened name, the file gets included in the file bag properly. Note that we also shortened the folder name too, but I don't think this was causing the problem.
So my questions are:
(a) Is there a limit on the length of filenames that InstallAware 8 can handle when building file bags?
(b) If so, is there a fix or workaround to the problem?
We can shorten the name if we have to, but we'd prefer not to. We name these files according to a naming scheme and we'd prefer not to depart from that scheme.
Thanks,
Greg S.
We are creating a file bag using this command:
Define File Bag : Y:\\Output\\MSISources\\iserverconfiguration\\*, include files recursively
One of the subfolders under this path has 29 subfolders, each of which holds two files.
Here's the problem: One of the files in one of these subfolders is missing from the file bag. When we run the installer, the file doesn't show up in the temporary folder where files are unpacked. We also looked inside the installer EXE using a zip file archive manager and we see that this one file is not even included in the file bag. However, the file is present in the source folder where InstallAware goes to retrieve the files to put into the file bag when the installer is compiled. So for some reason InstallAware fails to include this file in the file bag.
To me it appears that the file is being skipped because its filename is too long. The file's name is 34 characters long (not counting the file extension). It is the longest filename we have. There is also a 32 character filename which is being included in the file bag successfully.
As a test, we shortened the file name by a few characters and rebuilt the installer. With the shortened name, the file gets included in the file bag properly. Note that we also shortened the folder name too, but I don't think this was causing the problem.
So my questions are:
(a) Is there a limit on the length of filenames that InstallAware 8 can handle when building file bags?
(b) If so, is there a fix or workaround to the problem?
We can shorten the name if we have to, but we'd prefer not to. We name these files according to a naming scheme and we'd prefer not to depart from that scheme.
Thanks,
Greg S.