Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

NEW ENTRY

 

[CyberLink PhotoDirector 4*]

LangSecRef=3023

Detect1=HKLM\SOFTWARE\CyberLink\PhotoDirector4

Detect2=HKLM\SOFTWARE\Wow6432Node\CyberLink\PhotoDirector4

Default=False

FileKey1=%CommonAppData%\CyberLink\Downloader|*.*

FileKey2=%Pictures%\PhotoDirector\4.0\*|*.*|RECURSE

ExcludeKey1=FILE|%Pictures%\PhotoDirector\4.0\*|*.phd

Share this post


Link to post
Share on other sites

are %commonappdata% and %pictures% something special that winapp2.ini can handle or are they new system variable I'm not familar with?

Share this post


Link to post
Share on other sites

They're built into ccleaner

 

CommonAppData points to \all users\application data and \program data\

pictures points to my pictures

Share this post


Link to post
Share on other sites

NEW ENTRY

 

[MAGIX Video Pro X4*]

LangSecRef=3023

Detect=HKCU\Software\MAGIX AG\Videodeluxe18_pro

Default=False

FileKey1=%Documents%\MAGIX\Video_Pro_X4\AudioTemp|*.*|RECURSE

Share this post


Link to post
Share on other sites

NEW

[captcha brotherhood*]
LangSecRef=3024
DetectFile=%LocalAppData%\Captcha_Brotherhood
Default=False
FileKey1=%LocalAppData%\Captcha_Brotherhood|solver_logFile.txt

PS: No option to add portable programs like Cryptload?

Share this post


Link to post
Share on other sites

as portable can be found anywhere and (usually) have no registry keys, it is not possible to create general public cleaning rules for portable programs. As my portable drive is always the same letter on my computer I can run my own portable app cleaning, however my rules wouldn't work for you.

Share this post


Link to post
Share on other sites

Though we can make rules for the default installation, and you can create a symlink to the portable one. :) That's what I do for several things on my system, namely Steam and Origin

Share this post


Link to post
Share on other sites

PortableApps.com software installed in the default location "C:\PortableApps" is what I'd call feasible to make cleaners for. As long as it's on drive C: it can be detected using DetectFile.

Share this post


Link to post
Share on other sites

Would it be safe to assume it defaults to %SystemDrive%? I always run my system on C, so I wouldn't be able to check.

Share this post


Link to post
Share on other sites

PortableApps installer defaulting to it? I really don't know if they're using some variable to find the OS drive, or if it's just some bog standard assume it's drive C.

Share this post


Link to post
Share on other sites

I see no harm in making filekeys/regkeys for C:\, though it's different from the rest of the file format. :)

Share this post


Link to post
Share on other sites

note there's a great difference between "portable programs" and "portableapps" (besides that one of them is a brand name ;) ) Most applications from PortableApps (John Haller) cleanup after themselves after Exit (and keep the data in the application's folder)

as far as PortableApps programs Portable Firefox and Portable Chrome, there is a solution in custom location. As I said, any other portable programs would depend on the user. Yes most portable programs have an installed version, and thus could be converted within a personal winapp2, for PortableApps most already have entries and (until custom location is universal) can be made by a users via ccleaner's export command. Imho inclusion of PA should not happen unless there's no corresponding internal clean

Share this post


Link to post
Share on other sites

They're built into ccleaner

 

CommonAppData points to \all users\application data and \program data\

pictures points to my pictures

 

any chance the first post in this thread can be updated to include all the environment variables CCleaner recognises?

Share this post


Link to post
Share on other sites

any chance the first post in this thread can be updated to include all the environment variables CCleaner recognises?

 

Sure thing. Give me a minute.

 

I've added a few more of the CCleaner specific ones, I think I've got them all in there now.

Share this post


Link to post
Share on other sites

Great, got them, thanks for that.

Share this post


Link to post
Share on other sites

Should that possibly be renamed, since it's also for FileKey?

 

From:

DetectFile paths

 

To:

DetectFile and FileKey paths

 

--------------------

 

 

Edit:

 

These are missing from it, that is if CCleaner supports them:

%SystemDirectory%

%SystemDirectory32%

%SystemDirectory64%

 

 

%RootDir%

Does this still work? If so it's identical to %HomeDrive% and %SystemDrive%

 

--------------------

 

One question:

 

Is it: %Videos% (plural), or %Video% ?

Edited by Andavari

Share this post


Link to post
Share on other sites

is it Pictures or Picture then? D:

 

I'll fix the first post after class.

Share this post


Link to post
Share on other sites

NEW

[phase-6 logs*]
LangSecRef=3021
DetectFile=%UserProfile%\.phase-6
Default=False
FileKey1=%UserProfile%\.phase-6\logs|phase-6.log|REMOVESELF

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...