Reply to Thread

Post a reply to the thread: Best way to restore deleted files if install is aborted?

Your Message

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

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-20-2006, 08:56 AM
    linder

    Re: Best way to restore deleted files if install is aborted?

    Jack,

    Still on the drawing board...

    Thanks,
  • 04-12-2006, 07:26 PM
    ljwilson

    Re: Best way to restore deleted files if install is aborted?

    Friedrich,

    Did you ever figure-out a way to do this?

    Thanks...jack
  • 01-23-2006, 08:41 AM
    linder

    Re: Best way to restore deleted files if install is aborted?

    Jack,

    I'll see what we can do here...
  • 01-21-2006, 01:07 PM
    ljwilson

    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

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •