Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

Thanks...heres one

 

Resource Hacker (setup) the .GID file is created if you launch the HLP file

 

[Resource Hacker*]
LangSecRef=3024
DetectFile="%ProgramFiles%\Resource Hacker\ResHacker.exe"
Default=False
FileKey1=%ProgramFiles%\Resource Hacker|ResHacker.ini
FileKey2=%ProgramFiles%\Resource Hacker|reshacker.GID

Share this post


Link to post
Share on other sites

ok have a question,,

i use sandboxie and ie8,after downloading latest winapi

i saw in ccleaner another option in applications section-internet explorer more*

i check,,clean everything and open ie8,it idn't connect to the net,and then got a popout from

sandboxie SBIE1308 program verclsid.exe cannot start due to restrictions"

 

now when untickin this"internet explorer more...i get connection to the net..but the nag remain

i have to close SB.

and everytime i open ie8 i get this nag from SB...

 

Still having the same problem with this new file

Share this post


Link to post
Share on other sites

What exactly gets cleaned with "Windows System Profile?" Are they all temp files?

 

Also, what about the "Cached Fonts" and "Cached DGI+Fonts?"

Share this post


Link to post
Share on other sites

To TOM AZ : Just right click on each opf the ones you mentioned and select Analyze - that will show you what is deleted.

 

To winapp2.ini: I see several occurnaces of the full pathnames like c:\documents and settings\all users\application data\ - be nice to globally change that to %allusersprofile%\application data\ and similar for the ones that have %whatever% appreviations. The following entry needs to be changed for Multi-Edit 2008 11.04 that I submitted a few weeks ago.

 

[Multi-Edit 2008 11.04*]

LangSecref=3021

Detect=HKCU\Software\Multi Edit Software\Multi-Edit\11.0

Default=False

FileKey1=%appdata%\Multi Edit Software\Multi-Edit\11\Config.04\Tmp|*.*

 

Is there a way toi remove all the registry entries under HKCU\Software\Piriform\CCleaner that start with "(app)" ?? - it would be helpful when there is a winapp2.ini entry that is renamed so the old name is not needed any more.

Share this post


Link to post
Share on other sites

Ah.. I don't know. You could delete them all I suppose but that'd delete your current CCleaner settings. The same issue is in CCleaner.ini whereby old entries remain with their options.

Share this post


Link to post
Share on other sites

Some programs leave Temp files, Temporary Internet files or cookies in Windows System Profile also.

 

Windows system stores caches of fonts and GDI+ fonts installed in the system. By deleting and wiping these caches, you do not remove the fonts or GDI+ fonts, only their cached copies.

 

 

 

What exactly gets cleaned with "Windows System Profile?" Are they all temp files?

 

Also, what about the "Cached Fonts" and "Cached DGI+Fonts?"

Share this post


Link to post
Share on other sites

NEW ENTRY

 

Some applications contain the Qt modules, the paths to which can be left in system after removing these applications.

 

[stored Qt Modules Paths*]

LangSecRef=3021

Detect=HKCU\Software\Trolltech

Default=False

RegKey1=HKCU\Software\Trolltech

Share this post


Link to post
Share on other sites

Remote Desktop Connection (more cleaning entries)

 

http://support.microsoft.com/kb/312169

 

rdcmru.th.png

 

[Remote Desktop Connection*]
LangSecRef=3025
DetectFile=%WinDir%\System32\mstsc.exe
Default=False
FileKey1=%Documents%|*.rdp
RegKey1=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU0
RegKey2=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU1
RegKey3=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU2
RegKey4=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU3
RegKey5=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU4
RegKey6=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU5
RegKey7=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU6
RegKey8=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU7
RegKey9=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU8
RegKey10=HKCU\Software\Microsoft\Terminal Server Client\Default|MRU9

 

I extracted the VBS from the MSI "Fix it" installer, this is what it does/looks like

 

Option Explicit
On Error Resume Next

Const HKEY_CURRENT_USER  = &H80000001
Const strKeyPath = "Software\Microsoft\Terminal Server Client\Default"
Const strComputer = "."
Const REG_SZ = 1

Dim objReg , arrValueNames , arrValueTypes
Dim i
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
objReg.EnumValues HKEY_CURRENT_USER, strKeyPath , arrValueNames, arrValueTypes

If Not IsNull(arrValueNames) Then  
For i=0 To UBound(arrValueNames)
	If arrValueTypes(i) = REG_SZ And InStr(arrValueNames(i),"MRU") = 1 Then 
    	objReg.DeleteValue HKEY_CURRENT_USER,strKeyPath,arrValueNames(i)
    End If
Next
End If

Dim objShell : Set objShell = CreateObject("WScript.Shell")
Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject")
Dim strPathDefault
strPathDefault = objShell.ExpandEnvironmentStrings("%USERPROFILE%")

If Not IsNull(strPathDefault) Then 

If objFSO.FileExists(strPathDefault & "\Documents\Default.rdp") Then 
	objFSO.DeleteFile(strPathDefault & "\Documents\Default.rdp")
End If

