Jump to content
Piriform Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

For the newly released SnagIt 11.

 

[snagit 11*]
LangSecRef=3024
Detect=HKCU\Software\TechSmith\SnagIt\11
Default=False
Warning=This will delete the backups of the captures that you have performed with SnagIt 11.
FileKey1=%LocalAppData%\TechSmith\Snagit\DataStore|*.sdf
FileKey2=%LocalAppData%\TechSmith\Snagit\DataStore|*.SNAG
FileKey3=%LocalAppData%\TechSmith\Snagit\DataStore|*.SNAGundo
FileKey4=%LocalAppData%\TechSmith\Snagit\DataStore\AppIcons|*.*
FileKey5=%LocalAppData%\TechSmith\Snagit\DataStore\WebSiteIcons|*.*
FileKey6=%LocalAppData%\TechSmith\SnagIt\Thumbnails|*.*

Share this post


Link to post
Share on other sites

2 new entries

 

 

[MS Security Client*]

LangSecRef=3025

DetectFile=%ProgramFiles%\Microsoft Security Client\msseces.exe

Default=False

FileKey1=%ProgramFiles%\Microsoft Security Client\Backup|*.*|RECURSE

 

[Tele2 Mobile Partner*]

LangSecRef=3022

DetectFile=%ProgramFiles%\Tele2 Mobile Partner\Tele2 Mobile Partner.exe

Default=False

FileKey1=%ProgramFiles%\Tele2 Mobile Partner\Log|*.txt

Share this post


Link to post
Share on other sites

Warning=This will delete the backups of the captures that you have performed with SnagIt 10.

 

 

Should this say 11?

Share this post


Link to post
Share on other sites

Modified/New Entries

 

 

[MS Security Client*]

LangSecRef=3025

DetectFile=%ProgramFiles%\Microsoft Security Client\msseces.exe

Default=False

FileKey1=%ProgramFiles%\Microsoft Security Client\Backup|*.*|RECURSE

FileKey2=%CommonAppData%\Microsoft\Microsoft Security Client\Support|*.log

FileKey3=%CommonAppData%\Microsoft\Microsoft Antimalware\Support|*.log

FileKey4=%CommonAppData%\Microsoft\Microsoft Antimalware\Definition Updates\Backup|*.*|RECURSE

 

[Windows Live Messenger More*]

LangSecRef=3022

DetectFile=%ProgramFiles%\Windows live\messenger\msnmsgr.exe

Warning=After running this, you will not be able to uninstall Windows Live Essentials components without downloading the installer again.

Default=False

FileKey1=%LocalAppData%\Microsoft\Messenger|*.uccapilog|RECURSE

FileKey2=%LocalAppData%\Microsoft\Messenger|*.bak|RECURSE

FileKey3=%LocalAppData%\Microsoft\Messenger|*.txt|RECURSE

FileKey4=%LocalAppData%\Microsoft\Windows Live Contacts|*.log|RECURSE

FileKey5=%LocalAppData%\Microsoft\Windows Live Contacts|*.jrs|RECURSE

FileKey6=%LocalAppData%\Microsoft\Windows Live|*.log|RECURSE

FileKey7=%LocalAppData%\Microsoft\Windows Live|*.jrs|RECURSE

FileKey8=%CommonProgramFiles%\Windows Live\.cache|*.*|RECURSE

FileKey9=%LocalLowAppData%\Microsoft\Windows Live\Setup|*.*|REMOVESELF

FileKey10=%LocalAppData%\Microsoft\Windows Live|*.sqm|RECURSE

FileKey11=%LocalAppData%\Microsoft\Windows Live Contacts\*\*\*\Backup|*.*|RECURSE

 

 

New

 

 

[DatacardService*]

LangSecRef=3024

DetectFile=%CommonAppData%\DatacardService\DataCardMonitor.exe

Default=False

FileKey1=%CommonAppData%\DatacardService\log|*.log

Share this post


Link to post
Share on other sites

Just making sure, wasn't sure if Snagit 11 was gonna kill off Snagit 10 stuff or not :)

Share this post


Link to post
Share on other sites

2 entries

 

[.NET Framework Temp*] - i think its named like that, cuz there were Framework files.

LangSecRef=3025

DetectFile=%WinDir%\system32\URTTemp

Default=False

FileKey1=%WinDir%\system32\URTTemp|*.*

 

[Driver Reinstall Backup*]

LangSecRef=3025

DetectFile=%WinDir%\system32\ReinstallBackups

Default=False

FileKey1=%WinDir%\system32\ReinstallBackups|*.*|RECURSE

 

