Software Deployment Question

Eclipse MSI Packaging

11/07/2017 1361 views
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?

Community Chosen 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
Red Belt

All Answers

Personally, I wouldn't bother with re-packaging just to add files. It should be much easier to script copying the files with a batch script. 
Answered 11/07/2017 by: chucksteel
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