Jump to content

Silent Uninstall


amd.64

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? ;)

Keith

 

Windows XP 2002 SP3

IE 7.0

 

Martin2k

 

Rorshach112 is the best

Link to comment
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

Link to comment
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

No fate but what we make

Link to comment
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

Link to comment
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. ;)

Keith

 

Windows XP 2002 SP3

IE 7.0

 

Martin2k

 

Rorshach112 is the best

Link to comment
Share on other sites

  • 3 months later...
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.

Link to comment
Share on other sites

  • 6 months later...
  • 1 year later...

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.

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.