Using this will waste space because every time you extract the file it will expand to a temp folder
I agree, don't need any more false AV positives. Well, about the "This will waste space because every time you extract the file, it will expand to a temp folder".
True to an extent, that it does expand to the temp dir, but here is where it can also come in handy.
Open CCleaner & save the settings like you want, get all the directories you want to add to your custom delete folder (I hate those sample pics dir, don't you?).
Download winrar + batch icon extractor (the best icon extractor around, along with being simple & free) & install winrar.
Drop CCleaner onto batch icon extractor to get the icon, then navigate to the CCleaner + .ini options file in winrar & add it to a rar file using best compression + solid.
Open the rar file you just made in winrar, then click the SFX button. Set it to open ccleaner.exe, then to extract to a temp dir, & lastly to use the icon you ripped earlier.
Now, why would you do this, you might ask? Simple!
A - Using a single file is much easier than using multiple files, especially on a flash drive where you can then drop the exe files all together instead of multiple folders to contain all the files. It makes for a much cleaner & easier to use flash drive experience.
B - Using a self extractor, this extracts it to the user's local drive to run, instead of the flash drive, which not only saves wear on your flash drive, but runs it faster as well.
C - Prevent the file from accidentally being changed. If you accidentally changed a few options, or clicked where you shouldn't, all you did was change the .ini in the temp dir. Since your file is locked into 1 exe, it will re-load next time you click it, exactly as it was before.
D - Rarring the file makes it much easier to transfer to your email, to download to use on another pc you have. Smaller files work better on the web, & Rar compression in the 3.8 series seems to be at least as deep as 7z under most circumstances, if not tighter at times. Sometimes you 1/2 or 1/3 the size of a file or more, but already compressed files like jpg or mp3 may not work so well to try to trim them further.
E - There may be other formats like Paq that are insanely tight, but they require insane amounts of time & memory to unpack and to pack them compared to 7z or rar. In addition, a third party program may be used to unpack it so you can click it to run it, whereas if you upx the file, or use winrar sfx, you have no problem.
F - The thought behind doing this to a lot of programs, with the exception of files around 30 mb or larger that may take a while to extract, is that you also reduce file fragmentation on a computer, there bye making it a cleaner, leaner running machine with the advantage also of being simpler to search your files if you use an application like locate32 to index & browse lightning fast (find as you type, like in firefox). By having a large part of your files done this way, it also increases how much free space you have left on your flash drive for other things like driver backups with double driver (before you format someone's pc to reinstall windows etc). There is more free space on the local drive as well if you do this to other apps.
Have found I was able to rar abiword from a default install of 20 something mb, to taking out uninst.exe, language strings I didn't need etc, rar into an SFX that I could reduce it to 3.87 mb. Having taken foobar & set the settings to use the same dir as foobar is in, then rarring it to an SFX file, I am confident even if I made changes to the toolbar, or accidently "messed up" the color scheme, whatever, that next time I use it, it will be right back to where I had it set last time.
I do hope that you can see the many advantages of using compressed self extractors now. Did I mention that if you accidentally lose files, that using data recovery is much easier to undelete a single file than trying to piece together 8, 30, or yes, some apps have over 15,000 files & or folders in their app directory! How would you like to try to undelete 15,000 or more individual files & folders, trying to be sure to get them all back in the right order, place, & name, hoping to recover them all?
No thanks! 1 EXE will do it for me, haha!
P.S. I have found that SFX archives created with winrar will also typically clean up after themselves as well. As soon as you close out of the executable you are working with, it auto cleans the temp folder it used.