NO

Author Topic: Uninstall but keep files not from PellesC  (Read 4505 times)

Ngan Lo

  • Guest
Uninstall but keep files not from PellesC
« 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:

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Uninstall but keep files not from PellesC
« Reply #1 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.
May the source be with you

Ngan Lo

  • Guest
Uninstall but keep files not from PellesC
« Reply #2 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

JohnF

  • Guest
Uninstall but keep files not from PellesC
« Reply #3 on: September 24, 2005, 02:57:44 PM »
I've not found it necessary to un-install before installing a new version.

John

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Uninstall but keep files not from PellesC
« Reply #4 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
/Pelle