cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

Hi Team,

I am getting below error and installation are being failed when trying to upgrade MSME 7.6 to MSME 8.0.  Any quick help will be much appreciated?

Product: McAfee Security for Microsoft Exchange -- Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action McUnregisterTNEFParser.C0AFD795_F6C3_4E4D_9AF7_27CF8E18C8C0, location: C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe, command: /U "C:\Program Files (x86)\McAfee\MSME\bin\McGSETNEFParser.dll"

We are doing standalone deployment.

Regards,

Rajeev

1 Solution

Accepted Solutions

Re: Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

I would suggest a complete uninstall of all McAfee products (MSME, VSE, Agent) and start from scratch. Happened to me too, the time i tried to update from 5.6 to 8.0. Now updateing from 8.0 to 8.0.2 again and imagine what will happen if you try from 8.0.2 to 8.5. Hope you can uninstall without any problem, otherwise there should be a batch-file/script available in the community to get rid of all traces.

6 Replies
Reliable Contributor catdaddy
Reliable Contributor
Report Inappropriate Content
Message 2 of 7

Re: Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

Note: Moved out of Moderation Queue.

Cliff
McAfee Volunteer

Re: Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

Any quick response on this would be much appreciated please.

Regards,

Rajeev

Re: Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

I would suggest a complete uninstall of all McAfee products (MSME, VSE, Agent) and start from scratch. Happened to me too, the time i tried to update from 5.6 to 8.0. Now updateing from 8.0 to 8.0.2 again and imagine what will happen if you try from 8.0.2 to 8.5. Hope you can uninstall without any problem, otherwise there should be a batch-file/script available in the community to get rid of all traces.

Re: Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

unistalling McAfee completely and then reinstalling works

Re: Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

searche and found that script, but without any warranty. Maybe it will damage more, take a deeper look at it before you go down that road.

Can't attache a zip-version, so I'll paiste it

##############################################################

##Copyright (C) 2013 McAfee, Inc.  All rights reserved.

# THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK

# OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.

#

# Synopsis: This script is designed to remove MSME 7.6 and MSME 8.0 from an exchange 2007, 2010 or 2013 server.

#

# Requirements for running script

# 1. must be run from an exchange powershell session

# 2. user needs to have full exchange and server admin rights

# 3. execution policy needs to be set to at least remote-signed

# ex to run from an exchange shell prompt: c:\scripts\remove-msme.ps1

##############################################################

#Initial variables

$mfereg = "HKLM:\SOFTWARE\Wow6432Node\McAfee"

$msmedir = (get-itemproperty "HKLM:\SOFTWARE\Wow6432Node\McAfee\MSME").installroot

$msmebin = (get-itemproperty "HKLM:\SOFTWARE\Wow6432Node\McAfee\MSME").installpath

$startmenulinks = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\McAfee\Security for Microsoft Exchange"

$ExSvrRole = (get-itemproperty "HKLM:\SOFTWARE\Wow6432Node\McAfee\MSME\E2007").ExSvrRole

$e14svr = (get-itemproperty "HKLM:\SOFTWARE\Wow6432Node\McAfee\MSME\E2007").E14

$sysState = get-itemproperty "HKLM:\SOFTWARE\Wow6432Node\McAfee\MSME\SystemState"

$licInfo = dir "HKLM:\SOFTWARE\Wow6432Node\McAfee\MSME\SystemState\License"

$MSVsapi = "HKLM:\SYSTEM\CurrentControlSet\Services\MSExchangeIS\VirusScan"

$msmeUninstall = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BC393843-0A11-4544-877E-0F2E1B74DFCB}"

$msmeInstaller = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\348393CB11A0445478E7F0E2B147FDBC"

$msmeClassInstaller = "HKLM:\SOFTWARE\Classes\Installer\Products\348393CB11A0445478E7F0E2B147FDBC"

$naireg = "HKLM:\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Application Plugins"

$msmeASUninstall = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B00B128C-92AF-4E9B-93C0-F3E18BDB1250}"

$msmeASInstaller = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\C821B00BFA29B9E4390C3F1EB8BD2105"

$msmeASClassInstaller = "HKLM:\SOFTWARE\Classes\Installer\Products\C821B00BFA29B9E4390C3F1EB8BD2105"

