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!

AdvancedUser
Posts: 2
Joined: Fri Mar 25, 2022 4:38 pm

How to replace a file ?

Hi!
I need to create an installer that will simply replace some .exe and .dll in the main directory of my program,
Is there any way to do it ?
Best Regards.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: How to replace a file ?

Hello,

For that, you can use the predefined support for major upgrades.

Simply increase the ProductVersion in your application and change the ProductCode and that package should remove the older version and install the newer one, replacing the EXE and DLL files.

Updates Deployment: Major Upgrade vs Patch

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

Return to “Building Installers”