cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MEinstaller
Level 7

During Uninstall Replace files that were moved

Is there an easy to replace files that you moved into another directory during install?
Currently one of my installs (update) creates a backup directory and copies a file (test.txt) into it before the new version of test.txt is installed. During the uninstall I would like to have the original test.txt put back in it's original directory. Has anyone else done this? I have a feeling it's fairly simple I just cannot find out how to do it. :confused:

Thanks,
Labels (1)
0 Kudos
(3) Replies
enanrum
Level 9

I believe you could just add a Custom Action in the Uninstallation Sequence to move the file back!!!

Tom
0 Kudos
MEinstaller
Level 7

Yeah that's what I ended up doing, and it works on Windows, I'm having some issues with Solaris and IRIX though.
0 Kudos
MEinstaller
Level 7

I figured out the problem on my Unix installs, I had a / going the wrong way and it was causing the whole thing to fail. :mad: Oh well at least I found the issue and it now works.
0 Kudos