$msme8Uninstall = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CB6768BC-7298-4992-8F9B-8009F4CD437C}"

$msme8Installer = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\CB8676BC89272994F8B908904FDC34C7"

$msme8ClassInstaller = "HKLM:\SOFTWARE\Classes\Installer\Products\CB8676BC89272994F8B908904FDC34C7"

Function rm-msmetransport

{

    $IPagent = get-transportagent -id "McAfeeTxIpAgent"

    $ASagent = get-transportagent -id "McAfeeTxAgent"

    $TRXagent = get-transportagent -id "McAfeeTxRoutingAgent"

   

    if($licinfo.count -eq "2")

    {

      write-host "deleting antispam rules updater service"

      stop-service -name MaseRulesUpdater

      (gwmi win32_service -computer $strcomp -filter "name='MaseRulesUpdater'").delete() #-ea SilentlyContinue 

      

      if($msme8 -eq $true)

      {

          if($IPagent)

          {

            uninstall-transportagent -Identity "McAfeeTxIpAgent" -confirm:$false

            write-host "IP Agent is now uninstalled"

        }

        else

        {

            write-host "IP Agent not installed"   

        }

          if($ASagent)

        {

            uninstall-transportagent -Identity "McAfeeTxAgent" -confirm:$false

            write-host "Spam Agent is now uninstalled"

        }

        else

        {

            write-host "Spam Agent not installed"   

        }

        if($TrxAgent)

        {

            uninstall-transportagent -Identity "McAfeeTxRoutingAgent" -confirm:$false

            write-host "Routing Agent is now uninstalled"

        }

        else

        {

        write-host "Routing Agent not installed"   

        }

      }

      else

      {

          if($ASagent)

        {

            uninstall-transportagent -Identity "McAfeeTxAgent" -confirm:$false

            write-host "Spam Agent is now uninstalled"

        }

        else

        {

            write-host "Spam Agent not installed"   

        }

        if($TrxAgent)

        {

            uninstall-transportagent -Identity "McAfeeTxRoutingAgent" -confirm:$false

            write-host "Routing Agent is now uninstalled"

        }

        else

        {

        write-host "Routing Agent not installed"   

        }

      }

      stop-service -name MsExchangeTransport

    }

    else

    {

          if($TrxAgent)

        {

            uninstall-transportagent -Identity "McAfeeTxRoutingAgent" -confirm:$false

            write-host "Routing Agent is now uninstalled"

        }

        else

        {

        write-host "Routing Agent not installed"   

        }

      stop-service -name MsExchangeTransport

    }

   

    if ($ExSvrRole -eq 3)

    {

    rm-msmeMailbox

    }

    else

    {

    write-host "`nStopping the msme service"

    stop-service -name msme

    rm-msmeFiles

    }

}

Function rm-msmeMailbox

{

    $mbinfo = get-mailboxserver $serverinfo.name

   

    #check to see if this is an scc cluster

    If ($IsCluster) #($serverinfo.AdminDisplayVersion -like "Version 8*" -and $mbinfo.ClusteredStorageType -eq "Shared")

    {

        gci HKLM:\Cluster\Resources |%{$values = get-itemproperty $_.pspath;if($values.type -like "*Information Store"){$clusresexnm = $values.name}}

        if ($sysState.PPClustered -and $sysState.IsActiveNode -and $sysState.PPClusterResName)

        {

            cluster resource $sysState.PPClusterResName /offline

            cluster resource $sysState.PPClusterResName /Delete

        }   

        else

        {

            gci HKLM:\Cluster\Resources |%{$values = get-itemproperty $_.pspath;if($values.type -like "mcafee*"){$clusresnm = $values.name}}

            if (!$clusresnm)

            {

            write-host "MSME cluster resourse not found"

            stop-service -name "MSME"

            }

            else

            {

            cluster resource $clusresnm /offline

            cluster resource $clusresexnm /offline

            wait-process store

            cluster resource $clusresnm /Delete

            }

        }

        rm-msmeFiles

        cluster resource $clusresexnm /online

    }   

    else

    {

    write-host "Stopping the msme service"

    stop-service -name "MSME"

    wait-process -name rpcserv -ea silentlyContinue

    stop-service -name "MSExchangeIS"

    wait-process -name store -ea silentlyContinue

    stop-service -name "McAfeeFramework" -ea SilentlyContinue

   

    rm-msmeFiles

    start-service -name "MSExchangeIS"

    }

   

}

