The error code 2869 while install/remove SQL Pretty Printer add-in for SSMS
If you encounter error code 2869 while install/remove SQL Pretty Printer add-in for SSMS, this is mainly because you install this program as a standard user and just click ppforssmssetup.msi. This problem can be easily fixed by running setup.exe under the same directory. In problem still exists, These are the steps to solve the above mentioned problems:
1) Copy the ppforssmssetup.msi file to the root directory of your main hard drive (i.e. C:\).
2) Open Windows Notepad.
3) Copy this text into windows notepad:
msiexec /i C:\ppforssmssetup.msi
(You can write the total path of your .msi file in the system, after msiexec /i.)
4) Click File -> Save As…
Instead of saving it as a .txt file, change the file name to installer.bat.
Save the file to your desktop.
6) On your desktop, right click on the file and select Run as Administrator.
This will run the .msi file properly to install the application in the system.
If you need to remove SQL Pretty Printer add-in for SSMS, just replace command in step 3 with this:
msiexec /x C:\ppforssmssetup.msi