Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Packaging error when using App-V 5.0 to sequence applications with RELS files


View products that this article applies to.

Symptoms

If an application contains an OPC "relationship part" (.rels) file, the Microsoft App-V 5.0 sequencer fails to package the application. When the failure occurs you receive the following error message:

An error was encountered while trying to finalize the package. Please check the event log for more details.

You can identify a relationship part by the presence of a file with a ".rels" file extension in a folder named "_rels". For more information, refer to the Open Package Conventions (OPC) specification.

↑ Back to the top


Cause

This is a known limitation in App-V 5.0.

↑ Back to the top


Resolution

To work around the limitation, manually delete all relationship files from the package source folder prior to saving the package. Delete the file(s) when reaching the Create Package page in the new package wizard, just prior to clicking the Create button.

↑ Back to the top


More Information

When the error occurs, events that are similar to the following appear in the Microsoft-AppV-Sequencer event log:

Log Name:    Microsoft-AppV-Sequencer/Admin
Source:        Microsoft-AppV-Sequencer
Date:          
Event ID:      404
Task Category: None
Level:         Warning
Keywords:     
User:          DOMAIN\User
Computer:   COMPUTER
Description:
The file 'Root\<ProgramName>\<subfolder>\_rels\document.xml.rels' could not be added to the package (The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)).

Log Name:    Microsoft-AppV-Sequencer/Admin
Source:        Microsoft-AppV-Sequencer
Date:          
Event ID:      405
Task Category: None
Level:         Warning
Keywords:     
User:          DOMAIN\User
Computer:      COMPUTER
Description:
The manifest could not be added to the package (The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)).

Log Name:    Microsoft-AppV-Sequencer/Admin
Source:        Microsoft-AppV-Sequencer
Date:          
Event ID:      5007
Task Category: None
Level:         Error
Keywords:     
User:          DOMAIN\User
Computer:      COMPUTER
Description:
An attempt to finalize the package failed (The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)).

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2843030
Revision : 2
Created on : 3/27/2020
Published on : 3/27/2020
Exists online : False
Views : 723