5.92 portable broken [download 5.91 from website]

Portable does indeed create registry entries.

HKEY_CURRENT_USER\Software\Piriform\CCleaner


HKEY_LOCAL_MACHINE\SOFTWARE\Piriform\CCleaner




I deleted both keys previously.


Then I ran Portable 5.92 with a Clean and Registry scan.


After doing so, both the above keys are again created.


42 values are created below as (Cfg)xxxx all are REG_SZ type.


These appear to be the same found in the portable INI.

10 hours ago, lmacri said:
<div class="ipsQuote_contents">
	<p>
		Hi nima:
	</p>

	<p>
		Just an FYI that I was able to restore the non-English languages in CCleaner Free Portable v5.92 by moving the .exe executable (either CCleaner.exe from the \x86 subfolder and/or CCleaner64.exe from the \x64 subfolder) into the correct "root" folder where the portable.dat file and \lang subfolder are located.  See the images in my 13-Apr-2022 post in mogli's bug report at <span><span><em><a href="<___base_url___>/topic/62829-592-portable-broken/?do=findComment&amp;comment=336341" rel="">5.92 Portable Broken</a></em>.</span></span>
	</p>
</div>

THANKS, yes, this did the trick. Funny, I tried it the other way round, copying the ini from the old version into the 64 subfolder, but this didn't do the trick.

On 04/06/2022 at 16:29, bgavin said:
<div class="ipsQuote_contents ipsClearfix" data-gramm="false">
	<p>
		Portable does indeed create registry entries.




		HKEY_CURRENT_USER\Software\Piriform\CCleaner


		HKEY_LOCAL_MACHINE\SOFTWARE\Piriform\CCleaner
	</p>
</div>

Where you unzipped CCleaner Portable make sure the portable.dat file is in the same folder as CCleaner.exe and CCleaner64.exe, it's required so it knows to not create registry data.

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

If you don't have portable.dat in that folder:

1. Manually create it in Notepad by copying+pasting this into an empty Notepad window:

#PORTABLE#

2. In Notepad save to the folder where CCleaner.exe and CCleaner64.exe are located, it's required to use quotes around the file name so Notepad doesn't create a text document, save as example:

“C:\CCleaner Free Portable\portable.dat”

Your suggestion above is the not directory structure in the ZIP file.

Unzipping to a parent directory, this top level directory holds the portable.dat file, and the child \x64, \x86 and \lang directories.


If one assumes to run either X86 or X64 from the unzipped structure, one has to assume the EXE will search for ..\ for portable.dat and the lang directory.




If the developer intended for the user to tweak the unzipped directory structure, I would be surprised.


As this would require the end user be smart enough to shift the directory structure around to something different than when it unzipped.




As a developer, I would be searching in the startup directory first, then ..\ for portable.dat and any required ..\lang files.

2 hours ago, Andavari said:
<div class="ipsQuote_contents">
	<p>
		Where you unzipped CCleaner Portable make sure the <strong>portable.dat</strong> file is in the same folder as CCleaner.exe and CCleaner64.exe, it's required so it knows to not create registry data...
	</p>
</div>

Hi Andavari:

My image below shows the three other files [ccleaner.ini, portable.dat and License.txt (optional)] I normally keep in the same folder as my CCleaner64.exe executable. I do not have a system with a 32-bit OS so I don't need the CCleaner.exe executable, and I use the English interface so I do not need the \lang subfolder in that same location. Note that I only use the Custom Clean feature and don't want to use Health Check, Software Updater, Performance Optimizer, or any of the other bloat that's been added to recent versions of CCleaner.

1742965_CCleaner5_92ThreeEssentialFilesforPortableVersion14May2022.png.6ed56e881e8b2380664b934e322a9bed.png

As bgavin pointed out, unlike CCleaner Free Portable v5.91 and earlier versions, the unzipped ccsetup592.zip file no longer has the CCleaner64.exe and CCleaner.exe executables in the same "root" folder as portable.dat and License.txt. Anyone using CCleaner Portable v5.92 who made the made the mistake of running the CCleaner64.exe file while it was still located inside the \x64 subfolder (which I did while running a test for mogli) now has all this garbage in their registry. That's likely how I got the unwanted CCleaner Update task created in my Task Scheduler (shown in my first image <above>) as well.

