Jump to content
CCleaner Community Forums
amd.64

Silent Uninstall

Recommended Posts

Welcome to Piriform amd.

 

Is it possible to silently uninstll CCleaner?

 

If so how can I find information about how to do this?

 

Yes just delete the CCleaner folder. :D

 

Why would you want a silent uninstall anyway?

 

Are you trying to uninstall someone elses without they knowing? ;)

Share this post


Link to post
Share on other sites
Welcome to Piriform amd.

 

 

 

Yes just delete the CCleaner folder. :D

 

Why would you want a silent uninstall anyway?

 

Are you trying to uninstall someone elses without they knowing? ;)

 

I have been asked to create a script that will uninstall CCleaner by my one of my boss'.

 

I love the program though.

 

I am fine with just deleteing the folder if that is the only files and folders that is created during install

Share this post


Link to post
Share on other sites
I have been asked to create a script that will uninstall CCleaner by my one of my boss'.

 

I love the program though.

 

I am fine with just deleteing the folder if that is the only files and folders that is created during install

 

A good uninstaller should remove reg keys they made

Share this post


Link to post
Share on other sites

Create a batch file and use the following:

 

@ECHO OFF
REM Detect the path of CCleaner
SET "U_=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
SET "A_=CCleaner"
SET "M_=CCleaner IS NOT INSTALLED!!!"
FOR /f "delims=" %%a IN (
'REG QUERY "%U_%\%A_%" /v "UninstallString"2^>Nul^|FIND "REG_"') DO (
SET "CCleanerPath=%%a"&Call :Sub %%CCleanerPath:*Z=%%)


IF DEFINED CCleanerPath (%CCleanerPath% /S&&(
ECHO.&&ECHO:Uninstalling CCleaner...)) ELSE (ECHO:%M_%)

ECHO.&&PAUSE

:Sub
SET CCleanerPath=%*

 

The above will detect the installation path of CCleaner and run uninstall silently, so everything will be removed as usual. Although I don't see why someone would like to uninstall CCleaner. It should be uninstallable. :D

Share this post


Link to post
Share on other sites
I have been asked to create a script that will uninstall CCleaner by my one of my boss'.

 

I love the program though.

 

I am fine with just deleteing the folder if that is the only files and folders that is created during install

 

It seems strange that one of your bosses wants this. Doesn't he like it on the works computers? Its funny he's asking you about a silent uninstall, don't you have an IT section?

 

If you use the INI options then you can put the CC folder onto a flash drive and it will work perfectly from there as all the settings are stored in the ccleaner.ini file. Where I work at a college we used to have CC installed but it was about 20 versions behind the current one. I asked the IT techs to install then newer versions and they wouldn't because it for private use and it does a regitry clean, bull. So I just put it on a flash drive and run it from there. ;)

Share this post


Link to post
Share on other sites

I find it extreamly od also you want to remove it silently. why cant you remove it normal?

Share this post


Link to post
Share on other sites
I find it extreamly od also you want to remove it silently. why cant you remove it normal?

I don't know what's so odd about removing a software silently. I thought i was being smart by installing ccleaner behind my boss's back only to find out that he doesn't want ccleaner installed in 1000 pc. So he told me to uninstall it and now i'm screwed. so no, it's not odd that i want to remove this app silently instead of me going to 1000 pc physically and uninstalling it.

Share this post


Link to post
Share on other sites

I know this is madd old but if anyone else comes around searching for this answer, just run the following in C:\Program Files\CCleaner:

 

uninst.exe /S

Share this post


Link to post
Share on other sites

I know this is madd old but if anyone else comes around searching for this answer, just run the following in C:\Program Files\CCleaner:

 

uninst.exe /S

 

Thanks! I was looking for a simple solution like that.

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