SOLIDWORKS 2017 Uninstall will complete even when DLL files cannot be unregistered
Article by Chris Briand, CSWE updated December 19, 2016
Article
This little bit of functionality does not seem to be something that most folks would be interested in at all, until this SOLIDWORKS 2017 Uninstall message appears:

SOLIDWORKS Installation Manager Error
Prior releases of SOLIDWORKS would ask you to pick up the saved log files and forward them along to your VAR for further diagnosis. Many times what is discovered through examination of the installation log files, is that the DLL files are unable to be unregistered. This is typically due to complications involving permissions within the windows registry.
SOLIDWORKS 2017 uninstall will assist some of these issue by bypassing errors that are due to an inability for a related DLL file to become unregistered. We will then see a list of DLL files at the end of the process that we can investigate further if we so choose.
Once we have the list of errant DLL files we can login as an administrator and attempt to unregister the DLL file manually.
Clearing all of these issues out of the way, leads us to a beautifully clean installation of the latest release or Service pack of SOLIDWORKS.
For more information regarding DLL files please see the following Microsoft Article on the REGSVR32 command
CAUTION: I have noted the procedure below to manually unregister DLL files on a client system – If you are not comfortable with the procedure below, please request assistance from your VAR or local IT Professional. Unregistering shared DLL file can have unintended consequences upon a system.
To manually Unregister the DLLs:
- Log into Windows as a full LOCAL Administrator Account
- Browse in Windows Explorer to find the noted .DLL files.
- Run the Command Prompt as Administrator (Start > All Programs > Accessories > right-click ‘Command Prompt‘ and “Run as administrator“)
- Enter the following text and press Enter after each (*note these are the default installation location folders)
regsvr32 -u “C:\Program Files\Common Files\SOLIDWORKS Shared\swdocumentmgr.dll”
regsvr32 -u “C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\sldthumbnailprovider.dll”
SOLIDWORKS 2017 Resources
Access our resources page to get everything you need to learn what’s new in SOLIDWORKS 2017; including tech tips, demonstrations, and upcoming product webinars.
Related Links
Certified SOLIDWORKS Services available from Javelin
Javelin can help you to:

