ClamWin Selective Updater v1.5

Download Complete ClamWin Selective Updater v1.5
A Read Me file with more details is provided below.

For all previous version download ClamWin Selective Updater v1.4.1

If you wish to create the batch file yourself the code is below.
Wget Binaries and Dependencies will be required.
Note only the bin folders are required.

1a. Go to the Wget for Windows website.
1b. Download Binaries.zip & Dependencies.zip.
1c. Alternativly you can use my pre downloaded files: wget_bin.7z

2. Create a folder for your batch file (eg. C:\ClamWin Selective Updater\)

3. Extract the bin folder and its files (eg. C:\ClamWin Selective Updater\bin\)

4. Copy the code below to .\launcher.bat or Right click & "Save As" to Download: launcher.bat


5. Copy the code below to .\bin\options.ini or Right click & "Save As" to Download: options.ini


6. Copy the code below to .\bin\codebase.bat or Right click & "Save As" to Download: codebase.bat


7. Check the folder structure, it should look like the following:
	C:\clamwinupdate\
		launcher.bat

	C:\clamwinupdate\bin\
		codebase.bat
		libeay32.dll
		libiconv2.dll
		libintl3.dll
		libssl32.dll
		options.ini
		wget.exe
8. Double click "launcher.bat" to update.

Read Me

Version 1.5 (07/12/2015) | Right click & "Save As" to Download: readme.txt
-----------------------------------------------------------------------------------------------------------
0.a - Table of Contents
-----------------------------------------------------------------------------------------------------------

1.a - Version Changes
1.b - Instructions
1.c - Notes
1.d - Included Files
2.a - Options / Variables
2.b - Unattended Update Schedule
3.a - Previous Version Changelog


-----------------------------------------------------------------------------------------------------------
1.a - Changes for Version 1.4.1:
-----------------------------------------------------------------------------------------------------------

Version 1.5 Changes:
Optimized, Clarified Filenames, Version Bump

 back to top
 
-----------------------------------------------------------------------------------------------------------
1.b - Instructions:
-----------------------------------------------------------------------------------------------------------
Yet to be added!

 back to top

 
-----------------------------------------------------------------------------------------------------------
1.c - Notes:
-----------------------------------------------------------------------------------------------------------
Bytecode is always updated regardless of selection!

Logfile save is enabled and saved to your douments folder by default.

 back to top

 
-----------------------------------------------------------------------------------------------------------
1.d - Included files required for operation:
-----------------------------------------------------------------------------------------------------------
File					| 	Description
-----------------------------------------------------------------------------------------------------------
ClamWin Selective Updater v1.4.bat	|	Update Script Launcher
\bin\wget.exe				|	Main Wget exe
\bin\options.ini			|	Allow user to set script run options
\bin\libssl32.dll			|	Wget required dll
\bin\libintl4.dll			|	Wget required dll
\bin\libiconv2.dll			|	Wget required dll
\bin\libeay32.dll			|	Wget required dll
\bin\code.ini				|	Main code for update script

 back to top

 
-----------------------------------------------------------------------------------------------------------
2.a - To change default options or to activate unattended updates please edit \bin\options.ini
-----------------------------------------------------------------------------------------------------------
Options 		|	Values		|	Description
-----------------------------------------------------------------------------------------------------------
unattended 	 	|	yes/no		|	set Update script to complete with no user interaction.
mainupdate	 	|	yes/no		|	set Main update to always be selected by default.
dailyupdate	 	|	yes/no		|	set Daily update to always be selected by default.
custom_clamwin_install	|	yes/no		|	set ClamWin to accept custom install database location.						
custom_clamwin_location |	Directory	|	set Custom location of ClamWin database.
log_file_creation	|	yes/no		|	set Updater to save a logfile of update status.						
custom_clamwin_location |	Directory	|	set location to save logfile.

 back to top

 
-----------------------------------------------------------------------------------------------------------
2.b - Setting Unattended Update Schedule / Auto updates
-----------------------------------------------------------------------------------------------------------

First off in the script directory
Open \bin\options.ini in a text editor and change unattended to yes
Now Open Task Scheduler
Click Create Basic Task from the Actions section
Enter an Name and optionl description
Under Trigger Select the relevent schedule to run updates
Under Action select start a program, browser to the location of the script
!IMPORTANT! In the "Start In" section input the directory where the script is located (eg c:\clamwinupdate\)
Finaly click Finish

 back to top
 

-----------------------------------------------------------------------------------------------------------
3.a - Previous Version
-----------------------------------------------------------------------------------------------------------
Version 1.4.1 Bigfix:
Fixed Fails if not run from system drive!

Version 1.4 Changes:
Re-Dev, Optimised
Created options file for ease of use
Created Readme file (This file)
Improved Install checks
Improved Selection options

Version 1.3 Changes:
Re-Dev, Optimised/Feature Update
Changes:
removed wget install use local bin instead
added crude error checking
added Variables/User Options to top of file for easy changing
created unattended option for scheduling
added log file option for updates
added custom location variable

Version 1.2 Changes:
Minor Update
fixed directory issues
added crude directory install checking

Version 1.1 Changes:
Released Dev

Version 1.0 Changes:
Debuging Dev

Version 0.1 Changes:
Initial Dev

 back to top