This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos 4.5 to 5.1 Upgrade

HI,

I am currently trying to upgrade out Sophos infrasturcture from 4.5 to 51.We two servers 1 running the DA and the other running the Managment Server & Console

I am trying to upgrade the DB server (Windows 2003 x64 R2 SP2 running SQL server 2005) but everytime I run the 5.1 instller i get the following error message:

Unable to install Sophos Enterprise Console

MSI terminated unexepectedly.

The bootstrapper log states

20/06/2013 10:52:10, INFO : Command: Sophos Enterprise Console Backup Tool succeeded
20/06/2013 10:52:10, INFO : About to disable custom actions in cached Sophos Enterprise Console MSI that would otherwise prevent upgrade from succeeding
20/06/2013 10:52:10, INFO : Path to cached Sophos Enterprise Console msi: C:\WINDOWS\Installer\902b7.msi
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='Abort_NO_UI_v5'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='Abort_NO_UI_v6'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='Run_ARP_Applet'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='MMC_Kill'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='GroupAndUser_Delete.36CEF5E1_0A61_4F3D_8021_3EB65C4966D0'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='GroupAndUser_DeleteRB.36CEF5E1_0A61_4F3D_8021_3EB65C4966D0'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='DeleteAdminGroup_Uninstall.A7BF7F78_EC24_4CF0_9C11_B360F063EAEB'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallExecuteSequence` SET `Condition`='0' WHERE `Action`='CleanUp'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallUISequence` SET `Condition`='0' WHERE `Action`='SUM_Uninstall'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, INFO : About to execute MSI query: UPDATE `InstallUISequence` SET `Condition`='0' WHERE `Action`='SUM_Delete_Admin_Share'
20/06/2013 10:52:10, ERROR : MsiDatabaseOpenView failed with error: 6
20/06/2013 10:52:10, ERROR : Failed to disable custom actions from cached MSI.  Error: 6
20/06/2013 10:52:10, ERROR : Failed to update registry to make SUM visible in Add Remove Programs
20/06/2013 10:52:10, INFO : About to Uninstall Sophos Enterprise Console
20/06/2013 10:52:17, INFO : Processing INSTALLMESSAGE_ERROR or INSTALLMESSAGE_FATALEXIT message from MSI
20/06/2013 10:52:17, INFO : Deactivate state: Installing
20/06/2013 10:52:17, INFO : Activate state: Failing
20/06/2013 10:52:17, INFO : Uninstallation of Sophos Enterprise Console failed with error code: 1603
20/06/2013 10:52:17, INFO : Ended uninstalling Sophos Enterprise Console
20/06/2013 10:52:17, INFO : Installation failed with error code: 1603
20/06/2013 10:52:17, INFO : Deactivate state: Failing
20/06/2013 10:52:17, INFO : Activate state: Failed
20/06/2013 10:52:17, INFO : Entered Installation failed page.
20/06/2013 10:52:17, INFO : There is not a SOPHOS instance on the local machine
20/06/2013 10:52:17, INFO : Uninitialized COM in SQL server searcher thread
20/06/2013 10:56:45, INFO : Opening logs folder: C:\Documents and Settings\All Users\Application Data\Sophos\Management Installer
20/06/2013 10:56:45, ERROR : Could not open temp folder. ShellExecute() returned error: 33 - The process cannot access the file because another process has locked a portion of the file.

The Sophos_Sophos Enterpirse Console states

MSI (s) (70:40) [10:52:17:732]: Note: 1: 1725 
MSI (s) (70:40) [10:52:17:732]: Product: Sophos Enterprise Console -- Removal failed.

MSI (s) (70:40) [10:52:17:748]: Windows Installer removed the product. Product Name: Sophos Enterprise Console. Product Version: 4.5.0. Product Language: 1033. Removal success or error status: 1603.

MSI (s) (70:40) [10:52:17:795]: Cleaning up uninstalled install packages, if any exist
MSI (s) (70:40) [10:52:17:795]: MainEngineThread is returning 1603
MSI (s) (70:A0) [10:52:17:795]: No System Restore sequence number for this installation.
=== Logging stopped: 20/06/2013  10:52:17 ===
MSI (s) (70:A0) [10:52:17:795]: User policy value 'DisableRollback' is 0
MSI (s) (70:A0) [10:52:17:795]: Machine policy value 'DisableRollback' is 0
MSI (s) (70:A0) [10:52:17:795]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (70:A0) [10:52:17:795]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (70:A0) [10:52:17:795]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (70:A0) [10:52:17:795]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
MSI (s) (70:A0) [10:52:17:795]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
MSI (s) (70:A0) [10:52:17:795]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (70:A0) [10:52:17:795]: Restoring environment variables
MSI (s) (70:A0) [10:52:17:795]: Destroying RemoteAPI object.
MSI (s) (70:E4) [10:52:17:795]: Custom Action Manager thread ending.
MSI (c) (7C:C0) [10:52:17:811]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (7C:C0) [10:52:17:811]: MainEngineThread is returning 1603
=== Verbose logging stopped: 20/06/2013  10:52:17 ===

The Event Log states

The description for Event ID ( 1013 ) in Source ( MsiInstaller ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Product: Sophos Enterprise Console -- Use 'Add or Remove Programs' for this operation., (NULL), (NULL), (NULL), (NULL), , .

Does anyone know whet the problem is and how to fix it? Can I just use Add/Remove programs to unistall sophos 4.5 on the DB server?

:40977


This thread was automatically locked due to age.
Parents
  • I have resolved the issue.

    In the bootstrapper log, above the error messages, I noticed this line

    Path to cached Sophos Enterprise Console msi: C:\WINDOWS\Installer\902b7.msi

    At the beginning of the Sophos_Sophos Enterprise Console log I noticed this line

    Warning: Local cached package 'C:\WINDOWS\Installer\902b7.msi' is missing.

     It appears the upgrade uses the above msi to uninstall Sophos 4.5.

    I fixed this by completing the following steps

    1. Built a 4.5 test system which replicated our production system (2 servers, 1 DB 1 Management Server)
    2. Backed up the C:\WINDOWS\Installer directory on the DB server
    3. Ran the 5.1 installer to upgrade the DB server
    4. Checked the bootstrapper log to get the name of the msi used to uninstall Sophos 4.5
    5. Copied this file off the DB server
    6. Renamed the file to 902b7.msi
    7. Copied the file into the C:\WINDOWS\Installer directory on the production DB server
    8. Ran the 5.1 installer to upgrade the DB server.

    Problem solved

    :41149
Reply
  • I have resolved the issue.

    In the bootstrapper log, above the error messages, I noticed this line

    Path to cached Sophos Enterprise Console msi: C:\WINDOWS\Installer\902b7.msi

    At the beginning of the Sophos_Sophos Enterprise Console log I noticed this line

    Warning: Local cached package 'C:\WINDOWS\Installer\902b7.msi' is missing.

     It appears the upgrade uses the above msi to uninstall Sophos 4.5.

    I fixed this by completing the following steps

    1. Built a 4.5 test system which replicated our production system (2 servers, 1 DB 1 Management Server)
    2. Backed up the C:\WINDOWS\Installer directory on the DB server
    3. Ran the 5.1 installer to upgrade the DB server
    4. Checked the bootstrapper log to get the name of the msi used to uninstall Sophos 4.5
    5. Copied this file off the DB server
    6. Renamed the file to 902b7.msi
    7. Copied the file into the C:\WINDOWS\Installer directory on the production DB server
    8. Ran the 5.1 installer to upgrade the DB server.

    Problem solved

    :41149
Children
No Data