CSE: The CSE won’t uninstall or allow in-place upgrade. What should I do?

This isn’t a problem, per se, with the PolicyPak CSE. This is a problem with the MSI database that contains the contents of what is registered or not.

You might see a dialog similar to this when trying to uninstall. And, even if we (PolicyPak) provide the previous version to you, its still likely that the CSE wont uninstall.

Try this first on ONE machine:

To fix and remove to enable a re-installation of the newest CSE:

Download MSICUU from this link: https://www.policypak.com/pp-files/msicuu2.zip


Then launch it and select the CSE version and click Remove


Then manually install the latest PolicyPak CSE, and verify it worked as expected.

If that succeeds:

Here’s the gameplan:

  1. You’re going to test a SCRIPT version of that on SOME machines.
  2. You’re going to then try to deploy the new CSE to SOME machines.
  3. Then you’re going to run the script on the REMAINDER of your machines.
  4. Then you’re going to deploy the new CSE to the REMAINDER of your machines.

The tool we recommend to get the PolicyPak CSE “out there” if you don’t have another tool already is PDQ Deploy (https://www.adminarsenal.com/pdq-deploy/)
There is a FREE and PAID version of the tool; you can use either.

Next Steps:

  • Download our MSIZAP and batch file.
  • MSIZAP is a command line version of MSICUU that you used in Step 1.

The included is a batch file which will perform the uninstall…using MSIZAP. It only works if you put the OLD versions in some place it can find it. You’ll see if you open up the Batch file which is much clearer.

TIP: If the batch file needs updating and doesn’t contain the MSI codes for the version you are trying to uninstall, please work with your support rep who can get that updated for you.


Then, again, the suggested next steps are:

  1. Manually test the batch file on a handful of machines.
  2. Verify that it worked.
  3. DON’T try to run the script on ALL your machines yet.. but rather…
  4. DO try PDQ Deploy to get the latest CSE on those endpoints.
  5. DO run the script on the remainder of your machines and…
  6. THEN continue to use PDQ deploy to get the rest of the machines CSEs installed.