"The installation path is too long. You must specify an installation path that is less than 67 characters" is displayed during the installation of BlackBerry Device Service

Article ID: KB33794

Type: Support Content

Last Modified: 03-13-2013

 

Product(s) Affected:

  • BlackBerry Enterprise Service 10
  • BlackBerry Mobile Fusion
  • BlackBerry Device Service
CollapseEnvironment
  • BlackBerry Enterprise Service 10
  • BlackBerry Management Studio
  • BlackBerry Device Service
  • Universal Device Service
  • DT 6855512
  • DT 6303631
CollapseOverview

An attempt to change the installation path for BlackBerry Device Service to be longer than the default path specified will result in the following message:

The installation path is too long. You must specify an installation path that is less than 67 characters.

CollapseCause

This verification has been intentionally included in BlackBerry Device Service installation as a result of the issue observed in DT 6303631. Previous to this change, if an administrator selected a long installation path it could lead to the creation of file paths for the software that exceed the 260 character Windows path limitation called MAX_PATH and so the installation would fail.

The default install path on a Windows 64 bit machine will be:

C:\Program Files (x86)\Research In Motion\BlackBerry Device Service.

The above path is 67 characters and it leads to the longest file path after install nearing the limit at 250 characters:

C:\Program Files (x86)\Research In Motion\BlackBerry Device Service\
BAS\server\default\deploy\999basClientWebAdminConsole.war\WEB-INF\classes\
com\rim\bes\bas\web\adminconsole\components\tenantmanagement\
ManageTenantVPNConfigurationsSearchCriteria.jwc

Therefore, the limit for the install path was set at 67 to avoid the failed installation.

CollapseResolution
Reduce the length of the installation path to 67 characters or less.
CollapseAdditional Information

Information regarding Naming Files, Paths, and namsespaces (Windows) can be found here: 
 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx

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.