ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
0.94.1 setup lost /verysilent /noicons /nocancel?
DaleEMoore


Joined: 24 Aug 2007
Posts: 0
Location: San Antonio, Texas
Reply with quote
Thanks for this latest update to your wonderful Anti-Virus tool!

I was a little surprised to discover that setup command line options I've
relied on in the past "/verysilent /noicons /nocancel" to avoid questions
and answers no longer works. I've found "/SUPPRESSMSGBOXES" in the source
code but it doesn't seem to have any effect that I can find.

What do you suggest I do to run the setup.exe and avoid having to answer
questions?

I look forward to hearing from you,
Dale E. Moore
PS: Please pardon me posting this at SF.Net, too http://tinyurl.com/5mpwvg http://tinyurl.com/5mpwvg
View user's profileSend private message
Re: 0.94.1 setup lost /verysilent /noicons /nocancel?
DaleEMoore


Joined: 24 Aug 2007
Posts: 0
Location: San Antonio, Texas
Reply with quote
The setup command line options "/verysilent /noicons /nocancel" no longer work.

Is this a bug, or a feature?

I look forward to hearing from you,
Dale E. Moore
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
DaleEMoore wrote:


Thanks for the insight! Do you know how I can get the old command line arguments to work?

Arguments like /verysilent /noicons /nocancel worked in 0.94.

Thanks for any help you can provide,
Dale E. Moore


Nothing changed in the setup from 0.94 to 0.94.1 so these switches should still work. We use Inno Setup so this reference should be valid:
http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html
View user's profileSend private message
old command line parameters not functional now
DaleEMoore


Joined: 24 Aug 2007
Posts: 0
Location: San Antonio, Texas
Reply with quote
Dear alch;

Many thanks for your response to my note, I very much appreciate it!

0.94.1 does not respond to those command line arguments like 0.94 did. Perhaps this is a bug. Where should I post it, on http://sf.net or in one of these forums?

I hope this note finds you and finds you well,
Dale E. Moore
View user's profileSend private message
License agreement always asked?
DaleEMoore


Joined: 24 Aug 2007
Posts: 0
Location: San Antonio, Texas
Reply with quote
Thinking I might be an idiot (it won't be the last time) I've gone through the obvious options at http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html and can find no way to suppress the License agreement Yes/No prompt. I haven't had this problem for numerous previous versions.
Code:
>clamwin-0.94.1-setup.exe /verysilent /noicons /nocancel
Gets license agreement.

>clamwin-0.94.1-setup.exe /VERYSILENT /NOICONS /NOCANCEL /SP-
Gets license agreement.

>clamwin-0.94.1-setup.exe /VERYSILENT /NOICONS /NOCANCEL /SP- /SUPPRESSMSGBOXES
Gets license agreement.
Something's changed?

Do y'all know if I could contact the Inno Setup folks somewhere to seek their advice? Maybe they changed something.

I look forward to hearing from you,
Dale E. Moore
View user's profileSend private message
New License Agreement can not be SILENT?
DaleEMoore


Joined: 24 Aug 2007
Posts: 0
Location: San Antonio, Texas
Reply with quote
http://news.jrsoftware.org/news/innosetup/msg67234.html http://news.jrsoftware.org/news/innosetup/msg67234.html has me thinking that when you change your license agreement that the acceptance of the new license agreement can not be silent.

So I wonder, did you change your license agreement? https://sourceforge.net/project/shownotes.php?group_id=105508&release_id=639101 https://sourceforge.net/project/shownotes.php?group_id=105508&release_id=639101 says you only changed
Quote:
Notes: -updated clamav engine to 0.94.1 -fixed DST bug in the scheduler


I look forward to hearing from you,
Dale E. Moore
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
nope, nothing in the setup has changed, not even InnoSetup version.
Do you by any chance have the previopus version installed and running? To make the setup run silent you need to do the following before running the setup:
1. Close ClamTray.exe
2. Close Outlook
View user's profileSend private message
ClamTray and Outlook closed
DaleEMoore


Joined: 24 Aug 2007
Posts: 0
Location: San Antonio, Texas
Reply with quote
Hi alch;

I've closed ClamTray and Outlook. Then launched the upgrade with the same command line I've been using:
Code:
>clamwin-update-0.94-0.94.1.exe /verysilent /noicons /nocancel
and the first thing that it appears update does is pop up a License Agreement window like this: http://picasaweb.google.com/DaleEMoore/MooreWorks#5269377807529128786 http://picasaweb.google.com/DaleEMoore/MooreWorks#5269377807529128786.

What in the world am I doing wrong?
Dale E. Moore
View user's profileSend private message
Re: ClamTray and Outlook closed
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
DaleEMoore wrote:
Hi alch;

Code:
>clamwin-update-0.94-0.94.1.exe /verysilent /noicons /nocancel

What in the world am I doing wrong?
Dale E. Moore


That explains it. The "-update" is a patch and done with NSIS installer. Please use the -nodb setup which is built with InnoSetup:
http://sourceforge.net/project/showfiles.php?group_id=105508&package_id=113616&release_id=639101
View user's profileSend private message
-update uses NSIS installer; resolved using -nodb
DaleEMoore


Joined: 24 Aug 2007
Posts: 0
Location: San Antonio, Texas
Reply with quote
Dear alch;

You are a GOD; -nodb works perfectly! Now I am sure I will never have another computer problem for the rest of my life.

Thanks for staying with me through all my confusion!

I hope this note finds you and finds you well,
Dale E. Moore
View user's profileSend private message
neonpolaris


Joined: 21 Oct 2008
Posts: 0
Reply with quote
Wow, that's awesome.

Just for reference, I find that this command:

clamwin-0.94.1-setup-nodb.exe /verysilent /noicons /nocancel /SP- /SUPPRESSMSGBOXES

Will install/upgrade cleanly with no user interaction, (don't use -nodb for initial installs, though), but you don't have to end clamwin.exe first.

I have this in a script that first copies a .clamwin folder (with settings and scheduled scans) to %APPDATA%\.clamwin and then runs the install.

This way I can update all the computers automatically, no matter what versions they were running before (unlike the -update versions). Thanks guys.

If you run this on a computer with the same version already, it goes through the whole process again, but doesn't break anything.

This will certainly make my job easier updating all the computers around here.
View user's profileSend private message
0.94.1 setup lost /verysilent /noicons /nocancel?
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