0
Answered

Check version of WSP installed?

Matthew Woolnough 6 years ago in UNIFYBroker/Microsoft SharePoint updated 6 years ago 5

How can I check the version of WSP installed on SharePoint?  

Need to know in case we need to revert if upgrade does not go as planned.


Answer

Answer
Answered

As the DLL's are deployed to the GAC, there is no need to roll back that part (strongly named allowing multiple versions to be deployed). The SharePoint administrator should know how to redeploy/upgrade/downgrade the wsp file that you provide.

Answer
Answered

As the DLL's are deployed to the GAC, there is no need to roll back that part (strongly named allowing multiple versions to be deployed). The SharePoint administrator should know how to redeploy/upgrade/downgrade the wsp file that you provide.

If the upgrade doesn't go as planned and we need to rollback to the original WSP, we need to know what the original version was.

The following will provide the FileVersion of the Unify DLLs in the GAC. Is that enough to go on?


Update-TypeData -TypeName System.Io.FileInfo -MemberType ScriptProperty -MemberName FileVersionUpdated -Value {
    New-Object System.Version -ArgumentList @(
        $this.VersionInfo.FileMajorPart
        $this.VersionInfo.FileMinorPart
        $this.VersionInfo.FileBuildPart
        $this.VersionInfo.FilePrivatePart
    )
} 
Get-ChildItem -Path C:\Windows\assembly -Recurse  -Filter Unify* | foreach { Get-Item $_.FullName | Format-List }

That'll give you the DLL version, but won't tell you which one was being used (if there are more than one deployed). The SharePoint admin should be able to tell you the deployed version information if needed.

It seems the version might be 3.0.5.6 


So the answer is that the SharePoint central admin UI actually tells you the version, by the looks of it.