Here's what my PortableClamWin.ini file looks like...
[PortableClamWin] ClamWinDirectory=PortableClamWin Files\application\bin DBDirectory=PortableClamWin Files\database LogDirectory=PortableClamWin Files\logs QuarantineDirectory=PortableClamWin Files\quarantine ClamWinExecutable=ClamWin.exe UpdateExecutable=freshclam.exe AdditionalParameters= WaitForClamWin=false DisableSplashScreen=true
...and the actual locations of my files are as such:
Application: PortableClamWin Files\application\bin
Database: PortableClamWin Files\application\bin\PortableClamWin Files\database
Log: PortableClamWin Files\application\bin\PortableClamWin Files\logs
Quarantine: (don't know; no viruses that I can quarantine)
I'm guessing this is not the behavior you intended, right?
my guess would be that the application directory, listed first, is used as a root of sorts, and the subsequent locations are based within that root in the subsequent locations. it works for me at any rate, but i am just beginning to learn.
---
Posted in Mozilla PowerSkunk. Other Browsers run in fear!
(Brought to you by Firesomething.)
I'm not so sure that's how it's supposed to work. None of John's other applications work that way.
I receive the following error when trying to initiate a scan on drive C:...
Could not start process:
"M:\Portable Applications\PortableClamWin Files\application\bin\" --tempdir "c:/docume~1/brucep~1/locals~1/temp" --max-ratio=0 --recursive --no-mail --infected --max-files=500 --max-space=10240 --max-recursion=5 --show-progress --stdout --database="PortableClamWin Files/database" --log="c:/docume~1/brucep~1/locals~1/temp/tmp-qhdwa" "C:/" --exclude="C:/WINDOWS/system32/config/default" --exclude="C:/WINDOWS/system32/config/SAM" --exclude="C:/WINDOWS/system32/config/SECURITY" --exclude="C:/WINDOWS/system32/config/software" --exclude="C:/WINDOWS/system32/config/software.alt" --exclude="C:/WINDOWS/system32/config/system" --exclude="C:/WINDOWS/system32/config/system.alt" --exclude="[^/]*\.dbx$" --exclude="[^/]*\.tbb$" --exclude="[^/]*\.pst$" --exclude="[^/]*\.dat$" --exclude="[^/]*\.log$" --exclude="[^/]*\.evt$" --exclude="[^/]*\.nsf$" --exclude="[^/]*\.ntf$" --exclude="[^/]*\.chm$"
Error: The system cannot find the path specified.
Apparently, it's trying to launch "M:\Portable Applications\PortableClamWin Files\application\bin\", i.e. the application directory, instead of an actual executable. I don't know whether this is a bug in ClamWin or the just in the portable edition, so I'm posting it here.![Smile](https://portableapps.com/sites/all/modules/smiley/packs/kolobok/smile.gif)
Edit: Yep. It's a bug in the launcher. The launcher is setting the ClamScan location to ClamWinDirectory instead of ClamWinDirectory\clamscan.exe.
Edit Again: Figured this one out. The example INI is missing a line, specifically ScanExecutable=clamscan.exe. Once I added that, it worked fine.
I released it with 3 lines of old code that didn't get fixed. Try this:
https://portableapps.com/downloads/Portable_ClamWin_Launcher_1.1.4.2.zip
That launcher should do the trick. If it does, I'll just slip a revision 2 release of PCW out for folks that use the INIs.
Sometimes, the impossible can become possible, if you're awesome!
That fixed it. Thanks! You might want to add the missing ScanExecutable=clamscan.exe line to the sample .ini while you're at it. Doesn't work right without it--it tries to launch the application directory when you start a scan, ultimately meeting with failure.![Smile](https://portableapps.com/sites/all/modules/smiley/packs/kolobok/smile.gif)
yeah my bad. i was using the one i made from a guide on clamwins site. didnt look closely at the pstart menu. Should have noticed no splashscreen.
I thought i deleted mine from the menu and deleted instead johns.
---
Posted in Mozilla PowerSkunk. Other Browsers run in fear!
(Brought to you by Firesomething.)
I updated Portable ClamWin to Revision 2 and fixed these issues in the release version.
Sometimes, the impossible can become possible, if you're awesome!