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!

NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Replacing file on uninstall

Hi
During an install, i need to update a dll file but upon uninstall, i would need to replace it again with the original. How can i set that up?

Thanks
NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Re: Replacing file on uninstall

I can also store a copy of the original in the same location and upon uninstall, rename the file to its original name
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Replacing file on uninstall

Hello Nigel,

Indeed, a solution would be the one you presented - to rename the original file so it is not overwritten and on uninstall to rename it back.

Another solution would be to copy the original file into a different location and then copy it back on uninstall, after the files were removed.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”