Eclipse MSI Packaging
Hello Everyone,
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!
1 Comment
[ + ] Show comment
-
We use AdminStudio to package Eclipse and haven't had problems. But then we aren't adding extra files. I take it you've done a simple snapshot before, copied only the already extracted files to C:\eclipse46 and then taken a snapshot after? - alphabeta 7 years ago
Answers (2)
Please log in to answer
Posted by:
anonymous_9363
7 years ago
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.
Posted by:
chucksteel
7 years ago