In short, using the PMP app, I am able to install Sketchup 2021 and 2023 but I am unable to uninstall either of them. I packaged both apps myself using the same .exe installer files available from the Sketchup Pro website, and I can successfully install and uninstall.
Since I don't know what your uninstall script does, here's what mine does. Please take a look and see if you'd like to use it for your PMP app deployment. I got these commands from Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ for each product, used the environment variable for %programfiles(x86)% instead of the string (my own preference), and added "-silent" parameter.
2021
@echo off
"%programfiles(x86)%\InstallShield Installation Information\{09480c81-5458-4d69-ab73-ee488fe8c297}\SketchUpPro-2021-1-332-116.exe" -remove -runfromtemp -silent
2023
@echo off
"%programfiles(x86)%\InstallShield Installation Information\{5a2cfe94-23d3-11ed-861d-0242ac120017}\SketchUpStudio-2023-1-340-117.exe" -remove -runfromtemp -silent
Yes sorry, this change was committed on April 10th.
shipped?
2023 is working fine in my lab, however we have the uninstall configuration missing for 2021. We will add that into the catalog soon, and to apply the change you will need to delete the application from ConfigMgr/Intune and perform a sync to re-instate it - although it appears you may have solved this yourself by manually setting the uninstall command. I will repost here to close this item once the change has been implemented!