Setup Project will not overwrite .exe files

dgdolins1
05-17-2005, 03:36 PM
I created a setup project in VS.net 2003 and for some reason it will not overwrite a few .exe's (non .NET) that already exist on a windows 2000 system. I dont see an overwrite property for a file. Is there a way to explicitly specify that I want a file to be overwritten?

Thanks.

snarfblam
05-17-2005, 08:25 PM
Are you overwriting your own applications? Are you versioning correctly? Either way, the installer might realize that it is a completely different app altogether (at least as far as the deployment project knows) and simply not allow you to overwrite it (I don't know for sure). I'm just guessing here, but it would seem to me that, for security reasons, a .Net deployment project wouldn't allow you to replace one assembly with an incompatible or lower version assembly.

dgdolins1
05-18-2005, 08:21 AM
Are you overwriting your own applications? Are you versioning correctly? Either way, the installer might realize that it is a completely different app altogether (at least as far as the deployment project knows) and simply not allow you to overwrite it (I don't know for sure). I'm just guessing here, but it would seem to me that, for security reasons, a .Net deployment project wouldn't allow you to replace one assembly with an incompatible or lower version assembly.

Hi,

Thanks for the reply. As a test, I created a setup project with just 2 non .net exe's (no assemblies) and the installer will not overwrite the existing files. If I create a docuement in notepad, then rename it to the installed filename.exe, the file will be overwritten. As I am reading more, it looks like there is a REINSTALLMODE property. I dont understand why there isnt an option to AlwaysOverwrite like there is with installshield. Oh well.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum