This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
Releases: simon-techkid/CabMaker
Releases · simon-techkid/CabMaker
Version 1.5.7
Changes since Major Release v1.5:
Full Changelog: 1.5...1.5.7
TextRootDir
changed toComboRootDir
, created using the paths of all possible parent directories of items inFilesListBox
, 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:
- 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
TextOutputFile
must be defined as the final path of the location of the targeted/output Cabinet fileComboRootDir
must have a selected index, and it must be within range of the parent DIRs of all selected filesDropdownCompressType
must be defined asNONE
,MSZIP
, orLZX
.NONE
is the default, but this is a failsafe- 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 ofFilesListBox
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 toFilesListBox
, the first index ofComboRootDir
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
Version 1.5
- Upgraded to .NET Framework 4.8
- Added Tooltips to describe buttons and text boxes
- Added
ErrorProvider
for errors with text input - Added
Delete Sidecars
to provide the option to delete makecab temp files after the job - Added universal version number, substituting manual window titles for assembly version
Version 1.4
- Rearranged UI element code in
Form1.cs
to match their order in the program - Changed
LabelOutputStatus
messages to reflect successful file writes to a CAB - Removed
LabelOutputStatus
text colors .cab
and.ddf
files are only written if CAB Root DIR includes directories under ALL input files, usingproceed
booljobFiles
is the number of files that are checked in the list,successFiles
is the number of files written to CAB
Version 1.3
- Tab indexes of all UI elements reordered correctly
- Help and About elements of Main Menu populated with information
- Descriptive comments added to
Form1.cs
- Button_Click object sender code reordered to button order in GUI
Next Version: implement validation of CAB Root Dir to make sure it is within range of input files
Version 1.2
- General bug fixes:
- Status messages have been improved (more descriptive and frequent)
- CAB Root Dir is optional, if left blank, all files in the list are on the top directory of the CAB, otherwise, child folders included
- Main Menu combo box added to the status bar, containing about and help information, and save settings override
Next Version: correctly order tab index, fix vertical window minimum dimension
Version 1.1
- General element alignment improved (buttons, text boxes snapped to the grid)
- Source and target folder textboxes removed (replaced with a list of candidate files located in the checked list box)
- CheckedListBox added, checked items are added to the created CABs (only checked files are compressed)
- CheckedListBox control buttons added: clear, select/deselect, add folder, add files (to control the contents of the files box)
- Status Label moved to added StatusBar (added statuses reflecting imported, and compressed file counts)
- CAB Root Dir text box added, serves as the bottom directory of created cabs (optional, used if there are child folders)
- Compression Memory selection (LZX) combo box/dropdown is hidden when
LZX
is not the selected compression type