The task is this:
- I have already written an installer for the program.
- Now we still need to make it so that when version 2 is released for this program, the installer will be launched, it will determine what version 1 is worth and will not replace the program config file.
- But when version 3 is released and it will be installed on computers, then the config file should change (regardless of whether version 1 was installed or already 2nd).
- When version 4 is released, then (HERE IS NOT Unclear :() 1. if there was 1 or 2 version, then the config file changes `2. if the 3rd version is detected, then the config file does not change
With all this! It is necessary that each new version of the program could be installed without a previous version on the computer (that is, just install and install version 4 on the computer at once - and everything should work)
I understand correctly, what is needed for each version of the program to write your installer in WIX (that is, to create a separate project in Visual Studio)?