1055920585_CCleanerv5_92UnzipExecutablesNoLongerLocatedWithPortable_zip06Jun2022.png.4e4cf54e4c53826688dd52565ca9fe5f.png

Piriform / Avast really messed things up in v5.92 when they moved the executables out of the "root" directory where portable.dat and License.txt are still located , and this needs to be fixed before the next portable version is posted at https://www.ccleaner.com/ccleaner/builds.

-----------

64-bit Win 10 Pro v21H2 build 19044.1706 * Firefox v101.0.0 * Microsoft Defender v4.18.2203.5-1.1.19200.5 * Malwarebytes Premium v4.5.9.198-1.0.1689 * CCleaner Free Portable v5.92.9652

Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620</span>

1 hour ago, lmacri said:
<div class="ipsQuote_contents">
	<p>
		Anyone using CCleaner Portable v5.92 who made the made the mistake of running the CCleaner64.exe file while it was still located inside the \x64 subfolder (which I did while running a test for mogli) now has all this garbage in their registry.  That's likely how I got the unwanted CCleaner Update task created in my Task Scheduler (shown in my first image &lt;<a href="<___base_url___>/topic/63043-bug-report-portable-6009727-for-windows/?do=findComment&amp;comment=337280" rel="">above</a>&gt;) as well.
	</p>
</div>

Interesting... all those registry droppings resulted because the EXE was not finding "portable.dat" which was not in the executing directory.

Thanks for the pointer... I will have to make sure I don't have a scheduled task created as you show above.




My installation script creates C:\Program Files\Portable\CCleaner


This path is universal for both X86 and X64 systems.




Depending on PROCESSOR_ARCHITECTURE being AMD64 or not, determines which of the ZIP source directories I copy.


Once the EXE is in the above location, I create a shortcut to that EXE and add it to the All Users Start Menu




I found the change in ZIP structure when my script threw an error while validating the (changed) location of the zip contents.


Thanks again for the great tutorial. 


Much appreciated.

Hi bgavin:

From employee Dave CCleaner's 20-Jun-2022 post in OLLI_S's (now renamed) thread Cleaner 6.00/6.01 Portable Not Available:

Quote
<div class="ipsQuote_contents">
	<p>
		<em>To confirm, <strong>there will not be a portable version of CCleaner 6.01 either</strong>, but we are continuing to review how to portable-ize CCleaner 6.02+. 




		The sticking point is the structural change required for Performance Optimizer although Performance Optimizer would not work properly when the software is being used in a genuinely portable manner.  Although the Portable version is expressly intended "for system admins and advanced users ... not for distribution or mirroring", we know that some third party download sites advertise it as suitable for all users, so we have to make things a little more robust for the general public who may be using Portable contrary to advice.  As such, for the time being <strong>we have rolled back the portable version on the website to 5.91</strong> until we can come up with a satisfactory solution. </em>
	</p>
</div>

I can confirm that the download page at https://www.ccleaner.com/ccleaner/builds is now offering the old CCleaner Portable v5.91 (ccsetup591.zip). I think I'm going to go through my registry and Task Scheduler and try to clean up all the unwanted garbage that CCleaner Portable v5.92 added to my system, and then go back to using CCleaner Portable v5.91 for now.

-----------

64-bit Win 10 Pro v21H2 build 19044.1766 * Firefox v101.0.1 * Microsoft Defender v4.18.2203.5-1.1.19200.6 * Malwarebytes Premium v4.5.10.200-1.0.1702 * CCleaner Free Portable v5.92.9652

Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620</span><span> </span>

This sounds to me like Portable is going to die, the same way Speccy portable did.

Simple, functional and straight forward apps all seem to die on the deathbed of More Features.


A pity.




I don't need ever more features.


What I do need, is the bug fixes they always find in the basic functions.

1 hour ago, bgavin said:
<div class="ipsQuote_contents ipsClearfix" data-gramm="false">
	<p>
		This sounds to me like Portable is going to die, the same way Speccy portable did.
	</p>
</div>