If objFSO.FileExists(strPathDefault & "\My Documents\Default.rdp") Then 
	objFSO.DeleteFile(strPathDefault & "\My Documents\Default.rdp")
End If
End If

Function MyVBScriptCA()
   If (Err.Number=0) Then
       'return success
       MyVBScriptCA = 1
   Else
       'return cancel
       MyVBScriptCA = 2
   End If
End Function

Share this post


Link to post
Share on other sites

I'd like to push the next version out on June 7th, so as per your requests I'm letting you all know :)

Share this post


Link to post
Share on other sites
[Microsoft Security Essentials*]
LangSecRef=3024
DetectFile=%ProgramData%\Microsoft\Microsoft Antimalware
Default=False
FileKey1=%ProgramData%\Microsoft\Microsoft Antimalware\LocalCopy|*.*|RECURSE

Share this post


Link to post
Share on other sites

Anyway of NOT deleting the .INI file to preserve settings, only editing it to remove MRU stuff example

 

UniExtract.ini

[uniExtract Preferences]
globalprefs=1
history=1
appendext=1
removetemp=1
removedupe=1
warnexecute=1
debugdir=%temp%
[File History]
0=C:\Users\Ricardo\Desktop\wpi.msi
3=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.1.1014_PV.exe
5=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1008_PV.exe
6=C:\Users\Ricardo\Downloads\wintv7setup.exe
7=C:\Users\Ricardo\Documents\Projects\dotNETMaker\dotNETfx\DNF11\netfx.msi
8=C:\Users\Ricardo\Desktop\Seven Remix XP 2.41.exe
9=C:\Users\Ricardo\Downloads\EP0000156866.exe
2=F:\Microsoft\Drivers\Se7en\INF_allOS_9.2.0.1021_PV.exe
1=F:\wpi\Install\SkypeSetup.msi
4=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1007_PV.exe
[Directory History]
0=C:\Users\Ricardo\Desktop\wpi
3=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.1.1014_PV
5=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1008_PV
6=C:\Users\Ricardo\Downloads\wintv7setup
7=C:\Users\Ricardo\Documents\Projects\dotNETMaker\dotNETfx\DNF11\netfx
8=C:\Users\Ricardo\Desktop\Seven Remix XP 2.41
9=C:\Users\Ricardo\Downloads\EP0000156866
2=F:\Microsoft\Drivers\Se7en\INF_allOS_9.2.0.1021_PV
1=F:\wpi\Install\SkypeSetup
4=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1007_PV

 

Code could go something like

 

[universal Extractor*]
LangSecRef=3021
DetectFile=%ProgramFiles%\Universal Extractor\UniExtract.exe
Default=False
; This will delete all that is present under a ini section
FileKey1=%ProgramFiles%\Universal Extractor|UniExtract.ini|File History,*
; This will delete only a specified value (8=*)
FileKey2=%ProgramFiles%\Universal Extractor|UniExtract.ini|Directory History,8

 

Its just a rough example to show you what I mean, you guys may know better how to code winapp2.ini

 

 

We are working on adding support to clean various types of document/content. INI files will be one of them! Coming soon! :)

Any progress on this front?

Share this post


Link to post
Share on other sites

It hasn't been mentioned again. :(

 

I'm still hoping one day that there will be wildcard folder support.

 

Maybe one day.. :)

 

 

Share this post


Link to post
Share on other sites

I was referring to editing INI files [sections]

 

Now that you mention it wildcard registry support would also be nice (like in the case of the MRU* I found/added to Remote Desktop Connection)

Share this post


Link to post
Share on other sites

It'd be great if all of these things could be added, it'd really boost up the strength and capabilities of CCleaner.

Share this post


Link to post
Share on other sites

Is this missing a backslash after %CommonAppData%?

 

[AOL 9.6*]
Default=False
DetectFile=%CommonAppData%AOL\C_AOL Desktop 9.6
LangSecRef=3022
FileKey1=%CommonAppData%AOL\C_AOL Desktop 9.6\spool|*.tmp
FileKey2=%CommonAppData%AOL\C_AOL Desktop 9.6\bart|*.*|RECURSE

 

BTW I just checked in official CCleaner INI and the new registry entries I added to Remote Desktop Connection are not needed :rolleyes:

 

[Remote Desktop]

ID=2063

LangSecRef=3025

Detect=HKCU\Software\Microsoft\Terminal Server Client

Default=True

FileKey1=%localappdata%\Microsoft\Terminal Server Client\Cache|*.*

RegKey1=HKCU\Software\Microsoft\Terminal Server Client\Default

ExcludeKey1=REG|HKCU\Software\Microsoft\Terminal Server Client\Default\AddIns

Share this post


Link to post
Share on other sites

[AOL 9.6*]

Default=False

DetectFile=%CommonAppData%AOL\C_AOL Desktop 9.6

LangSecRef=3022

FileKey1=%CommonAppData%AOL\C_AOL Desktop 9.6\spool|*.tmp

FileKey2=%CommonAppData%AOL\C_AOL Desktop 9.6\bart|*.*|RECURSE

 

should be

 

[AOL 9.6*]

Default=False

DetectFile=%CommonAppData%\AOL\C_AOL Desktop 9.6

