We are trying to install PWPS_DAB. But there below error is coming. We tried it for 32-bit and 64-bit ISE, for both same error is coming.
Install-Module PWPS_DAB -Scope Currentuser -Force
WARNING: Error: Unable to load DLL 'dmscli.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at PWPS_DAB.Utility.aaApi_Initialize(Int32 init) at PWPS_DAB.Utility.InitializePWAPI(Int32 init) at PWPS_DAB.NewPWLogin.ProcessRecord()FalseNew-PWLogin : The type initializer for 'PWWrapper' threw an exception.At line:1 char:1+ New-PWLogin+ ~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [New-PWLogin], TypeInitializationException + FullyQualifiedErrorId : System.TypeInitializationException,PWPS_DAB.NewPWLogin
Also the Module Path is present in $env:PSModulePath variable.
Powershell Version -: 5.1.17763.1490
You must have a compatible version of ProjectWise Explorer installed as PWPS_DAB uses those DLLs that are installed with the ProjectWise Explorer client. i.e. dmscli.dll is part of ProjectWise Explorer and is not installed by PWPS_DAB.
Answer Verified By: Pranoti Ubare
Dan, Is there any way to grab the dll's separately of doing the full install? We are trying to setup some servers to run the PW performance script, but our IT is balking at install PW Explorer on a bunch of servers.
If you extract the current all in one PW Explorer installer EXE to it's MSI parts you might get away with just installing the ProjectWise Prerequisite Runtimes without the full Explorer client. Note while I have extracted the MSI parts for install I haven't tried PWPS_DAB with just the Prerequisite Runtimes.
Mr. Williams has retired. Just installing the pre-requisite run times will not work. I really don't feel comfortable providing a manner of slicing and dicing a ProjectWise Explorer install to get around IT departments in my official capacity. Would your IT department be more amenable to installing the ProjectWise Administrator?
Mark Weisman | Bentley Systems