Although it's highly recommended to install the software using the Windows Installer (see below), the stand-alone exe is all that's required to use the program. The program command line options are as follows:
ZipBuild.exe <option1> <option2...> <*Folder Name>OPTIONS EXPLAINED
Valid options are as follows:
- 'm' or '-manual': Manually select folder to be processed
- 's' or '-signed': Append '-signed' to the output file name
- '5' or '-md5': Generate corresponding MD5 checksum file
- 'c' or '-confirm': Confirm options before building
- 'g' or '-gitinclude': include .git folders and related files
* Ignored when using manual selection mode
'm' or '-manual': In Manual mode you will be presented with a dialog box where you can manually select the folder containing the files to be processed. *When using Manual mode, the folder name will be ignored if it was provided in the command lineZIP BUILDER SETTINGS MANAGER
's' or '-signed': This option will append '-signed' to the output file name. For example: Folder name 'UPDATE-adb.Installer.v1.0.36' would produce a signed zip file named 'UPDATE-adb.Installer.v1.0.36-signed.zip'.
'5' or '-md5': This option will create a separate, corresponding MD5 checksum file that can be used to verify file integrity in TWRP or with other Windows checksum utilities.
'c' or '-confirm': When this option is used, you will be presented with a dialog box where you can confirm (or change) the 2 options above. If either (or both) options above have been specified on the command line, the checkboxes will be pre-selected accordingly. Once you're satisfied with your selections, click the 'Build Zip File' button to begin the zip building and signing process.
'g' or '-gitinclude': This option will include any .git folders and related files (.git, .gitignore, and .gitattributes) that are excluded from the zip file by default. [Should rarely be needed, if ever]
Zip Builder Settings Manager (ZipBuildSettings.exe) is an optional companion app that can be used to manage the settings and options (shown below) for Zip Builder:DATE CODE FEATURE
- You can choose to create Windows Context (Right-Click) menus that will allow you to build a signed zip installer simply by right-clicking on a folder name. Folder names that end in '20YYMMDD' or '20YYxxxx' as well as folder names that begin with 'UPDATE' are supported in Windows 7 and above. You can also enable the option to build from any folder by holding the SHIFT key while selecting the folder.
- You can choose when to display the confirmation dialog
- You can choose when to append '-signed' to output file names
- You can choose when to create md5 checksum files
- You can choose to include all .git folders and related files (see above)
If you're building from a Windows folder name that ends in '20YYMMDD' or '20YYxxxx', Zip Builder will give you the option to change or update the date code portion of the file name before building the zip (it will also suggest the current date's date code - YYYYMMDD). And, if you're building a zip installer that includes a g.prop file (found in many GApps packages), the installer will read the date code from the 'ro.addon.*_version=' property and automatically use it in place of the date code from the Windows folder name.WINDOWS INSTALLER
I've also built a Windows installer that runs in standard user mode (no Admin access required or requested) and installs the Zip Builder and Zip Builder Settings exe's in: 'C:/Users/<user>/AppData/Roaming/Zip Builder'. The installer will create a program group and shortcuts in the Windows start menu (and optionally on the desktop) that can be used to launch Zip Builder in 'manual selection mode', where the user can manually select the folder they wish to build. The installer will automatically run Zip Builder Settings Manager at the conclusion of the install where you can configure the settings and options to your personal preference.TECHNICAL NOTES
Uninstalling Zip Builder from the Windows Uninstall menu will remove all traces of the software from your system. And, since neither Zip Builder, Zip Builder Settings Manager, or its installer will ever prompt for UAC access, you can be confident that it's not touching the Windows operating system. Of course, all source code is available if you want to check for yourself - you can even build it for yourself, if you want!
Zip Builder includes the ability to dynamically adjust the java 'heap size' to the maximum amount available on your system. On 64-bit systems, Zip Builder will attempt to allocate 6200m (-Xmx6200m) and will decrement this by 10 (6190, 6180, etc.) until it detects a value that will run on your system. Most any value above 5120 should be sufficient to build even the largest zip file installer. On 32-bit systems, Zip Builder will attempt to allocate 1600m and will decrement this by 10 (1590, 1580, etc) until it detects a value that will run on your system. Currently, I have the heap size parameter turned off if the detection system returns a value lower than 1350. Based on feedback I receive, I may make further adjustments.DOWNLOADS
I've tested the program on Windows 7 64-bit and it works fine. I have yet to find a zip file based installer that won't successfully build on a 64-bit system (with at least 4GB RAM). It also works fine on Windows 7 and XP (32-bit) when the folder to be zipped is relatively small (less than 50-75 MB). In short, Zip Builder should perform exactly the same as if you were manually building zip file installers the old-fashioned way. And, if you were having java heap size issues, this software might be able to work in cases where the manual method would fail.
Zip Builder, Tool/Utility for all devices (see above for details)
Current Stable Version: 4.2.1
Stable Release Date: 2018-01-23
Last Updated 2018-01-23