Post a reply to the thread: Best way to restore deleted files if install is aborted?
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Best way to restore deleted files if install is aborted? Jack, Still on the drawing board... Thanks,
Re: Best way to restore deleted files if install is aborted?
Re: Best way to restore deleted files if install is aborted? Friedrich, Did you ever figure-out a way to do this? Thanks...jack
Re: Best way to restore deleted files if install is aborted? Jack, I'll see what we can do here...
Best way to restore deleted files if install is aborted? In my current install, I first check to ensure no program files are in use, then I make a backup of the install program directory and all files/folders underneath it. The backup folder name based on the current date and time. Next I delete all the files in the main program directory. That works fine. My problem is if the install detects an error of some kind and asks if the user wants to rollback the install, my deleted files are not replaced. I've tried: 1. Using Create Unique Backup File--but this doesn't work with *.*, and I don't know (or care) what all the filenames were in the directory I wiped-out, so it isn't practical to put a line in for each. 2. If I could detect when the rollback message (or any generic installer error) occurs, then I could just copy the files from my backup directory the install created, but I haven't figured out how to trap a general install error. Any ideas? Thanks...jack
Best way to restore deleted files if install is aborted?
Forum Rules