You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close

01: 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.

One QUICK FIX we have seen is: Rename the NEWEST CSE you get from us to something unique. For instance, PolicyPak-CSE-SETUPx64-BUILD12345.MSI, then re=try your upgrade. We have reports that this “magically fixes it” by fooling the MSI database.

If that doesn’t work….

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

 

Try this first on ONE machine:

Microsoft has a one-off “Fix it” to fix broken MSIs which get stuck. 

https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed

If the above does not work then try this on ONE machine:

To fix and remove existing CSE version to allow 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.

ppMSIzapscript.zip

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.
  7. There’s no downside in renaming the latest CSE to be a unique name while attempting your upgrade. This might yield more success, according to at least one customer report.
  • 213
  • 25-Oct-2023
  • 6456 Views