
!define: "registry::KeyExists"="!insertmacro registry::KeyExists" !define: "registry::Close"="!insertmacro registry::Close" !define: "registry::Find"="!insertmacro registry::Find" !define: "registry::Open"="!insertmacro registry::Open" !include: "C:\Program\NSIS\Include\Registry.nsh" !define: "REGKEY"="HKEY_CURRENT_USER\Software\VB and VBA Program Settings\CCleaner" !define: "REGFILE"="$EXEDIR\Settings\Settings.reg" !define: "CURRENT"="$EXEDIR\Settings\Current.reg" Processing script file: "D:\PortableCCleaner\CCleaner.v.1.2.nsi" Processing plugin dlls: "C:\Program\NSIS\Plugins\*.dll"Ĭhanging directory to: "D:\PortableCCleaner" Portions Copyright (C) 1999-2003 Igor Pavlov (lzma).Ĭontributors: Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al. Portions Copyright (C) 1996-2002 Julian R Seward (bzip2).

Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib). MakeNSIS v2.17 - Copyright 1999-2006 Nullsoft, Inc. I try your CCleaner.v.1.2.nsi but i got a error.
Ccleaner com portable#
:D) Unless someone has a dire (*cough*paraniod*cough,cough* :D) need to run a portable version instead of a local install, I think it's safe. Plus I try to keep everything running 'uninstalled' if I can help it. (Meaning no installed version was detected. In testing my launcher, an installed version of CCleaner was detected, and when I ran the launcher after uninstalling, (which should have unregistered CCleaner's files), I didn't get any notifications. My conclusion is that this shouldn't really present a problem unless CCleaner is installed on the host machine. In a brief inspection, it seems that all of the ActiveX controls that are registered belong to CCleaner itself of all of the dll's also appear to be propiety CCleaner files. (Way too much room for error there!) Anyone have any thoughts on that? Would this be even possible? Yeah.I'll have to look into that.Maybe I can have NSIS check to see if the files are already present on the host machine and give an option to restore associations on program shutdown.Easier, I think, than having individual rules for each and every file. Looks like I'll have to jpoin the OCD club, huh? :D) On a side note, does anyone know if it is possible to indicate which specific directory to locate the files to register? It's just kinda bothering me to put the launcher beside the exe I like it a lot better when its one level up, to keep things neat. You will have to put it in the same folder as all the. Later I'll try to see if I can merge some of the things that Klonk has come up with into yet another version.
Ccleaner com install#
I've combined the registering function mentioned above with the locall install check and clean up ability of Deuce's Quick Port Template v.1.1. If anyone is interested, this is the result: So! I decided to see what I could cobble together. bat/.cmd file, and CMDOW, CCleaner was still leaving a registry entry. StrCpy $R7 $CMDLINE $R0 $2 we save the filenameĮdit: After some review, it occurred to me that despite the lovely uncomplicated-ness of using this single launcher for CCleaner instead of a weird setup of launcher.

StrCpy $R1 ' ' we're scanning for a space instead of a quote
Ccleaner com code#
Code created by Eric Peterson based on code by John T. This code to to make CCleaner portable by using NSIS, instead of a batch file. It even allows to use switches for CCleaner by applying the switches to the portableccleaner.exe file. I have made CCleaner portable using a NSIS launcher.
