joefio
Posts: 23
Joined: Thu Apr 20, 2023 2:14 pm

How to overwrite files in subdirectories

Wed May 10, 2023 2:44 pm

Hi I am having trouble overwriting certain files in the install directory when running my msi installer.

Under "Files, Folders and Shortcuts" the files that get saved to the Application Folder overwrite correctly:

Ex: 'Application Folder\File.dll' overwrites the existing file

However, I have a subdirectory within Application Folder:

'Application Folder ->SubDir1->SubDir2->SubDir3->file.dll' does not overwrite the existing file

"file.dll" is not being overwritten, even if the overwrite behavior is set to Always overwrite. The file has no conditions.

How can I overwrite this file?

Thanks
Joe

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: How to overwrite files in subdirectories

Thu May 11, 2023 9:20 am

Hello Joe,

I'm not sure why this happens.

Can you please send us the .AIP (setup project) file and an installation log by email to support at advancedinstaller dot com so we can further test and investigate this?

Also, let us know which file is not overwritten.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”