#Function to remove install files, msme services and registry keys

Function rm-msmeFiles

{

    #Delete the msme related services

    write-host "deleting the msme service"

    $msmesvc = get-service -name msme

    if ($msmesvc.status -eq "Running")

    {

    stop-service -name msme

    wait-process -name "rpcserv" -ea silentlycontinue

    }

    else

    {

    (gwmi win32_service -computer "." -filter "name='MSME'").delete()

    }

    if ($e14svr -eq 1)

    {

        $msmeRepsvc = get-service -name MSMEReplicationService -ea silentlyContinue

        if ($msmeRepsvc.status -eq "Running")

        {

        stop-service -name MSMEReplicationService

        write-host "deleting the msme replication service"

        (gwmi win32_service -computer "." -filter "name='MSMEReplicationService'").delete()

        }

        elseif ($msmeRepsvc.status -eq "Stopped")

        {

        write-host "deleting the msme replication service"

        (gwmi win32_service -computer "." -filter "name='MSMEReplicationService'").delete()

        }

        else

        {

        write-host "msme replication service not present"

        }

    }

    del "HKLM:\SYSTEM\CurrentControlSet\services\McAfee Security for Microsoft Exchange" -recurse

   

    #Delete msme install dir

    Try

    {

    Write-host "Deleting msme install directory $msmedir."

    gci -force $msmedir | ri -recurse -force -ea silentlyContinue

    }

    catch [system.exception]

    {   

       Write-Host "!! File is still in use and couldn't be removed from msme directory. !!`n" -f "red"

    }

    finally

    { 

    #Delete msme registry key

    Get-ChildItem $mfereg | Where-Object {$_.PSChildName -eq 'MSME'} | Remove-Item -Recurse -Force #-whatif

   

    if($msme8 -eq $true)

    {

        Write-host "deleting epo application plugin key for msme`n"

        Get-ChildItem $naireg |?{$_.PSChildName -eq 'MSME____8000'} | Remove-Item -Recurse -Force

        Get-ChildItem $naireg |?{$_.PSChildName -eq 'MSME8000x64L'} | Remove-Item -Recurse -Force

        Write-host "deleting msi references to msme`n"

        del $msme8Uninstall

        del $msme8Installer -recurse

        del $msme8ClassInstaller -recurse

       

        # removes all windows installer components related to msme

        $msme8comInstall = dir HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components | ?{$_.property -eq "CB8676BC89272994F8B908904FDC34C7"}

        $msme8comInstall | % {del $_.psPath -recurse}

        write-host "MSME 8 windows components have been removed`n"

    }

    else

    {

        Write-host "deleting epo application plugin key for msme`n"

        Get-ChildItem $naireg |?{$_.PSChildName -eq 'MSME____7600'} | Remove-Item -Recurse -Force

        Get-ChildItem $naireg |?{$_.PSChildName -eq 'MSME7600x64L'} | Remove-Item -Recurse -Force

        Write-host "deleting msi references to msme`n"

        del $msmeUninstall

        del $msmeInstaller -recurse

        del $msmeClassInstaller -recurse

       

        # removes all windows installer components related to msme

        $msmecomInstall = dir HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components | ?{$_.property -eq "348393CB11A0445478E7F0E2B147FDBC"}

        $msmecomInstall | % {del $_.psPath -recurse}

        write-host "`nMSME 7.6 windows components have been removed"

    }

   

    #Delete the desktop links for msme

    Write-Host "Removing MSME Desktop Links`n"

    Get-ChildItem $env:Public\Desktop\*.lnk | ?{$_.name -like "mcafee security*"} | %{ Remove-Item $_ }

   

    write-host "Removing MSME start menu links`n"

    remove-item $startmenulinks -recurse -force -ea silentlyContinue

    

    #Delete msexchangeis\virusscan reg key

    if((test-path $MSVsapi) -eq $true)

    {

    del $MSVsapi

    }

    

    #deleting the msme iis website

    $siteName = 'Default Web Site'

    $vDirName = 'MSME'

    $iisWebSite = Get-WmiObject -Namespace 'root\MicrosoftIISv2' -Class IISWebServerSetting -Filter "ServerComment = '$siteName'"

    $objIIS = new-object System.DirectoryServices.DirectoryEntry("IIS://localhost/" + $iisWebSite.Name + "/Root")

    if(!$iisWebSite) {

        throw ("No website with the name `"$siteName`" exists on this machine")

    }

    else

    {

        $ws = $iisWebSite.Name

          $path = "IIS://localhost/$($iisWebSite.Name)/ROOT/$vDirName"

          write-host "Checking existance of $path"

          if ([System.DirectoryServices.DirectoryEntry]::Exists("IIS://LocalHost/$ws/ROOT/$vDirName"))

          {

            write-host "Deleting Virtual Directory $vDirName at $path ...`n"

            $objIIS.Delete("IIsWebVirtualDir", "$vDirName")

          }

          else

          {

              write-host "$vDirName virtual directory not found"

          }

    }

   

    #Deleting anti-spam install reg keys if present

    $ASUn = get-itemproperty $msmeASUninstall -ea silentlycontinue

   

    If ($ASUn)

        {

        write-host "`nRemoving msi reference for Anti-spam install/uninstall registry keys"

        del $msmeASUninstall

        del $msmeASInstaller -recurse

        del $msmeASClassInstaller -recurse

        Get-ChildItem $naireg |?{$_.PSChildName -eq 'MSMEANTISPAME'} | Remove-Item -Recurse -Force

        }

   

    }

}

