Hello All,
Thanks to all who have replied/suggested a workaround.
I too faced this issue and tried the methods mentioned (wsreset.exe, installing whatsapp via command, re-register the store, flush the dns ).
The issue still persists.
As mentioned by @Cosmic Blue the whatsapp installer.exe redirects to the Microsoft Store.
Please reply if anyone has any workaround.
Thanks.