You are here

ClamWin Portable Database Updater

1 post / 0 new
Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
ClamWin Portable Database Updater

Some people (including me) wanted to have an easy way to update their ClamWin Portable virus definitions. Today I had some spare time and I created "ClamWin PortableUpdater".
Just save it as a nsi file ihn your \PortableApps\ClamWinPortable\Other\ClamWinPortableSource folder, compile it and put the exe in your \PortableApps\ClamWinPortable\ folder. It will show up in the Menu as "ClamWin Portable Updater" and update your definitions and then exit.

Hope you like it.
criticism/questions/hints welcome

Is there a way to tell the Clamwin Launcher not to display the splash screen WITHOUT using an ini file?

;Copyright (C) 2007 Simeon

;This software is OSI Certified Open Source Software.
;OSI Certified is a certification mark of the Open Source Initiative.

;This program is free software; you can redistribute it and/or
;modify it under the terms of the GNU General Public License
;as published by the Free Software Foundation; either version 2
;of the License, or (at your option) any later version.

;This program is distributed in the hope that it will be useful,
;but WITHOUT ANY WARRANTY; without even the implied warranty of
;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;GNU General Public License for more details.

;You should have received a copy of the GNU General Public License
;along with this program; if not, write to the Free Software
;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

!define NAME "ClamWinPortable Updater"
!define APP "ClamWin"
!define VER "1.0.0.0"


;=== Program Details
Name "${NAME}"
OutFile "${NAME}.exe"
Caption "${NAME}"
VIProductVersion "${VER}"
VIAddVersionKey ProductName "ClamWin Portable Updater"
VIAddVersionKey FileDescription "ClamWin Portable Updater"
VIAddVersionKey FileVersion "${VER}"
VIAddVersionKey ProductVersion "${VER}"
VIAddVersionKey InternalName "ClamWin Portable Updater"

;=== Runtime Switches
CRCCheck On
WindowIcon Off
SilentInstall Silent
AutoCloseWindow True
RequestExecutionLevel user

;=== Program Icon
Icon "ClamWinPortable.ico"

Section "Main"

	Exec "$EXEDIR\ClamWinPortable.exe --mode=update --close "
	
SectionEnd