Tested with NinjaRMM and Ubuntu 22.04 LTS with wine-7.22 (Staging)
Install WineHQ-staging
wget -O- https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor | sudo tee /usr/share/keyrings/winehq.gpg > /dev/null 2>&1
sudo apt update
sudo apt install --install-recommends winehq-staging -y
Example for Ninja RMM
https://resources.ninjarmm.com/Splashtop/SplashtopForRMM_v3.4.6.1.exe
wine SplashtopForRMM_v3.4.6.1.exe
./register-handler.sh
Clean your previous WINEPREFIX or run in new WINEPREFIX
rm -rf ~/.wine
WINEPREFIX="$HOME/.myNewWinePrefix"
Now change splashtop-viewer.desktop
to meet requirements.