And maybe add something to clean up windows folder in general. maybe something like that

 

[Windows Folder*]

LangSecRef=3025

DetectFile=%WinDir%

Warning=This will remove Logs, Backups and Temporary files from Windows folder

Default=False

FileKey1=%WinDir%|*.log|RECURSE

FileKey2=%WinDir%|*.tmp|RECURSE

FileKey3=%WinDir%|*.bak|RECURSE

 

what do you think, its only proposal :)

Share this post


Link to post
Share on other sites

Hi everyone!

 

Is there any possibility of using a path read from registry to point to a specific directory?

Here is an example of what I have in mind:

[RandomApp*]
LangSecRef=3023
Detect=HKCU\Software\RandomApp
Default=False
RegKey1=HKCU\Software\RandomApp\InstallPath
FileKey1=%RegKey1%\logs|*.*

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Unfortunately, I do not think that's possible, since the RegKey command is just for deletions.

 

That's an interesting concept though, if there were a command like

 

FilePath1=HKCU\Software\RandomApp\InstallPath

 

then set a variable for it, and let us use it like

 

FileKey1=%FilePath1%\Logs|*.*

 

Much like you said.

 

I never really thought about that, but it's definitely an excellent idea.

Share this post


Link to post
Share on other sites

Changed entrie

 

[Windows Live Messenger More*]

LangSecRef=3022

DetectFile=%ProgramFiles%\Windows live\messenger\msnmsgr.exe

Warning=After running this, you will not be able to uninstall Windows Live Essentials components without downloading the installer again.

Default=False

FileKey1=%LocalAppData%\Microsoft\Messenger|*.uccapilog|RECURSE

FileKey2=%LocalAppData%\Microsoft\Messenger|*.bak|RECURSE

FileKey3=%LocalAppData%\Microsoft\Messenger|*.txt|RECURSE

FileKey4=%LocalAppData%\Microsoft\Windows Live Contacts|*.log|RECURSE

FileKey5=%LocalAppData%\Microsoft\Windows Live Contacts|*.jrs|RECURSE

FileKey6=%LocalAppData%\Microsoft\Windows Live|*.log|RECURSE

FileKey7=%LocalAppData%\Microsoft\Windows Live|*.jrs|RECURSE

FileKey8=%CommonProgramFiles%\Windows Live\.cache|*.*|RECURSE

FileKey9=%LocalLowAppData%\Microsoft\Windows Live\Setup|*.*|REMOVESELF

FileKey10=%LocalAppData%\Microsoft\Windows Live|*.sqm|RECURSE

FileKey11=%LocalAppData%\Microsoft\Windows Live Contacts\*\*\*\Backup|*.*|RECURSE

FileKey12=%ProgramFiles%\Windows Live\Messenger|*.bak

 

Description - sometimes there are bak files left from e.g. A-Patch or something like that

 

New Entrie

 

[Google Chrome More*]

LangSecRef=3029

DetectFile=%LocalAppData%\Google\Chrome\Application\chrome.exe

Default=False

FileKey1=%LocalAppData%\Google\Chrome\User Data\Default|Cookies

FileKey2=%LocalAppData%\Google\Chrome\User Data\Default|Favicons

FileKey3=%LocalAppData%\Google\Chrome\User Data\Default|History

FileKey4=%LocalAppData%\Google\Chrome\User Data\Default|Shortcuts

FileKey5=%LocalAppData%\Google\Chrome\User Data\Default|Web Data

 

Description - Maybe its way to clean them together in one line or something, but these are files which arent cleaned by ccleaner, but i think needed/could be cleaned

Share this post


Link to post
Share on other sites

I'm pretty sure CCleaner natively handles cookies and history, etc by Chrome. It does for me, at least.

Share this post


Link to post
Share on other sites

in my case i dont like if after cleaning with ccleaner , those files consist information about pages i have visited (checked these files with notepad) + can save some space again, i know its very tiny difference but still :)

Share this post


Link to post
Share on other sites

Could they be retaining cookie information from websites you have selected to save cookies from?

 

When I went into cookies.dat, all remaining references after cleaning were to websites I have selected CCleaner to leave the cookies from.

Share this post


Link to post
Share on other sites

[Windows Folder*]

LangSecRef=3025

DetectFile=%WinDir%

Warning=This will remove Logs, Backups and Temporary files from Windows folder

Default=False

FileKey1=%WinDir%|*.log|RECURSE

FileKey2=%WinDir%|*.tmp|RECURSE

FileKey3=%WinDir%|*.bak|RECURSE

 

