The task is this:

  1. I have already written an installer for the program.
  2. 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.
  3. 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).
  4. 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)?

  • @Tatyana Druzenko, Try to write more detailed questions. Explain what you see the problem, how to reproduce it, etc. - deivan_
  • The task is as follows: 1. I have already written an installer for the program. 2. Now it is necessary to make it so that when version 2 is released for this program, the installer will be launched, it will determine that version 1 is worth and will not replace the program config file. 3. But when the 3rd version will be released and it will be installed on computers, then the config file should change (regardless of whether 1 version was installed or already 2nd). 4. When the 4th version is released, then (HERE HERE 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 - Tatyana Druzenko
  • With all this! It is necessary that each new version of the program could be installed without having any previous version on the computer (that is, simply installing and installing 4 version on the computer at once - and everything should work) I understand correctly that you need to write your own version for each version of the program installer in WIX (that is, create a separate project in Visual Studio)? - Tatyana Druzenko

0