sapientcoder / CabMaker

CabMaker is a free Windows desktop tool that lets you quickly package up an entire folder of files (including subfolders) into a .cab file.
84 stars 20 forks source link

CLI option #5

Open the-nose-knows opened 3 years ago

the-nose-knows commented 3 years ago

It would be awesome if you could provide the three parameters as command-line arguments so this tool can also be used for automation and not just with GUIs! Then it could be used like,

CabMaker -sourceFolder=C:\temp\files -targetFolder=C:\temp -targetFile=C:\temp\files.cab

electron4692 commented 3 years ago

Yes, I was looking for that feature, too!

sapientcoder commented 2 years ago

Sorry for the late reply on this. Last year was nuts, and it took me a while to get around to looking at this repo again.

Since this tool already wraps makecab.exe which is itself a command-line tool, I'm not sure that adding a CLI to a tool that already wraps a CLI makes sense. The main use case behind creating this was the lack of a GUI for the existing CLI.

But that said, it's not just a straight-up wrapper since it also auto-generates the DDF file that has to get fed to makecab. Is that the reason you were asking for a CLI? If so, there might be some value there (or maybe in providing a PowerShell script in this repo for the command-line case that does that step and calls makecab).

danbu commented 1 year ago

I was looking at using this for generating CAB files of drivers to import them into Microsoft Deployment Toolkit where some vendors have individual files and folders, a lot cleaner to have a single CAB file with the drivers for that model

marconix2010 commented 9 months ago

Well, I simply use CabMaker by obtaining the .exe file and selecting the file I need to convert