Indigo Rose Software
  #1  
Old 06-14-2009
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,900
Remove Leftover Files Screen

I had a client ask how he could re-use my "left over files" screen (in post uninstall, it shows a list of files still installed)

So I cleaned up the code a bit & exported as a gallery screen.

The default is (as an example)
c:\documents and settings\all users\indigorose\setup factory\8.0\screens\Remove Leftovers

but it can easily go into your setupdata folder screens\Remove Leftovers

what it does:

On loading of the screen, it scans the app folder & app-data folder (provided you use the convension of Companyname\ProductName) and finds left over files & folders.

The user then selects (via checkboxes) the file(s) they want to delete.
Press the delete button and the file(s) selected are removed
When "going to the next screen", any "empty" folders are removed.

Please note - I cleaned this up & ran it on my dev machine, so I'm fairly confident that it's 'good to go' -- but as with anything that deletes files & folders, you should test on a test machine -- I will not be held liable for any lost data. ie: Use at your own risk. It was late when I did this.

Feel free to post comments, praise, and yes, even gripes / problems -- if there's a real problem, I'll fix it.
Attached Files
File Type: zip removeLeftovers.zip (3.6 KB, 13 views)
__________________

Last edited by Desmond; 06-15-2009 at 10:20 AM. Reason: Replaced attachment as requested.
Reply With Quote
  #2  
Old 06-18-2009
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,900
Embarased to say that I uploaded a version that "didn't exactly work" (typo in code) -- the dangers of testing on ones own system where you have other script files included...
Anyway; the attached should fix the typo / error when trying to click "next".
Attached Files
File Type: zip RemoveLeftovers-Version1a.zip (3.3 KB, 14 views)
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 10:00 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software