Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Version 1.5.7

Latest

Choose a tag to compare

@simonafield simonafield released this 16 Dec 07:45
· 1 commit to main since this release

Changes since Major Release v1.5:
Full Changelog: 1.5...1.5.7

  • TextRootDir changed to ComboRootDir, created using the paths of all possible parent directories of items in FilesListBox, this prevents most issues with out-of-range Root DIR selection
  • Redundant checks made before a CAB can be created to prevent exceptions, the following must be true before a Cabinet can be compiled:
  1. At least one file must be checked before a Cabinet can be compiled. Attempting to make a CAB with zero files results in a catch
  2. TextOutputFile must be defined as the final path of the location of the targeted/output Cabinet file
  3. ComboRootDir must have a selected index, and it must be within range of the parent DIRs of all selected files
  4. DropdownCompressType must be defined as NONE, MSZIP, or LZX. NONE is the default, but this is a failsafe
  5. The number of checked files ready to be sent to a Cabinet cannot exceed MAX_LINES_IN_DDF (makecab.exe does not support over 1024)

About ComboRootDir:

  • Refreshes using CleanComboContents() each time the contents of FilesListBox is altered
  • Contains a list of unique parent directories of all checked items in FilesListBox
  • When CabMaker is run, or the compressor group is cleared using ButtonClear, ComboRootDir becomes empty. Whenever files are added to FilesListBox, the first index of ComboRootDir is automatically selected, assuming it is within range

Possible Future Addition: ComboRootDir looks at all items in FilesListBox, and only reflects the lowest standard denominator directories, to prevent selected files being in an external folder from being inadvertently ignored