mooms Posted January 3, 2014 Share Posted January 3, 2014 How to use: Run CCleaner_Maker.cmd and the maker will download the slim installer (or Standard if Slim is not found) of CCleaner and create a silent installer with commands to install it in the language of the operating system (and an AddOn for RVMi/nLite if you want) in the output folder: Features of the installer & AddOn: - Stock installer repacked with commands to make it silent. - AddOn compatible with nLite and RVMi. - SFX compatible with WinToolkit and RVMi. - Compatible from XP to 10 32/64 bits. - Detect your language and configure CCleaner automatically. - You can choose to keep or delete Desktop Icon (see Readme). - Automatically delete all autoupdate/autostart & data sharing "features" (can be configured) If you put the file "ccleaner.reg" in the ccsetup folder, it will be run automatically by the setup. Currently it disable the check of newer version of CCleaner and disable autostart and system monitoring. You can add any tweaks you want. Because the slim installer is available a week or two after the release of a new CCleaner version, the script will first try to download Slim, then if it's not available, it will try to download Standard version instead. You can also manually download the (slim or standard) installer and put it in ccsetup folder, when the script will ask for. Size: 2.17 MB SHA-1: ee713e98c6d5f08c1a9a7a663a1bdf8ab54243cb CCleaner_maker_3.7.1.7z hamzaaan and filter 1 1 Quote Link to comment Share on other sites More sharing options...
mooms Posted January 12, 2014 Author Share Posted January 12, 2014 New version: added the possibility to import reg tweaks and added a readme file. Quote Link to comment Share on other sites More sharing options...
oguz Posted January 13, 2014 Share Posted January 13, 2014 Great work, thank you @mooms :prop: Quote Link to comment Share on other sites More sharing options...
hamzaaan Posted January 19, 2014 Share Posted January 19, 2014 thank you for all your job's Quote Link to comment Share on other sites More sharing options...
hamzaaan Posted May 28, 2014 Share Posted May 28, 2014 how work for version pro?&how can add serial from reg file? thank you im sorry for my bad englich Quote Link to comment Share on other sites More sharing options...
mooms Posted May 28, 2014 Author Share Posted May 28, 2014 Sorry, not designed for CCleaner Pro, you have to modify yourself the maker as I don't have a pro version. hamzaaan 1 Quote Link to comment Share on other sites More sharing options...
hamzaaan Posted May 28, 2014 Share Posted May 28, 2014 Sorry, not designed for CCleaner Pro, you have to modify yourself the maker as I don't have a pro version.OK sirthank you Quote Link to comment Share on other sites More sharing options...
mooms Posted December 31, 2014 Author Share Posted December 31, 2014 Updated for CCleaner 5 Hamzaan and hamzaaan 2 Quote Link to comment Share on other sites More sharing options...
jojo2010 Posted April 27, 2016 Share Posted April 27, 2016 Bad News mooms, your Script is no longer working. There `s only a Standart and Portable Version only, no more Slim Versions. Please, Update your Script. Thank you, for sharing your hard work. Jo Quote Link to comment Share on other sites More sharing options...
mooms Posted April 27, 2016 Author Share Posted April 27, 2016 Short answer: You can use the local version of the script with the standard setup of ccleaner. Long answer: Unlike the slim version, the standard version download url is dynamic, and thus can't be easily downloaded with wget, we must first use curl and I don't have the knowledge. If someone with knowledge of curl is reading this, maybe he can create a code to parse this url https://www.piriform.com/ccleaner/download/standard Quote Link to comment Share on other sites More sharing options...
mooms Posted April 29, 2016 Author Share Posted April 29, 2016 CCleaner Slim 5.17 is available, the maker works well. Quote Link to comment Share on other sites More sharing options...
mooms Posted July 21, 2017 Author Share Posted July 21, 2017 Major update: - The script is now able to download both Slim & Standard versions (it will always try to download Slim first ). - Added an option to keep the Desktop icon (deleted by default, see Readme). - nLite/RVMi AddOn will not be created by default anymore (see Readme). - If the script can't download any versions, it will ask you to put the setup in "ccsetup" folder (offline mode). hamzaaan and filter 2 Quote Link to comment Share on other sites More sharing options...
filter Posted January 27, 2018 Share Posted January 27, 2018 I think Ccleaner slim have change download link. the maker cant download it. Version 5.39 is out Quote Link to comment Share on other sites More sharing options...
rhahgleuhargh Posted January 27, 2018 Share Posted January 27, 2018 Hello, Confirmed. The link is now "http://www.ccleaner.com/ccleaner/download/slim/downloadfile" instead of "http://www.piriform.com/ccleaner/download/slim/downloadfile". @filter Just edit the maker with the new link and it will work again. Quote Link to comment Share on other sites More sharing options...
mooms Posted January 27, 2018 Author Share Posted January 27, 2018 Version 3.1 is out: Updated the download urls (changed from piriform.com to ccleaner.com). filter 1 Quote Link to comment Share on other sites More sharing options...
mooms Posted March 5, 2018 Author Share Posted March 5, 2018 Version 3.2 is out: The reg file was forgotten in v3.1 Quote Link to comment Share on other sites More sharing options...
mooms Posted March 13, 2018 Author Share Posted March 13, 2018 ccleaner.com now serves the download in HTTPS (at least the standard version though), so I switched to curl. Since I can't test curl with slim download yet, a version 3.4 is likely to be released in a week or two if slim setup can't be downloaded with v3.3. Version 3.3 is out: Replaced wget by curl. Quote Link to comment Share on other sites More sharing options...
mooms Posted June 3, 2018 Author Share Posted June 3, 2018 Version 3.4 is out: Added entry in the reg file to disable data sharing with 3rd parties for analytics Updated 7zip sfx and executable Optimization of the script Quote Link to comment Share on other sites More sharing options...
mooms Posted September 8, 2018 Author Share Posted September 8, 2018 Version 3.5 is out: Now the script will automatically disable all autostart and autoupdate features, disable data sharing with third parties automatically, and delete scheduled task of CCUpdate Added secondary URLs for Slim and Standard editions Quote Link to comment Share on other sites More sharing options...
mooms Posted October 25, 2018 Author Share Posted October 25, 2018 Version 3.6 is out: Updated the download URL and the method to get it Updated CURL Quote Link to comment Share on other sites More sharing options...
mooms Posted November 30, 2018 Author Share Posted November 30, 2018 Version 3.7 is out: Added two new registry keys for disabling autoupdate. Added movefile.exe from Sysinternals to delete CCupdate.exe at next reboot (can't be deleted from the sfx temp folder). I recommended to block CCleaner(64).exe in your firewall. Quote Link to comment Share on other sites More sharing options...
mooms Posted December 1, 2018 Author Share Posted December 1, 2018 Version 3.7.1 is out, corrected a typo. filter 1 Quote Link to comment Share on other sites More sharing options...
rhahgleuhargh Posted September 29, 2019 Share Posted September 29, 2019 Hello mooms, I encounter a little bug with the ccleaner sfx in Windows 10 : the installer doesn't seem to recognize the OS language so it's installed in english. I tried via setupcomplete.cmd, FirstLogon.cmd, and the result is the same. When installed once desktop is ready, no problem. Modifying the .cfg file forcing installation in french and/or forcing french language in the .reg file don't work too. It's not a big problem since language can be changed via the program interface, but it needs a manual correction and I prefer a full automatic install. I didn't have this bug with Windows 7. Another question : is there a tweak to remove CCleaner from recycle bin context-menu at installation ? Quote Link to comment Share on other sites More sharing options...
mooms Posted September 29, 2019 Author Share Posted September 29, 2019 https://www.ccleaner.com/docs/ccleaner/advanced-usage/command-line-parameters CCleaner needs to be installed with the correct locale ID value (1036 for French), the command line used in the maker works even at T-13 on Windows XP, so I have no idea why it is not working on Windows 10. A quick fix that should works: Open the file ccleaner.cfg in the bin folder, and replace the line RunProgram="hidcon:cmd /c \"FOR /f \"tokens=2*\" %G IN ('reg query \"hklm\\system\\controlset001\\control\\nls\\language\" /v Installlanguage 2^>NUL ^| FIND \"REG_SZ\"') DO SET /a \"_lcid=0x%H\" & CALL ccsetup.exe /S /L=%_lcid%\" >NUL 2>&1" With RunProgram="ccsetup.exe /S /L=1036" If you've already tried this command line, then the problem lies with the CCleaner setup itself, and you should ask Piriform: https://forum.piriform.com/ For the Recycle bin, I don't think it is possible. Quote Link to comment Share on other sites More sharing options...
rhahgleuhargh Posted September 30, 2019 Share Posted September 30, 2019 Yes, that's what I did, and no way. Even settings in reg.file are not applied ! I tried both setupcomplete.cmd and firstlogon.cmd It's as it was too early to install the program during these steps. I didn't tried with WTK installer but I think it's equivalent to setupcomplete stage. No matters ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.