Software Deployment Question
Eclipse MSI Packaging
11/07/2017 1361 views
Not sure if I am posting in the right forum, my question is realated to adminstudio\software packaging in general.
I have to bundle some files related to Eclipse software in an msi, I tried to create an msi by adding files in FILES & FOlders but many files did not get added because of error related to Long File Names. Then I resorted to repackaging and used the capture method assuming installshield takes care of it. But had similar problem again.
I could not record the exact error but I am sure it occured due to long file name.
Media files are in the form of ZIP files which needs to be extracted to C:\eclipse46, if anywhere other than root drive extraction itself does'nt go well due to length of file names exceed the charecter limits.
Please suggest with your experience, how do I bundle this kind of media files into an msi?
Appreciate your help!
Community Chosen Answer
Please log in to answer
If the path is too long for packaging, it'll likely be too long for any form of deployment, even copying via script.
Luckily, DOS is still pretty dumb, in that it can be fooled fairly easily into using long paths by using SUBST:
- determine where the "root" of the target or source path is, depending on which path is the problematic one
- use SUBST to create a dummy drive to that path (SUBST X: [too_long_path_name])
- copy files/folders to or from that SUBSTed drive.
Answered 11/08/2017 by: anonymous_9363