Uninstall but keep files not from PellesC

Started by Ngan Lo, September 24, 2005, 05:40:28 AM

Previous topic - Next topic

Ngan Lo

yes, i think Uninstall PellesC but keep files that not originally installed by PellesC, is a nice "feature".  8)

for example, i forgot to backup the latest .h files (just couple days differ) from include folder & some zipped project in PellesC folder, then i uninstall beta 5 for beta 6, all files (except "Projects") r deleted.  :cry:

TimoVJL

If You use different folder for private include and lib,
then those are in safe place.
Add those directories to PellesC seacrch paths.
(Menu: Tools -> Options -> Folder)
Like C:\CODE\PellesC\include and C:\CODE\PellesC\lib.
May the source be with you

Ngan Lo

timovjl, u r right, but i think great Pelle is generous enough to make that happen, just a small wish...  :oops:  :D

JohnF

I've not found it necessary to un-install before installing a new version.

John

Pelle

Maybe. For this to work, I would either have to:

a) modify POINST to create a log of all installed files, and make sure the uninstaller uses this log when uninstalling (doable, but not trivial).

-or-

b) delete the files one-by-one in the uninstall section (rather than using 'wildcards'). This means the filenames will appear in two places of the script, which makes it harder to maintain...

I think timovjl's suggestion is cleaner and safer.

Pelle
/Pelle