From my previous question, SOLIDWORKS ErrorCode:1722 CA:Register_DocMgrDLL, I am missing the swdocumentmgr.dll library. So I downloaded the library from https://error-dll.info/file/swdocumentmgrdll and paste it in the C:\Program Files\Common Files\SOLIDWORKS Shared directory. When I try to register that library by
C:\Windows\System32>regsvr32 "C:\Program Files\Common Files\SOLIDWORKS Shared\swdocumentmgr.dll"
I get:
The module C:\Program Files\...\swdocmentmgr.dll failed to load, make sure the binary is stored in specified path. But it is in the path (in the directory). I have even tried to do it with administrator privileges but to no avail. How should I then load that library in order to install the solidworks?
I have tried to cd in the directory of the library but still the same error:
C:\>cd "C:\Program Files (x86)\Common Files\SOLIDWORKS Shared"
C:\Program Files (x86)\Common Files\SOLIDWORKS Shared>dir
Volume in drive C is Windows
Volume Serial Number is D4F4-75C5
Directory of C:\Program Files (x86)\Common Files\SOLIDWORKS Shared
10/20/2020 04:28 PM <DIR> .
10/20/2020 04:28 PM <DIR> ..
10/20/2020 04:28 PM 0 dir
10/19/2020 05:51 PM <DIR> Service
10/20/2020 01:34 PM 6,325,544 swdocumentmgr.dll
2 File(s) 6,325,544 bytes
3 Dir(s) 28,109,045,760 bytes free
C:\Program Files (x86)\Common Files\SOLIDWORKS Shared>regsvr32 swdocumentmgr.dll
Gets the same error -> the module swdocumentmgr.dll failed to load even in the directory
I do not know whether the dll library could be register by regsvr32.exe, but that is at least what SolidWorks installer is trying to do:
17:57:04 Error Status 149 0 "Product:SOLIDWORKS ErrorCode:1722 CA:Register_DocMgrDLL.A48C1CF2_EBF8_48E8_ACAD_68CA04F776A2 Location:C:\Windows\system32\ Command:regsvr32 "regsvr32 “C:\Program Files\Common Files\SOLIDWORKS Shared\swdocumentmgr.dll" /s"
17:57:46 Warning Message 9 55200 "Dialog Shown: {0: Internal error: The Windows Installer for this product component did not run as expected: Register_DocMgrDLL.A48C1CF2_EBF8_48E8_ACAD_68CA04F776A2.: Contact Technical Support.}. User selected: {1: 1}"
17:58:21 Info Status 58 55803 "Received data from Installation Manager server (Script: {0: http://im.solidworks.com/2019/Connect.aspx?Release=20190-40500-1100-100&Debug=0&ini=0&osa=8192:0:2&lid=1033&app=I&cx=4097:6&cm=-1&lfr=&lfp=&lfv=}, Code: {1: 0}, Error: {2: }, File: {3: <none>})"
18:00:02 Error Status 156 0 "***START DUMP OF WINDOWS INSTALLER DATA***"
...
emphasizing this part:
Command:regsvr32 "regsvr32 “C:\Program Files\Common Files\SOLIDWORKS Shared\swdocumentmgr.dll" /s"
So the installer is surely trying to execute the regsvr32.exe upon the swdocumentmgr.dll library. (So when I first encounter the error, I tried it register myself exactly as seen above, and when I could not register it manually, then it makes sense that the installer could not too).
EDIT: what libraries (with relation to solidwork I have right now):
c:\Windows\SysWOW64\zlib.dll
c:\Program Files (x86)\Common Files\SOLIDWORKS Shared\zlib.dll
c:\Windows\SysWOW64\swdocumentmgr.dll
c:\Program Files (x86)\Common Files\SOLIDWORKS Shared\swdocumentmgr.dll