Pelles C forum

Pelles C => Feature requests => Topic started by: Ngan Lo on September 24, 2005, 05:40:28 AM

Title: Uninstall but keep files not from PellesC
Post by: Ngan Lo on September 24, 2005, 05:40:28 AM
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:
Title: Uninstall but keep files not from PellesC
Post by: TimoVJL on September 24, 2005, 10:43:55 AM
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.
Title: Uninstall but keep files not from PellesC
Post by: Ngan Lo on September 24, 2005, 02:56:34 PM
timovjl, u r right, but i think great Pelle is generous enough to make that happen, just a small wish...  :oops:  :D
Title: Uninstall but keep files not from PellesC
Post by: JohnF on September 24, 2005, 02:57:44 PM
I've not found it necessary to un-install before installing a new version.

John
Title: Uninstall but keep files not from PellesC
Post by: Pelle on September 24, 2005, 04:49:45 PM
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