cferreira
Posts: 7
Joined: Tue May 05, 2009 11:29 am

I want overwrite all files

Hi,

I have a product installed without Advanced Installer. Now, I want to make a upgrade with Advacend Installer. I want to overwrite all files in all folders... How can I make this?
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Re: I want overwrite all files

Hi,

In order to to this just enable the "Always Overwrite" option in the file properties dialog (Version tab).

http://www.advancedinstaller.com/user-g ... ialog.html

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
cferreira
Posts: 7
Joined: Tue May 05, 2009 11:29 am

Re: I want overwrite all files

Hello,
Thanks for your input. I do know how to enable the "Always overwrite" on each file. The problem is that my project has more that 4000 files in 30 folders. Even if I were to use the multiple file properties, I would still have to go folder by folder to be able to change the properties on all the files.

My question is: is there a way to enable the "Always overwrite" by default? Like a project property or something?

Thanks in advance!
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Re: I want overwrite all files

Hi,
My question is: is there a way to enable the "Always overwrite" by default? Like a project property or something?
I'm afraid not. You will have to manually add the flag. Please note that can add the flag using multiple selection on files.

In the next version of AI this option will be available per folder also.

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
jbridges
Posts: 38
Joined: Fri Jun 09, 2006 12:36 am

Re: I want overwrite all files

I think you may not want to install the 4000 files individually. I had a similar problem with over 6000 files. I packaged them as a self-extracting executable, which was unpacked in the root folder by a custom action of the installer. At uninstall time, you remove the folder.

The issue with me was the time that the Windows Installer spends on storing information on each individual file in the registry. For a large number of files, this is really significant. By using the self-extracting executable, the Windows Installer was now tracking a single file. It didn't really matter anyway because I was checking it in the custom actions.

Before I did this, an install could take up to 8 minutes or so. Afterwards, less than 2 minutes.

Return to “Common Problems”