How to clean up an installation of SAS® Add-In for Microsoft Office


This SAS KB article applies to SAS® Add-In 7.1 for Microsoft Office through SAS® Add-In 8 for Microsoft Office, including both versions and minor releases.

If you need to clean up and re-install SAS Add-In 7.1 for Microsoft Office or SAS Add-In 8 for Microsoft Office, complete the following four steps.

1. Uninstall SAS Add-In for Microsoft Office.

 

2.  Remove leftover folders and files.

 

3. Clean up the registry. (Warning: SAS is not responsible when you edit the Windows registry.) Always back up your registry before you make any changes. Changes in the registry can render your system unusable and might require that you re-install the operating system. For assistance, see Windows Help, Microsoft documentation, or the Microsoft Windows website.)

After SAS Add-in for Microsoft Office is uninstalled (STEP 2, above), the Windows registry items related to SAS Add-in for Microsoft Office remain.

To manually remove these, complete the following steps: (See the Warning above.)

  1. Access the Windows registry by running regedit.

  2. For Windows 10, click the search icon for regedit.

  3. Select regedit (Run command).

  4. Expand HKEY_LOCAL_MACHINE\SOFTWARE\SAS Institute Inc.

  5. If AddIn for Microsoft Office is there, right-click AddIn for Microsoft Office and select Delete.

  6. Then, expand HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAS Institute Inc. if it is present.

  7. If AddIn for Microsoft Office is there, right-click AddIn for Microsoft Office and select Delete.

VERY IMPORTANT: Leftover registry entries might cause issues with future installations. Therefore, if any code is written for silent uninstallers, these should explicitly include a step to remove these registry keys to ensure a clean uninstallation process.

4. Re-install SAS Add-In for Microsoft Office.