LangSecRef=3022

FileKey1=%CommonAppData%\AOL\C_AOL Desktop 9.6\spool|*.tmp

FileKey2=%CommonAppData%\AOL\C_AOL Desktop 9.6\bart|*.*|RECURSE

Share this post


Link to post
Share on other sites

Star Trek Online ( http://www.startrekonline.com/ )

 

Install location can be determined by reading

 

[HKEY_CURRENT_USER\Software\Cryptic\Star Trek Online]

"InstallLocation"="c:\\program files (x86)\\steam\\steamapps\\common\\star trek online" (as an example)

 

I will use (installdir) to reference the path from the registry key above.

 

You can safely erase the files located in the following locations:

 

(installdir)\Star Trek Online\Live\cache (to be clear, this would be c:\program files (x86)\steam\steamapps\common\star trek online\Star Trek Online\Live\cache)

(installdir)\Star Trek Online\PlayTest\cache

(I suggest a checkbox for "Star Trek Online Cache")

 

(installdir)\Star Trek Online\Live\logs\GameClient

(installdir)\Star Trek Online\Playtest\logs\GameClient

(I suggest a checkbox for "Star Trek Online Logs")

 

Clearing these directories can easily free up 25-50 MB or more of space. The game will simply regenerate the files as needed, so they are perfectly safe to erase.

 

EDIT: Note: For users not using Steam, the game installation path is "c:\users\public\games\cryptic studios\Star Trek Online" instead.

Share this post


Link to post
Share on other sites

Will this work?

 

[star Trek Online Cache*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Steam\Steamapps\common\Star Trek Online
Default=False
FileKey1=%ProgramFiles%\Steam\Steamapps\Common\Star Trek Online\Live\Cache|*.*
FileKey2=%ProgramFiles%\Steam\Steamapps\Common\Star Trek Online\PlayTest\Cache|*.*

[star Trek Online Logs*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Steam\Steamapps\common\Star Trek Online
Default=False
FileKey1=%ProgramFiles%\Steam\Steamapps\Common\Star Trek Online\Live\Logs\GameClient|*.*
FileKey2=%ProgramFiles%\Steam\Steamapps\Common\Star Trek Online\Playtest\Logs\GameClient|*.*

Share this post


Link to post
Share on other sites

CORRECTED ENTRIES

 

I have added the Detect paths.

 

[MS Clip Organizer*]

LangSecRef=3021

DetectFile=%AppData%\Microsoft\Clip Organizer

Default=False

FileKey1=%AppData%\Microsoft\Clip Organizer|mstore14.mgc

 

[MS Management Console More*]

LangSecRef=3025

DetectFile=%AppData%\Microsoft\MMC

Default=False

FileKey1=%AppData%\Microsoft\MMC|*.*

 

[MS Office Saved CEIP data*]

LangSecRef=3021

DetectFile=%AppData%\Microsoft\UProof

Default=False

FileKey1=%AppData%\Microsoft\UProof|*.bin

FileKey2=%AppData%\Microsoft\UProof|*.DIC

FileKey3=%AppData%\Microsoft\UProof|*.XML

 

[MS Office UnsavedFiles*]

LangSecRef=3021

DetectFile=%LocalAppData%\Microsoft\Office\UnsavedFiles

Default=False

FileKey1=%LocalAppData%\Microsoft\Office\UnsavedFiles|*.*

 

[MS UserScanProfiles*]

LangSecRef=3025

DetectFile=%LocalAppData%\Microsoft\UserScanProfiles

Default=False

FileKey1=%LocalAppData%\Microsoft\UserScanProfiles|*.*

Share this post


Link to post
Share on other sites

NEW ENTRY

 

Lotus Notes Cache: If deleted the software starts faster. No disadvantage in program usage.

It works with Lotus Notes 7 - 8.5

 

[Lotus Notes Cache]
LangSecRef=3021
DetectFile=%ProgramFiles%\IBM\Lotus\Notes\Data\Cache.NDK
Default=False
FileKey1=%ProgramFiles%\IBM\Lotus\Notes\Data|Cache.NDK

Share this post


Link to post
Share on other sites

This will add support for Champions Online: http://www.champions-online.com/

 

[Champions Online Cache*]

LangSecRef=3022

DetectFile=%ProgramFiles%\Steam\Steamapps\common\Champions Online

Default=False

FileKey1=%ProgramFiles%\Steam\Steamapps\Common\Champions Online\Live\Cache|*.*

FileKey2=%ProgramFiles%\Steam\Steamapps\Common\Champions Online\PlayTest\Cache|*.*

[Champions Online Logs*]

LangSecRef=3022

DetectFile=%ProgramFiles%\Steam\Steamapps\common\Champions Online

Default=False

FileKey1=%ProgramFiles%\Steam\Steamapps\Common\Champions Online\Live\Logs\GameClient|*.*

FileKey2=%ProgramFiles%\Steam\Steamapps\Common\Champions Online\Playtest\Logs\GameClient|*.*

 

EDIT: Note: For users not using Steam, the game installation path is "c:\users\public\games\cryptic studios\Champions Online" instead.

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...