Skip to Main Content
Patch My PC Ideas & Feedback

A community where customers and the community can provide feedback to make a better product for everyone! For more details on how we prioritize requests, please see:

Pre/Post Scripts and CMDline Parameters for Uninstall

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.

  • Attach files
      Drop here to upload
    • Tully Hall
      Reply
      |
      Jul 13, 2021

      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

    • Admin
      Cody Mathis
      Reply
      |
      Jul 1, 2021

      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

    • Jason Jenkins
      Reply
      |
      Jun 11, 2021

      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.

    • Cory Zaner
      Reply
      |
      Apr 22, 2021

      Yes need this for Citrix Workspace and the HDX connector.

    • Jake Snyder
      Reply
      |
      Mar 26, 2021

      +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/

    • Claudio Mendes
      Reply
      |
      Mar 15, 2021

      +1

    • Tuan Nguyen
      Reply
      |
      Oct 26, 2020

      Need to have the option to “Auto close application processes before Uninstallation". If the application is open, then it will not be uninstalled properly.

    • +29