Is there any way to open images through Thunar in xnview Classic (Wine)?

I just discovered that I can use xnview Classic through Wine, since the developers have not released a .deb file for xnview Classic that I can find. However, I would like to use xnview Classic as my default image viewer in Ubuntu, and setting it as the default image viewer results in the following error message:

Screenshot of the error message

Is there any way to avoid this? It appears as if Thunar formats the link so that xnview opens incorrectly.