https://bugs.winehq.org/show_bug.cgi?id=40613
--- Comment #9 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Louis Lenders from comment #8)
Maybe as a hack we could add a registrykey that if present returns the TokenElevationTypeDefault? Would that be acceptable in Staging?
Michael Müller has been working on a more complete solution, which has been added in Wine Staging 2.14. This is basically a full UAC implementation including token inheritance and official ways to elevate rights / drop privileges. The main differences compared to Windows are that (1) there are no confirmation dialogs yet and (2) admin privileges are still default for backwards compatibility.
To start a installer with limited privileges, you can use:
wine runas /trustlevel:0x20000 installer.exe
Does this fix the issue with Spotify?