Jump to content


If you customize CCleaner read this


2 replies to this topic

#1 OFFLINE   Andavari

    Captain Spectacular

  • Moderators
  • 13,328 posts
  • Gender:Male
  • Location:Shadow Moses

Posted 06 August 2005 - 01:52 AM

For people customizing CCleaner via winapp2.ini who have had CCleaner crash this is a possibility that I stumbled upon today purely by accident.

You add a program to winapp2.ini that has the parameters inputted incorrect, example:
[RAV AntiVirus Online Virus Scan (Log)]
LangSecRef=3024
DetectFile=%windir%\Downloaded Program Files\rave\avirexe.vdm
Default=True
FileKey1=%windir%\Downloaded Program Files\update.log

Notice that FileKey1= is using an incorrect path variable "\" that CCleaner doesn't support for files, this will resort into a crash dialog when running Analyze, or Run Cleaner:
Posted Image

This is the correction:
[RAV AntiVirus Online Virus Scan (Log)]
LangSecRef=3024
DetectFile=%windir%\Downloaded Program Files\rave\avirexe.vdm
Default=True
FileKey1=%windir%\Downloaded Program Files|update.log

Notice that FileKey1= is using the correct variable "|" that CCleaner supports.
Complexity of incoherent design.

#2 OFFLINE   MrG

    Administrator

  • Admin
  • 1,105 posts
  • Gender:Male
  • Location:London, UK

Posted 06 August 2005 - 07:35 AM

I'm planning on putting in better error support for this so that it will tell you on which line there's a problem. Rather than crashing :)

#3 OFFLINE   Andavari

    Captain Spectacular

  • Moderators
  • 13,328 posts
  • Gender:Male
  • Location:Shadow Moses

Posted 06 August 2005 - 06:34 PM

MrG, on Aug 6 2005, 02:35 AM, said:

I'm planning on putting in better error support for this so that it will tell you on which line there's a problem. Rather than crashing :)

<{POST_SNAPBACK}>

That sounds like a very good ideal. Thank you MrG!
Complexity of incoherent design.