Serafín
Posts: 27
Joined: Wed Aug 30, 2006 11:12 am

Problem overwritten folder

Hi,

We have an installer that the only thing it does is to overwrite some existing files.
In some sites the files in a folder are not overwritten. In these cases if we delete the folder, the installer creates the folder and copies the files correctly.

The rights/permissions of the folder are correct and all files in it are closed.


Any idea of what might be happening?

Is there a way to delete a folder with windows installer?

TIA
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

When updating some files with a MSI package Windows Installer applies the file versioning rules:
http://msdn2.microsoft.com/en-us/library/aa368599.aspx

Therefore, some of the files in your package may not update (overwrite) the files which are already installed. In order to avoid this possibility, you can use the "Ensure that this file overwrites any installed target file" option in the "Version" tab of the "Edit File" dialog:
http://www.advancedinstaller.com/user-g ... ialog.html

In order to show the "Edit File" dialog you can double-click the file in the "Files and Folders" page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”