Is your Windows error message similar to the screenshot in these issues?
- Windows installer won't work in restricted environment · Issue #508 · bitwarden/desktop · GitHub
- Unable to download application package (7z) during installation · Issue #95 · bitwarden/desktop · GitHub
If so, it may be worth trying the steps recommended in 2nd issue:
- Download the 7z package from the release page here:
https://github.com/bitwarden/desktop/releases
- Place the 7z file in the same directory has the installer.
- Run the installer again.
It will use the locally downloaded package instead of trying to download it itself.
If different error, you may want to screenshot it so someone can take a further look.