Installaware will not repleace files if they already exist

Got a problem you cannot solve? Try here.
Post Reply
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Installaware will not repleace files if they already exist

Post by Roostar2004 »

For some reason installaware will not replace a file if it already exists on the system even if they are different.
Damocles
Posts: 27
Joined: Wed May 28, 2008 7:41 am

Post by Damocles »

Could this file still be in use by some other program?
wileywilly
Posts: 30
Joined: Thu Feb 08, 2007 5:11 am

Post by wileywilly »

Please check the file settings - maybe you checked the Never Overwrite box when building the setup
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Post by Roostar2004 »

No, I have checked this already. Here is an example of how ti get this to happen.

Have your setup place a picture into a file location say C:\\Program Files\\App

before you install place the picture in this directory but change the contennts so that they are two different pics but with the same name.

When your install runs it will not copy the file from you setup into the directory
casic
Posts: 260
Joined: Thu Mar 17, 2005 4:02 am
Location: Germany
Contact:

Post by casic »

Have a look at the "Reset File Date" plug-in:

http://www.installaware.com/forum/viewtopic.php?t=3783

With this plug-in you will be able to update files which have no version information.

Cu

Markus
Markus Diettrich
Install[b]Aware[/b] MVP
[i]If it can't be done with InstallAWARE then you are not using Windows[/i]
ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

windows installer

Post by ulrichard »

also have a look at the following two links on how the Windows Installer decides if it should overwrite a file.

http://blogs.msdn.com/astebner/archive/ ... 58295.aspx
http://msdn.microsoft.com/en-us/library ... S.85).aspx

Rgds
Richard
Post Reply