ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Is the Clamwin.zip file needed to run ClamWin?
SGP


Joined: 16 Nov 2009
Posts: 0
Location: London
Reply with quote
I am making a portable - USB - edition of ClamWin, and trying to cut down on space needed on the stick. Clearly I don't need the manual (manual.pdf and manual.chm) from the "bin" folder, but is clamwin.zip (6113 Kb) from the "lib" folder needed? It seems to contain nothing but .pyd files, and far more than are already expanded in the folder itself.

And can I leave out any other files?
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
Of course it is needed - why would we install files that are not necessary?
View user's profileSend private message
SGP


Joined: 16 Nov 2009
Posts: 0
Location: London
Reply with quote
Quote:
Of course it is needed - why would we install files that are not necessary?


Thanks, Alch, but you might have included clamwin.zip as part of the standard package, from which files relevant to the current OS could have been extracted. Now that the installation is up and running, the .zip file might have been no longer needed, especially in a stripped down version. (And you might not have had the installation routine delete the file after use in case the user wanted to use the programme on a different OS).

But enough excuses for what must have seemed a silly question, and thank you for your very prompt response!
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
no problems, clamwin.zip is a compressed library of python dependencies (modules). There are required for the program to run
View user's profileSend private message
Drew Barfield


Joined: 27 Feb 2010
Posts: 0
Location: Elizabethtown, NC
Reply with quote
I'm running freshclam.exe and clamscan.exe via batch file on a USB stick without the "lib" folder at all. Seems to be working fine. Maybe the lib folder contains 'windowing/GUI' stuff? I also deleted the "log" and "quarantine" folder but I specifically don't use them.

Code:
REM --------------------------------------------------------------------------------
REM MALWARE
REM --------------------------------------------------------------------------------
REM
ECHO.
ECHO  * Update ClamAV Database
pushd .\clamwin
start "Updating ClamAV..." /realtime /wait bin\freshclam.exe --verbose --stdout --datadir="db" --config-file="bin\freshclam.conf" --log=%ECSFOLDER%\clam_update.log
ECHO.
ECHO  * Run ClamAV
start "ClamAV" /realtime /wait bin\clamscan.exe --verbose --stdout --database="db" --log=%ECSFOLDER%\clamscan.log --remove=yes --memory --kill --detect-pua=yes --scan-mail=no --scan-pdf=no --scan-html=no --scan-archive=no --recursive %SYSTEMDRIVE%
popd


-Drew
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 9
Location: USA
Reply with quote
I think the lib stuff gives ClamWin additional functionality. I will bet all you are doing is a basic scan without it. Try your scan on several different kinds of extensions--zip, rar, pdf, js, vba, MS Office stuff. Also, are all of the configuration options available to you?

Regards,
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
you don't need lib folder if all you use is clamscan and freshclam. Lib is for the python GUI
View user's profileSend private message
Drew Barfield


Joined: 27 Feb 2010
Posts: 0
Location: Elizabethtown, NC
Reply with quote
GuitarBob/alch,

I've been testing clamfresh and clamscan all day today with specific attention paid to Bob's suggestions about archives, OLE, etc. I haven't noticed any problems without the lib folder so far. I'm able to intentionally infect and clean a machine in cycles for testing.
View user's profileSend private message
Is the Clamwin.zip file needed to run ClamWin?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic