For the install process there is the very useful functionality to have pre and post script, add files and folders and define some additional Cmdline Arguments. We need the same options for uninstall process.
Sometime we made some special reg-keys or copy some special content during the install process by using post script. When the user uninstall the sw by software center the customizing from the post scripts still exists.
My example would be regarding 8x8. Their default start menu icon is "8x8 Work (managed).lnk". IT Execs have asked that we rename it to "8x8 Work.lnk". And this is totally doable with the install pre/post scripts.
However, when the application is uninstalled from Apps & Features* the renamed shortcut remains and would need to be removed with a post-uninstall script.
*The current built-in uninstall won't work correctly until the app is renamed in PMPC
Do we have some examples of the need for CMDline Parameters?
This feature is otherwise done in code and will be in the next preview release. At this time it will not have CMDline Parameters for uninstall.
Additionally https://ideas.patchmypc.com/ideas/PATCHMYPC-I-1430 will be in the next preview as well
In addition to the pre/post scripts and paramaters, I would like to see feature parity wherever possible for install and uninstall related functions. For example extending all current MSI logging features (as well as any future exe logging features) to uninstalls.
Yes need this for Citrix Workspace and the HDX connector.
+1000
I could actually see myself using this for Microsoft Teams.
The typical uninstall process would run and then I could also run an additional script to clean out Teams from each user profile.
If a user then reinstalled Teams from Software Center, then I could run a post install script to run a scheduled task as the user to get Teams to install to the profile right away like Cody Mathis blogged about recently: https://sysmansquad.com/2021/01/26/trigger-teams-installer-for-user-after-machine-wide-installer/
+1
Need to have the option to “Auto close application processes before Uninstallation". If the application is open, then it will not be uninstalled properly.