|
#1
|
||||
|
||||
|
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. Last edited by Desmond; 06-15-2009 at 10:20 AM. Reason: Replaced attachment as requested. |
|
#2
|
||||
|
||||
|
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". |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 10:00 PM.








Linear Mode
