FoamyUK
Posts: 3
Joined: Tue Sep 29, 2009 7:22 pm

Move files back on uninstall

Hi,

The installer I'm working on needs to move a couple of files if a certain feature is installed - that's fine. It provides some new versions of those files, but we don't want to overwrite the existing ones - if our product is uninstalled we need to move those original files back into place. The problem I'm having is that I can't seem to move the files back to their original position when that feature is uninstalled. Is this possible without writing a custom executable?

Thanks,

James.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Move files back on uninstall

Hi James,

I'm afraid you cannot accomplish this without using custom actions. Here is a forum post that discuses a solution for what you need.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”