Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Long vs Short .cab filenames


1 reply to this topic

daleq

daleq
  • Full Members
  • 9 posts

Posted 30 January 2003 - 02:29

All,

I haven't taken this down to the bare minimum yet, so please work with me a bit...

When I create a project and build (specifiying Long file names) the .cab files are created with short file names.  If I export the project to 'text' and import it again, then when I build I get long file names for the .cab files.  However, one of the the long filename .cab files is missing files that should be be included (and are included when it's built with short names).

The Compression type is Custom (One cab per Component)

Has anyone seen anything like this in their work?

Any work-arounds or suggestions?

Thanks,
Dale

daleq

daleq
  • Full Members
  • 9 posts

Posted 04 February 2003 - 20:51

I found what is happening here.

First of all, the checkbox in the Release for "Long File Names" does nothing.  According to InstallShield, Microsoft says that the .cab files must use short file names.

It turns out that if you build the .ism file on a NTFS drive then you get short file names and the .cab files are created correctly.

Building CAB files...
GLOBAL~1.cab built
GLOBAL~2.cab built
GLOBAL~3.cab built
GLOBAL~4.cab built
GLB06B~1.cab built
GL344F~1.cab built
GLB06B~2.cab built
GL344F~2.cab built
GLB06B~3.cab built
Files built
Media table successfully built
Product Configuration 1\Release 1 build completed with 0 errors, 0 warnings


If you copy that same .ism to a MVFS drive (Clearcase) then you get long file names.  However, in the LogFile, you'll see something like;

Building CAB files...
Global_Forms_UA.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_VBA_HelpIntl.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_UserAssistance_OfficeCore.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_UserAssistance_OfficeCoreVBA.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_VBA_HelpIntl.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_UserAssistance_OfficeCore.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_VBA_HelpIntl.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_UserAssistance_OfficeCore.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Global_VBA_HelpIntl.83CAD8F6_C862_11D2_845A_00C04F8EE2AC.cab built
Files built
Media table successfully built
Product Configuration 1\Release 1 build completed with 0 errors, 0 warnings

Notice how the same .cab name was used more than once!  The final .cab file does not contain all the files, just the ones that were added the last time it was built.

Oh well.  Who uses Clearcase for source control anyway? :angry:

Hope this helps.