Link to home
Start Free TrialLog in
Avatar of Munawar Hussain
Munawar HussainFlag for Pakistan

asked on

Winform deployment project does not owerrite the exiting/old files

I setup project created with Visual studio 2005 is upgraded to Visual Studio 2008 since then it does not remove the old version.

DetectedPreviousVersion and Uninstall old version properties in the installer are set to true.
each time x is incremented by one in the installer propertiese 1.1.0X  

and assembly revision number
1.0.0.1X


Thanks



SOLUTION
Avatar of jedwar26
jedwar26

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Snarf0001
Snarf0001
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Munawar Hussain

ASKER

Hello Snarf0001,

does not matter if you increase build number of revision number .. it results same.

-Thanks
Well,

To get it working, it needs following changes.

1- increase the assembly version by one (does not matter what digit you increase major, minor, build or revision number)
2- Increase the file version (same as in 1)
3- Increase version in installer project (deployment project)

if any of these is same as was in last installed version then it would not overwrite the existing files

Thanks for your replies...

Thanks for quick replies...