"Error code 1603" is displayed during a Maintenance Release installation for BlackBerry Enterprise Server 5.0 SP2, SP3 or SP4

Article ID: KB27381

Type: Support Content

Last Modified: 02-21-2014

 

Product(s) Affected:

  • BlackBerry Enterprise Server for Microsoft Exchange
  • BlackBerry Enterprise Server for IBM Domino
CollapseEnvironment
  • BlackBerry Enterprise Server 5.0 SP2, SP3 and SP4 for Microsoft Exchange 
  • BlackBerry Enterprise Server 5.0 SP2 and SP3 for IBM Domino 
  • Java 1.6
  • DT 1256617
CollapseOverview

When installing a Maintenance Release after a Java update is installed and Java 1.6 Update 18 is uninstalled the Maintenance Release setup will give an Error code 1603 and fail. Same issue also occurs in SP4 if the Java Development Kit (JDK) is uninstalled. The installer can also popup the error Patch for BlackBerry Enterprise server installation has failed. The setup logs will show the following errors:

[30000] (04/08 10:45:24.984):{0xB48} Step RunInstall failed
[10000] (04/08 10:45:24.984):{0xB48} [CMSIWrapper::Install]: Unknown error launching package [1603]

MSI (s) (9C:24) [09:56:56:877]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIE169.tmp, Entrypoint: CA_CPPDLL_ExplodeBASWarFiles
Action start 9:56:56: CA_CPPDLL_ExplodeBASWarFiles.
RIM: Executing ExplodeBasWarFiles...
RIM: UnzipBasWarFiles: Error attempting to execute \bin\jar.exe xf "C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BAS\server\default\deploy\999basClientWebAdminConsole.local.war".
CustomAction CA_CPPDLL_ExplodeBASWarFiles returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

MSI (s) (9C:0C) [09:56:56:961]: Product: BlackBerry Enterprise Server for Microsoft Exchange - Update '{C986737E-AA51-4D64-AB80-05788A9909E2}' could not be installed. Error code 1603. Additional information is available in the log file C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\Logs\Installer\BESUpgrade.txt.
MSI (s) (9C:0C) [09:56:56:962]: Windows Installer installed an update. Product Name: BlackBerry Enterprise Server for Microsoft Exchange. Product Version: 5.0.0021. Product Language: 1033. Manufacturer: Research In Motion. Update Name: {C986737E-AA51-4D64-AB80-05788A9909E2}. Installation success or error status: 1603.
MSI (s) (9C:0C) [09:56:56:962]: Note: 1: 1729
MSI (s) (9C:0C) [09:56:56:963]: Product: BlackBerry Enterprise Server for Microsoft Exchange -- Configuration failed.
MSI (s) (9C:0C) [09:56:56:963]: Windows Installer reconfigured the product. Product Name: BlackBerry Enterprise Server for Microsoft Exchange. Product Version: 5.0.0021. Product Language: 1033. Manufacturer: Research In Motion. Reconfiguration success or error status: 1603.
MSI (c) (88:EC) [09:56:57:018]: MainEngineThread is returning 1603

CollapseCause

This is caused when Java 1.6.0 update is manually installed into a different installation path, or automatic updates for Java applications are turned on and the installation path was not modified during installation.
Java has changed the installation path:from installationdrive:\Program Files\Java\jre1.6.0_update# to installationdrive:\Program Files\Java\jre6.
The Maintenance releases of SP4 also check and require JDK to be installed. If the JDK was uninstalled after SP4 was installed the same problems will be seen.

CollapseResolution
This is a previously reported issue that is being investigated by our development team. A resolution is currently unavailable.
CollapseWorkaround

Workaround 1

Follow the workaround listed in KB25011. Once this is performed and the Maintenance Release for BlackBerry Enterprise Service is applied, the Java 1.6.0 update may be applied again following KB17872.

Workaround 2

Manually create the correct registry key and point it to the location of the currently installed version of JDK. This will cause the BlackBerry Enterprise Server installer to detect that the required version is already present and skip over the installation of the Java product.

Warning: The following procedure involves modifying the computer registry. This can cause substantial damage to the Windows operating system. Document and back up the registry entries prior to implementing any changes.

For 64-bit Operating System, follow these steps:

  1. Open Registry Editor.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\.
  3. If 1.6.0_18 key does not exist, create it manually.
  4. Under 1.6.0_18, create a new String Value and name it JavaHome.
  5. Right click JavaHome and click on Modify.
  6. Add C:\Program Files (x86)\Java\jdk1.6.0_## in the value and click on OK.
  7. Under 1.6.0_18, create a new String value and name it MicroVersion.
  8. Right click MicroVersion and click on Modify.
  9. Add 0 in the value and click on OK.
  10. Repeat the above steps under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\

 Note: # is the Java update version installed.

For 32-bit Operating System, follow these steps:

  1. Open Registry Editor.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\
  3. If 1.6.0_18 key does not exist, create it manually.
  4. Under 1.6.0_18, create a new String Value and name it JavaHome.
  5. Right click JavaHome and click on Modify.
  6. Add C:\Program Files\Java\jdk1.6.0_## in the value and click on OK.
  7. Under 1.6.0_18, create a new String value and name it MicroVersion.
  8. Right click MicroVersion and click on Modify.
  9. Add 0 in the value and click on OK.
  10. Repeat the above steps under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\

 Note: # is the Java update version installed.

Workaround 3 (Specifically for SP4 or where the Java Development Kit (JDK) has been uninstalled)

  1. Navigate to the installation Media of BlackBerry Enterprise Server SP4:
    C :\Research In Motion\BlackBerry Enterprise Server 5.0.4\bundle0038\tools\jdk1.6.0_31
     
  2. Run: Java 2 Development Kit, SE v1.6.0_31.msi to Re-Install the JDK.
    Note: Use the default settings to install all components into the default folder.
    For Example: C:\Program Files\Java\jdk1.6.0_31
     
  3. Re-attempt the installation of the Maintenance Release.

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.