Hi,
"So I still think you're running the installer with admin privileges."
"I don't think the problem is with the supplier."
I'm only strictly following the supplier's instructions and that's what results in failing uninstalls.
But the supplier is claiming their intune installer file is client-specific and they can't support it for any specific client. So I'm a bit out of luck there.
Also, their .intunewin downloadable (from the client admin dashboard, accessible only to the printer lease company admin and not for end users or even for our company admins) appears to be broken in that it doesn't even deploy anything and throws an error. Unpacking the .intunewin resulted in a single .exe installer (innosetup based), and packing that into a new .intunewin file now does the install as expected. But the uninstall still fails.
Intune application - win32 app - with these settings:
Install behavior: User
Install command: papercut-hive.exe /VERYSILENT /CURRENTUSER /userkey="--redacted--"
Uninstall command: "%localappdata%\Programs\PaperCut Hive\unins000.exe" /VERYSILENT
So I'm not "doing something" myself, it's only intune doing the install / uninstall. Install works fine, uninstall fails (toast notification showing that it failed, and files not removed either).
Next week I may be able to prep another test device with a test user to look into it in more detail, but still the general idea is that an intune uninstall should work regardless of the user being member of the local admins group. But of course it could still be an issue with Intune assuming "if the user is member of local admins group, then run user context installs as elevated". Yet that wouldn't explain that it wouldn't run the uninstall command as elevated as well.
Or.. from what I understand in configuring inno setup, the vendor could have forgotten to add/change relevant lines to the configuration when creating the installer package. But I only have the installer .exe and no configuration file.
Best,
Maarten