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

How to replace a file ?

Thu Jun 30, 2022 2:38 am

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: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: How to replace a file ?

Thu Jun 30, 2022 9:17 am

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”