Move files back on uninstall - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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”