Loading...

Knowledge Center


FAILURE: In LaunchAppAndWait, Return code: 1 (issue: 8.3 naming convention is disabled)
Technical Articles ID:  KB51431
Last Modified:  03/21/2014
Rated:


Environment

McAfee ePolicy Orchestrator (ePO) 5.x, 4.x

Problem 1

Installation of ePO fails when the installation path contains extended characters and the standard 8.3 naming convention is disabled.

Problem 2

You see one of the following errors recorded in EPO###-MSI-Install.log:
 
Error 1 (Apache.exe)
1: Setting the Apache command line to Install.
1: Apache Command line set as follows: "C:\Program Files\McAfee\ePolicy Orchestrator\Apache2\bin\Apache.exe" -k install -n MCAFEEAPACHESRV -d "C:\Program Files\McAfee\ePolicy Orchestrator\Apache2" -f "C:\Program Files\McAfee\ePolicy Orchestrator\Apache2\conf\httpd.conf"
1: Setup detected Debug Level set to [3].
1: The retry logic has been removed because of defect 359787 so fail the install and rollback.
1: FAILURE: In LaunchAppAndWait while trying to run the following program:
"C:\Program Files\McAfee\ePolicy Orchestrator\Apache2\bin\Apache.exe"
Return code: 1
Error Message: Incorrect function.
Error 2 (java.exe)
1: FAILURE: In LaunchAppAndWait while trying to run the following program:
"C:\PROGRA~1\McAfee\EPOLIC~1\jre\bin\java.exe"
Return code: 1
Error Message: Incorrect function.
InstallShield 15:01:19: Setup aborted

Problem 3

You see one of the following errors recorded in EPO###-Error.Ini:
 
Error 1 (Apache.exe)
[ErrorLog]
ErrorString=FAILURE: In LaunchAppAndWait while trying to run the following program:
"C:\Program Files\McAfee\ePolicy Orchestrator\Apache2\bin\Apache.exe"
Return code: 1
Error Message: Incorrect function.
Error 2 (java.exe)
[ErrorLog]
ErrorString=FAILURE: In LaunchAppAndWait while trying to run the following program:
"C:\PROGRA~1\McAfee\EPOLIC~1\jre\bin\java.exe"
Return code: 1
Error Message: Incorrect function.

Cause

The Tomcat service requires the 8.3 naming convention, which must remain enabled for Tomcat to function properly.

Solution 1

CAUTION: This article contains information about opening or modifying the registry.
  • The following information is intended for System Administrators. Registry modifications are irreversible and could cause system failure if done incorrectly.
  • Before proceeding, McAfee strongly recommends backing up your registry and understanding the restore process. For more information, see: http://support.microsoft.com/kb/256986.
  • Do not run a .REG file that is not confirmed to be a genuine registry import file.

The 8.3 naming convention must be enabled on the server when extended characters exist in the installation paths.

NOTE: 
Installation to a path that failed before 8.3 naming was enabled will still fail to that same path. Point the installation to a new directory path because 8.3 naming support is added to that path by default when enabled.
 
To enable the 8.3 naming convention:
  1. Click Start, Run, type regedit and click OK.
  2. Navigate to and select the following registry key:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]

  3. In the right pane, right-click NtfsDisable8dot3NameCreation, and select Properties.
  4. Modify the Value data from 1 to 0.

    NOTE: On a Windows 2008 server the default value is 2, and you have to change it to 0.
     
  5. Restart your computer.
  6. Install ePO to a new directory.

Solution 2

As an alternative, use FSUTIL.EXE to change the value of the NtfsDisable8dot3NameCreation key.
 
Click Start, Run, type in the appropriate command below for your specific operating system, and click OK:

  • On Windows 2008 or older: fsutil.exe behavior set disable8dot3 0
  • On Windows 2008 R2 or newer: fsutil.exe 8dot3name set 0

Solution 3

This issue has been deferred for consideration in a future release or patch version of the product. If this issue significantly impacts your business operations, contact McAfee Technical Support and quote this article number.
 
For contact details:

Alternatively
:
Log in to the ServicePortal at https://support.mcafee.com:
  • If you are a registered user, type your User Id and Password, and click OK.
  • If you are not a registered user, click Register and complete the required fields. Your password and login instructions will be emailed to you.

Previous Document ID

613859

Rate this document

Did this article resolve your issue?

Please provide any comments below

Glossary of Technical Terms


Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.
United States - English
© 2003-2013 McAfee, Inc.