ClamWin Free Antivirus
Support and Discussion Forums
 Automating clamwin_installer.exe to work offline
hippiehacker

 Joined: 07 Dec 2015 Posts: 2 Location: In a van down by the river
 Posted: Mon Dec 07, 2015 1:37 pm
The gui installer has an option to not download/update the sigature db.
When installing in secure environment, there is often no internet.
The gui installer specifically mentions it does not support http proxies:

I'd like to automate the installer and ask it not to download, as it currently just hangs (Looking with ProcessMonitor.exe I can see it's trying to reach the update servers).

I do have an http(s)_proxy, and we could use freshclam.exe once it's installed, but currently we can't even extract it from the exe or get the install to finish because clamwin_installer.exe hangs while trying to update the signature db (we don't have any installer command line options to tell it not to, even when saving the inf options)

Note that this is for the installer command line options:

IT look like we have a inno installer that follows: http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline

I used clamwin_insntaller.exe /saveinf=c:\clamwin.inf to produce:

 Code: [Setup] Lang=default Dir=C:\Program Files (x86)\ClamWin Group=ClamWin Antivirus NoIcons=0 SetupType=typical Components=clamav,clamwin,explorershell Tasks=

I used the clamwin_installer.exe /log=c:\clamwin.log to produce:

Last edited by hippiehacker on Mon Dec 07, 2015 1:48 pm; edited 1 time in total