might need to split this up in multiple entries. The CBS logs are already cleaned. and I don't think the .log's in system32/config should be tampered with.

These are what it would clean for me http://pastebin.com/r8t9qA5K

Share this post


Link to post
Share on other sites

Yeah, I think I'd like to stray away from recursively cleaning the windows directory. That can be dangerous

Share this post


Link to post
Share on other sites
in my case i dont like if after cleaning with ccleaner , those files consist information about pages i have visited (checked these files with notepad) + can save some space again, i know its very tiny difference but still :)

 

then you shouldn't be using chrome ;)

Share this post


Link to post
Share on other sites

NEW ENTRY

 

[snagit 11*]

LangSecRef=3024

Detect=HKCU\Software\TechSmith\SnagIt\11

Default=False

FileKey1=%LocalAppData%\TechSmith\Snagit|*.bin

FileKey2=%LocalAppData%\TechSmith\Snagit\DataStore\AppIcons|*.*

FileKey3=%LocalAppData%\TechSmith\Snagit\DataStore\WebSiteIcons|*.*

FileKey4=%LocalAppData%\TechSmith\Snagit\DataStore|*.sdf

FileKey5=%LocalAppData%\TechSmith\Snagit\DataStore|*.SNAG

FileKey6=%LocalAppData%\TechSmith\Snagit\DataStore|*.SNAGundo

FileKey7=%LocalAppData%\TechSmith\SnagIt\Thumbnails|*.*

Share this post


Link to post
Share on other sites

I looked at this entry closer and I see no such folder in my windows folder including when looking for a hidden or protected folder. What version of Windows was this tested on?. Just one thing also are you positive this is for the . NET Framework as that name for a temp folder could be for a lot of uses?

 

I also think it would be helpful if when we create new links if is at all possible for a program find the appropriate registry key instead searching the hard drive. It also helps if your aiming your cleaning at a specific version as sometimes programs do store version nunbers in the registry as well. CCleaner has no way to get this off the .exe

[.NET Framework Temp*] - i think its named like that, cuz there were Framework files.

LangSecRef=3025

DetectFile=%WinDir%\system32\URTTemp

Default=False

FileKey1=%WinDir%\system32\URTTemp|*.*

Share this post


Link to post
Share on other sites

New Entry

I found an forum on Microsoft recommending this cache can be deleted. It apparently can also be disabled in a system policy. Here are two articles describing the cleaning both say under NO circumstances should you attempt to clean the Installer directory!! Only the Patch Cache. I also verified that this did not cause any issues with updating and new folders are recreated by the Windows Installer. I saved over a 1 GB by clearing this folder.

 

http://blogs.msdn.co...oft-update.aspx

http://social.techne...ec-3a7f389d1c4c

 

 

[Windows Installer Patch Cache *]

LangSecRef=3025

Detect=HKLM\SOFTWARE\Microsoft\Windows

Default=False

FileKey1=%WinDir%\Installer\$PatchCache$|*.*|RECURSE

Share this post


Link to post
Share on other sites

Im using Windows XP Professional 32bit, im not very sure but google says me so, that this is about .NET FrameWork folder. The registry case is better one i know but, unfortunately i dont know much about registry and do not want to touch it, so i have to leave it to you

:)

Share this post


Link to post
Share on other sites

New Entry

I found an forum on Microsoft recommending this cache can be deleted. It apparently can also be disabled in a system policy. Here are two articles describing the cleaning both say under NO circumstances should you attempt to clean the Installer directory!! Only the Patch Cache. I also verified that this did not cause any issues with updating and new folders are recreated by the Windows Installer. I saved over a 1 GB by clearing this folder.

 

http://blogs.msdn.co...oft-update.aspx

http://social.techne...ec-3a7f389d1c4c

 

 

[Windows Installer Patch Cache *]

LangSecRef=3025

Detect=HKLM\SOFTWARE\Microsoft\Windows

Default=False

FileKey1=%WinDir%\Installer\$PatchCache$|*.*|RECURSE

 

This statement makes me a bit apprehensive as to whether $PatchCache$ should be removed.

You may also delete the Windows Installer baseline cache. These files are useful to help eliminate prompts for source when uninstalling patches, and even sometimes when installing certain types of patches. By deleting these files, if you are prompted for source you may need to insert your original installation media, or download and extract previously downloaded installations.

 

If it does get added to WinApp2.ini, a warning message should be included in the code.

Share this post


Link to post
Share on other sites

If you guys want it added, I will add it. If it seems too dangerous, I wont. Warning included if it is added, of course :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×