Installation of  ClamWUG gets errors.

PC LDAPServer fails ClamWUG install.
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: clamwug.exe
Problem Signature 02:
Problem Signature 03: 48604145
Problem Signature 04: mscorlib
Problem Signature 05:
Problem Signature 06: 47577b16
Problem Signature 07: 3404
Problem Signature 08: 15a
Problem Signature 09: System.UnauthorizedAccess
OS Version: 6.0.6001.
Locale ID: 1033
Read our privacy statement:

Same thing after windows updates, maybe more.

at the command line and see where it gets to.
Pops up different msdos box and gets unhandled exception.
Print screen catches some of it:
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directo
at clamwug.progr
at clamwug.progr
Try it again. 5-6 times.
Unhandled Exception: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\ClamWin\Logs\' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DriectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurty directorySecurity)
at System.IO.Directory.CreateDirectory(String path)
at ClamWUG.Program.Main1()
at ClamWUG.Program.Main(String[] args)
Look in event viewer; nothing.
How do I code it to trap this data somewhere I can find it later?
How do I grant permissions so that this installation will succeed?
Do I have to make StrongNames for my code?

Try creating folder "C:\Program Files\ClamWin" then re-run installation.
Same problem. Create Logs, Version; same problem. I need a better Vista research methodology.

Install ClamWin; same problem.

Sean had the same problem on a client computer today; it seems to be Vista Service Pack 2.

Run as Administrator seems to get it installed.

Well, I spoke too soon:
Begin: ClamWUG.
Error: Scan log file does not exist.
ApplicationData path: C:\Users\dalem\AppData\Roaming
CommonApplicationData path: C:\ProgramData
Running from process C:\Users\dalem\AppData\Local\Apps\2.0\CLWYQ7H5.7DM\BA3G1GQ3.WJH\clam..tion_3196c7efe6411757_0001.0000_6a114bf70901dd6b\ClamWUG.exe.
OS: Microsoft Windows NT 6.0.6001 Service Pack 1
ClamWUG deployment version:
Determine installed ClamWin version:
Versions Min:, Max:
Cleanup and delete C:\Program Files\ClamWin\Versions\clamwin-

Determine on-line ClamWin version.
Online version: 0.93.1.
Download new ClamWin version.
Download: http://cms.MooreWorks.Net/ClamWUG/clamwin-0.93.1-setup.exe
To: clamwin-0.93.1-setup.exe
Successfully Downloaded File "clamwin-0.93.1-setup.exe" from
File saved here: C:\Users\dalem\AppData\Local\Apps\2.0\CLWYQ7H5.7DM\BA3G1GQ3.WJH\clam..tion_3196c7efe6411757_0001.0000_6a114bf70901dd6b
Move clamwin-0.93.1-setup.exe from
C:\Users\dalem\AppData\Local\Apps\2.0\CLWYQ7H5.7DM\BA3G1GQ3.WJH\clam..tion_3196c7efe6411757_0001.0000_6a114bf70901dd6b to
C:\Program Files\ClamWin\Versions\.
Upgrade ClamWin.
Waiting for completion of C:\Program Files\ClamWin\bin\WClose.exe
Done waiting for completion of C:\Program Files\ClamWin\bin\WClose.exe
Warning: new versions of ClamWin are likely to reboot after installation!
Waiting for completion of C:\Program Files\ClamWin\Versions\clamwin-0.93.1-setup
Done waiting for completion of C:\Program Files\ClamWin\Versions\clamwin-0.93.1-
Send status email from MooreWorksService@gMail.Com, to mWorks@MooreWorks.Net.
Attach: C:\Program Files\ClamWin\Logs\08-07-16.Log
LogsClean 10 days cutoff: 7/6/2008 8:07:26 AM

  Stopped working

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: clamwug.exe
  Problem Signature 02:
  Problem Signature 03: 48604145
  Problem Signature 04: mscorlib
  Problem Signature 05:
  Problem Signature 06: 47577b16
  Problem Signature 07: 3404
  Problem Signature 08: d8
  Problem Signature 09: System.IO.FileNotFoundException
  OS Version: 6.0.6001.
  Locale ID: 1033

Read our privacy statement:

Run again, it fails again. Bug fixed where scan has not been run, scan file does not exist and scan file rollover fails.


  1. Run as Administrator to install.
  2. Enable the Administrator user if not already done.
  3. Schedule ClamWUG and ClamScan to run as Administrator and "Run with highest privileges".
  4. Create identifiable username for ClamWUG email then schedule as that user. Set Full permissions for that user in Logs folder.
  5. Logs in 
    1. C:\Program Files\Clamwin\Logs
    2. C:\Documents and Settings\All Users\clamwin\log
    3. C:\.clamwin\log
      And I think there should be some consolidation of these folders and corrections to the installation and execution process.