'how manage setup of different versions?

example

1 user installs version 1 of our code

2 for an error he installs again. the exe is owerwritten without changes and nothig bad happens.

3 version 2 is distributed with the installer.

4 the installed sw is perheps overwtitten. it is what user generally wants but if he prefers to mantains the old version how it could be done?

I have not yet tried any solution

thanks you for your attention



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source