Errrr ... no. That's not what I said at all. The variant builds of CCleaner, given their smaller audience, often used to lag behind the main CCleaner builds. Although we got in the rhythm of simultaneous releases over the past couple of years (since the variants were all the same under the wrapper) the challenges of CCleaner 5.92+ have meant that more work is required under the covers to get a robust Portable 6.x out the door.

Also, as mentioned previously elsewhere, Speccy Portable and Recuva Portable have not "died". It is just that with no functional change in the recent build increments (eg: removing installer offers than don't apply to the portable build) there was no merit in an update to the portable versions until a significant change was made.

"The sticking point is the structural change required for Performance Optimizer although Performance Optimizer would not work properly when the software is being used in a genuinely portable manner. "

This means Portable development is stalled because these features are taking precedence.


When the development is stalled, so are fixes for newly discovered bugs.




I don't have a problem at all, when the app is stable and bug free.


It is the rare app indeed, that remains free of newly discovered bugs.


My lengthy experience in the software industry shows the developers move on to the newest, latest, greatest and don't fix the old bugs.


"Upgrade to the latest" is the mantra.




I remain hopeful that Portable won't stagnate and die because it doesn't work with all the latest bells and whistles.


Some of use prefer a reliable rope and tire in lieu of a feature-laden gilded swing set.

3 hours ago, Dave CCleaner said:
<div class="ipsQuote_contents">
	<p>
		... Also, as mentioned previously elsewhere, Speccy Portable and Recuva Portable have <strong>not </strong>"died".  It is just that with no functional change in the recent build increments (eg: removing installer offers than don't apply to the portable build) there was no merit in an update to the portable versions until a significant change was made.
	</p>
</div>

Hi Dave CCleaner:

Apologies for going off topic, but in October 2019 you posted in Alex_Recuva's Download Link For the Portable Version is Downloading the Setup Version that download links for the portable builds of Speccy, Defraggler and Recuva would be "reestablished shortly" on their respective builds pages (e.g., at https://www.ccleaner.com/speccy/builds for Speccy) but those download links are still missing. Also see ZloboMiR's February 2020 No SSD NVM Info, which shows that the current Speccy v1.32.774 (not updated since 20-May-2018) is unable to display the S.M.A.R.T. status of most modern SSD drives. See my December 2021 post # 2409451 in Ben Meyer's Hard Drives – Still Pretty S.M.A.R.T. in the AskWoody forum where I compared Speccy to three other free hardware diagnostic utilities (note that some attached images are only viewable if you log in to that AskWoody forum).

It certainly appears to me that Avast / Piriform has abandoned further development of Speccy, and I also fear that CCleaner Portable is heading for a similar demise now that the "standard" CCleaner.exe and CCleaner64.exe executables for the CCleaner user interface are being packaged with Performance Monitor, Software Updater, and all the other unnecessary features that don't really belong in a portable disk cleaner.

-----------

64-bit Win 10 Pro v21H2 build 19044.1766 * Firefox v101.0.1 * Microsoft Defender v4.18.2203.5-1.1.19200.6 * Malwarebytes Premium v4.5.10.200-1.0.1702 * CCleaner Free Portable v5.92.9652

Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620</span>

Hi mogli / bgavin:

CCleaner v6.02 was released today (20-Jul-2022) but when I checked the official builds page at https://www.ccleaner.com/ccleaner/builds it was still offering the ccsetup591.zip for CCleaner Portable v5.91.9537 (rel. 16-Mar-2022). Looks like we'll have to wait a bit longer.☹️

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

64-bit Win 10 Pro v21H2 build 19044.1826 * Firefox v102.0.1 * Microsoft Defender v4.18.2205.7-1.1.19400.3 * Malwarebytes Premium v4.5.11.202-1.0.1716 * Macrium Reflect Free v8.0.6867 * CCleaner Free Portable v5.91.9537

Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620</span></span>

@lmacri

Scroll to the bottom of the page.

https://www.ccleaner.com/knowledge/ccleaner-v6-02-9938

On 20/06/2022 at 09:34, Dave CCleaner said:
<div class="ipsQuote_contents">
	<p>
		... the challenges of CCleaner 5.92+ have meant that more work is required under the covers to get a robust Portable 6.x out the door...
	</p>
</div>

Hi @Dave CCleaner:

I don't know how other users would feel about this, but why doesn't Avast/Piriform just create a trimmed-down Portable build without all the "extra" features likes Software Updater, PC Health Check, Performance Optimizer, etc.? If users absolutely need those extra features they always have the option to install the full CCleaner program on their hard drive.

As far as I know all Avast/Piriform needs to provide to run the core features of CCleaner Portable are four files - CCleaner.exe, CCleaner 64.exe, License.txt (required for legal purposes only, I assume) and portable.dat plus the \lang folder for non-English users as shown below. As long as the ccleaner.ini file is automatically generated the first time that the CCleaner.exe or CCleaner64.exe executable is launched (which it does by default) I think that's all that's really required for users who just want to use CCleaner Portable for a deep disk clean.

Is there a Portable build of CCleaner Pro / Pro Plus that includes extra features like Software Updater, etc. that Avast/Piriform is legally obligated to offer to customers with a paid subscription?

2025025126_CCleaner5_91EssentialFilesforPortableEdition31Jul2022.png.6c61c8fe54695075708a2dc4fe8bb33f.png

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

64-bit Win 10 Pro v21H2 build 19044.1826 * Firefox v103.0.0 * Microsoft Defender v4.18.2205.7-1.1.19400.3 * Malwarebytes Premium v4.5.12.204-1.0.1725 * Macrium Reflect Free v8.0.6867 * CCleaner Free Portable v5.91.9537

Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620</span></span>

Hi mogli / bgavin:

Just a warning that I launched CCleaner Free Portable v5.91 today (the Portable version currently recommended at https://www.ccleaner.com/ccleaner/builds) and saw this pop-up in my system tray asking me to update to v6.02 ....

1912085463_CCleanerv5_91SystemTrayWarningCCleanerOutofDatebyFourVersions31Jul2022.png.22097317ef8f4b55112ea81a32057197.png

... in spite of the fact that I have all automatic updating and update checks disabled at Options | Updates.

1970887414_CCleanerv5_91SettingsAllAutomaticUpdatingDisabled31Jul2022.png.3e767aae9bb78c2db398659e022685e9.png

If you see this system tray pop-up be sure to select "Remind Me Later" to stay on the recommended Portable v5.91. If you choose "Update Now" and download the v6.02 files I suspect you could create all the unwanted scheduled tasks and registry entries shown in my 04-Jun-2022 post <above> the next time you launch v6.02 of CCleaner.exe or CCleaner64.exe.

I don't know why I'm being nagged to update to v6.02 when I've specifically configured CCleaner Portable not to check for available updates but something similar has happened to me in the past. See my 14-Jan-2021 thread How Do I Stop CCleaner Portable v5.76 From Automatically Checking for Updates?. That particular problem wasn't fixed until v5.77 was released per my 05-Mar-2021 post <here>.

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

64-bit Win 10 Pro v21H2 build 19044.1826 * Firefox v103.0.0 * Microsoft Defender v4.18.2205.7-1.1.19400.3 * Malwarebytes Premium v4.5.12.204-1.0.1725 * Macrium Reflect Free v8.0.6867 * CCleaner Free Portable v5.91.9537

Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620</span></span>

Just an FYI that CCleaner Portable v6.03.10002 (ccsetup603.zip) has been posted on the official builds page at https://www.ccleaner.com/ccleaner/builds and when I unzipped I could see that the executable files are now back in their correct location in the "root" directory with portable.dat.

See my 22-Aug-2022 post in OLLI_S's CCleaner 6.00/6.01 Portable Not Available for further details. I've only run a few preliminary checks but so far the Portable v6.03.1002 seems to be working as expected.

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

64-bit Win 10 Pro v21H2 build 19044.1889 * Firefox v103.0.2 * Microsoft Defender v4.18.2205.7-1.1.19500.2 * Malwarebytes Premium v4.5.13.208-1.0.1740 * Macrium Reflect Free v8.0.6867 * CCleaner Free Portable v6.03.10002

Dell Inspiron 15 5584, Intel i5-8265U CPU, 8 GB RAM, 256 GB Toshiba KBG40ZNS256G NVMe SSD, Intel UHD Graphics 620</span>