Install depending on registry value
It is an installer for a mod for a game.
The game has a registry value setting the language of the game.
And the mod has 2 different files, one of which must be installed depending on the registry value I said above.
But the two files must never be installed at the same time.
So if the registry value equals 1 then file A is installed but not file B
And if the registry value equals 2 then file B is installed but not file A.
Is this possible to do in NSIS script?
And how is it done?