Click here to Skip to main content
15,905,238 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i am using vs 2008

i create a setup of my C# application ...

its running fine...

but if i make any changes and create setup once again ...
then how can i uninstall my older application and install new one by running setup...


Please suggest me...
Posted

This is just a setting in the setup file, so long as your new version installer is built off your old one ( so it knows they are related )
 
Share this answer
 
In the setup project properties,
set "DetectNewerInstalledVersion" to true.

It will prompt you to uninstall older version before installing new version of the same software.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900