#############################################################################

# start --- script to manually remove msme 7.6 or 8.0 from exchange 2007/2010

#

#############################################################################

#checking if cluster installed

$strcomp = $env:COMPUTERNAME

$note = @"

           *******NOTE*******

    Some files under the MSME install directory may not have

been removed because they are still held in use by the framework

service.  Before re-installing MSME, make sure to remove those

files that got left behind.  This will require the framework service

to be stopped and killing the naPrdMgr.exe if it is still listed in

task manager.

"@

if ((test-path HKLM:\Cluster) -eq $true -and $e14svr -ne 1)

{

    write-host "Exchange 2007 cluster found"

    $IsCluster = $True

    $srvname = @()

    get-mailboxserver | ?{$_.ClusteredStorageType -eq "Shared"}|%{$srvname += $_.name}

    foreach($sname in $srvname)

    {

    write-host "testing server" $sname

        if((Get-WMIObject Win32_ComputerSystem -ComputerName $sname).name -eq $strcomp)

        {

            $strcomp = $sname

            $serverinfo = get-exchangeserver -id $strcomp

        }

    }

}

else

{

$serverinfo = get-exchangeserver -id $strcomp

}

$winver = (Get-WmiObject -computer $strcomp -cl Win32_OperatingSystem).version

$msme8 = test-path $msme8Uninstall

if ($msme8)

{

    write-host "Removing McAfee Security for Microsoft Exchange v8.0"

    if ($ExSvrRole -eq 2 -or 3 -or 4)

    {

    rm-msmetransport

    start-service -name MsExchangeTransport

    }   

    else

    {

    rm-msmeMailbox

    }

}

else

{

    write-host "Removing McAfee Security for Microsoft Exchange v7.6"

    if ($ExSvrRole -eq 2 -or 3 -or 4)

    {

    rm-msmetransport

    start-service -name MsExchangeTransport

    }   

    else

    {

    stop-service -name "MSExchangeIS"

    rm-msmeMailbox

    }

}

start-service -name "McAfeeFramework" -ea SilentlyContinue

Write-Host $note

write-host "`n------------------Finished-----------------------"

Reliable Contributor catdaddy
Reliable Contributor
Report Inappropriate Content
Message 7 of 7

Re: Upgradation of MSME 7.6 to MSME 8.0 are being failed

Jump to solution

Discussion successfully moved from Support Forums to Security Information and Event Management (SIEM)

Cliff
McAfee Volunteer
More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community