If the wsappbak file is corrupted or uses an older encryption method (crypt7, crypt8, crypt10), WhatsApp will fail to restore it and may create a new empty database.
Please install the '.cer' file to [Local Computer\\Trusted Root Certification Authorities] before install the App Package or use ' GitHub
In short: wsappbak is likely a —usually an older msgstore.db.crypt12 file that has been flagged as a backup of a backup.
Creating .appx installers to use on other Windows machines without an internet connection.