Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration forum
Viewing all articles
Browse latest Browse all 7129

2013 sp1 update to cu5 fails

$
0
0

the update fails at the transport service step 10 of 17.

Upgrade the MSAV engine if the version on disk is older than the packaged version";

Error:
The following error was generated when "$error.Clear(); 
            Write-ExchangeSetupLog -Info "Upgrade the MSAV engine if the version on disk is 

older than the packaged version";

            $FipsDataPath = [System.IO.Path]::Combine($RoleInstallPath, "FIP-FS\Data");
            $FipsEnginesPath = [System.IO.Path]::Combine($FipsDataPath, "Engines");
            $FipsMsavEnginePath = [System.IO.Path]::Combine($FipsEnginesPath, 

"amd64\Microsoft\Bin");

            # Copy Microsoft Engine to Engines folder during the install
            $FipsBinPath = [System.IO.Path]::Combine($RoleInstallPath, "FIP-FS\Bin");
            $MicrosoftEngineSourcePath = [System.IO.Path]::Combine($FipsBinPath, "Engine

\Microsoft");
            $MicrosoftEngineSourceBinPath = [System.IO.Path]::Combine

($MicrosoftEngineSourcePath, "Bin");
            $MicrosoftEngineDestinationPath = [System.IO.Path]::Combine($FipsEnginesPath, 

"amd64\Microsoft");

            $ShouldUpgradeMicrosoftEngine = $true

            if(Test-Path -Path $MicrosoftEngineSourceBinPath)
            {
              $EngineDirectories = dir $MicrosoftEngineSourceBinPath -Recurse | Where 

{$_.psIsContainer -eq $true};
    
              if(!$EngineDirectories)
              {
                  Write-ExchangeSetupLog -Error "MSAV Engine Version directory is missing.";
                  break;
              }

              $UpgradeVersion = [System.Int64]::Parse($EngineDirectories[0]);
              Write-ExchangeSetupLog -Info "UpgradeVersion = $UpgradeVersion";

              if(!(Test-Path -Path $FipsMsavEnginePath)) {New-Item $FipsMsavEnginePath -

ItemType Directory}
              Foreach ($dir in dir $FipsMsavEnginePath -Recurse | Where {$_.psIsContainer -eq 

$true})
              {
                if($UpgradeVersion -le [System.Int64]::Parse($dir))
                {
                  $ShouldUpgradeMicrosoftEngine = $false;
                  break;
                }
              }

              Write-ExchangeSetupLog -Info "Should Upgrade Microsoft Engine? 

$ShouldUpgradeMicrosoftEngine";
              if($ShouldUpgradeMicrosoftEngine)
              {
                get-childitem $MicrosoftEngineDestinationPath -recurse | remove-item -recurse
                Robocopy $MicrosoftEngineSourcePath $MicrosoftEngineDestinationPath /S 

/COPYALL
              }
            }
            else
            {
              Write-ExchangeSetupLog -Error "Microsoft engine is not installed properly or the 

directory is missing.";
            }
          " was run: "Exception calling "Parse" with "1" argument(s): "Input string was not in 

a correct format."".


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>