ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Easy install with pre-configured options
cr0vax


Joined: 18 Aug 2010
Posts: 0
Reply with quote
Hi there,

we're going to implement ClamWin in all school computers we're responsible for.

There are some configurations needed, for example schedules, as you might know it can be done directly from ClamWin tray icon, however it would be perfect for us to do it all automatically on a silent install, is it possible?

Thank you
Bruno Moreira
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
you could create configuration and schedules on one machine and then distribute them to all user accounts on all computer:
the files are:

Vista/Win 7
schedules: C:\Users\$USER$\AppData\Roaming\.clamwin\ScheduledScans
config: C:\Users\$USER$\AppData\Roaming\.clamwin\ClamWin.conf

XP:
schedules: C:\Documents and Settings\$USER$\Application Data\.clamwin\ScheduledScans
configC:\Documents and Settings\$USER$\.clamwin\ClamWin.conf

Hope it helps

Cheers,
Alch
View user's profileSend private message
cr0vax


Joined: 18 Aug 2010
Posts: 0
Reply with quote
yes that helps Smile

will make a batch file that do silent install and copy those files right after installation

will post results of batch file, after done

Thanks a lot.
View user's profileSend private message
cr0vax


Joined: 18 Aug 2010
Posts: 0
Reply with quote
How to make an automated install of ClamWin/ClamSentinel pre-configured.

1 - Create a folder for installation(we'll call it as the InstallationFolder)

2 - Download both programs, ClamSentinel and Clamwin
Copy Clamwin installation file into .\InstallationFolder
Copy Clamsentinel installation file into .\InstallationFolder

3 - Install both programs and configure it as you want them to be

4 - Copy both program configurations files/folders into .\InstallationFolder
ClamSentinel - from %programfiles%\ClamSentinel\ClamSentinel.ini to .\InstallationFolder
ClamSentinel - from %appdata%\ClamSentinel to .\InstallationFolder\ClamSentinel
ClamWin - from %appdata%\.Clamwin to .\InstallationFolder\.Clamwin

5 - Create a batch file named installation.bat into .\InstallationFolder

6 - Edit installation.bat and insert this inside it
REM BEGIN OF INSTALLATION FILE
@echo off

echo // installing Clam Win
.\clamwin-0.96.2-setup.exe /sp- /silent /norestart

echo

echo // installing ClamSentinel
.\ClamSentinel1.13.exe /sp- /silent /norestart

echo

echo // Copy Configurations
copy .\.clamwin\*.* "%appdata%\.clamwin"
copy .\ClamSentinel\*.* "%appdata%\ClamSentinel"
copy .\ClamSentinel.ini "%programfiles%\ClamSentinel"

echo

echo ********************
echo INSTALLATION COMPLETE
echo ********************
pause
REM END OF INSTALLATION FILE

Hope this helps
View user's profileSend private message
Easy install with pre-configured options
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