I'm having issues here upgrading an App-V application in SCCM, resulting in the error '0x0000180C'

We're currently advertising our applications to users (not machines) and we're using 'download and execute'.

I sequenced an application, advertise it to a user and everything is fine.

On my sequencing machine, I then open the sequence for upgrade, make my changes and save it (not save as).

I then use the 'Update Package' command on the app in SCCM and follow the usual steps required in the wizard.

When it attempts to upgrade the exisiting installation on a workstation via the following command.......

"C:\Program Files\Microsoft Application Virtualization Client\SFTMIME.COM" ADD PACKAGE:"UpgrageTest-2-R2" /MANIFEST "C:\\WINDOWS\\system32\\CCM\\Cache\\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\\UpgrageTest-1-R1_manifest.xml" /OverrideUrl "FILE://C:\\WINDOWS\\system32\\CCM\\Cache\\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\\CAL003FE.sft"

.........I returns the following error.........

'The operation failed because the GUID in the package manifest matches a package name other than the one specified. Verify the package name, and then try again.'

The newer version of the sequenced application downloads correctly into the SCCM cache, but it just fails to update to the new version.

Within the sequences manifest files, both v1 and v2 have the same package guids, the versionguids are different.


Any suggestions would be appreciated as we've been struggling with this for some time now. Not being able to upgrade our virtual apps correctly is starting to become an issue.

The contents of the VirtualApp.log are below


<![LOG[Registering the virtual application package [CAL003FE] with the AppVirtMgmt client.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:98">
<![LOG[Searching for file using pattern: [C:\WINDOWS\system32\CCM\Cache\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\*manifest.xml]]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1637">
<![LOG[Found file C:\WINDOWS\system32\CCM\Cache\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\UpgrageTest-1-R1_manifest.xml.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1669">
<![LOG[Searching for file using pattern: [C:\WINDOWS\system32\CCM\Cache\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\*.SFT]]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1637">
<![LOG[Found file C:\WINDOWS\system32\CCM\Cache\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\CAL003FE.sft.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1669">
<![LOG[Loading package properties from the manifest file: C:\WINDOWS\system32\CCM\Cache\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\UpgrageTest-1-R1_manifest.xml.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:68">
<![LOG[Checking for changes to key package properties.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:457">
<![LOG[The version guid for the package has not changed.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:518">
<![LOG[The SCCM package id for the package has not changed.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:565">
<![LOG[The delivery method for the package content has not changed.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:663">
<![LOG[The SFT file location for the package has not changed.]LOG]!><time="09:36:53.717+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:612">
<![LOG[The key properties for the package have not changed.]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:478">
<![LOG[The current state for package guid [{F35B7ACC-79EF-43C3-BC7F-1214C4645521}] is Failure.]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:424">
<![LOG[App-V Version is 4.6, Major Version is 4 and Minor Version is 6.]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapputils.cpp:223">
<![LOG[The package name is UpgrageTest-2-R2.]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:133">
<![LOG[Retrieving the AppVirtMgmt client install path from SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration.]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1701">
<![LOG[Checking if the file C:\Program Files\Microsoft Application Virtualization Client\SFTMIME.COM exists.]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1755">
<![LOG[Opened the root\microsoft\appvirt\client WMI namespace.]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppQuery" context="" type="1" thread="5828" file="vappquery.cpp:144">
<![LOG[BuildWMIObjectPath completed successfully. Path = Package.PackageGUID="F35B7ACC-79EF-43C3-BC7F-1214C4645521".]LOG]!><time="09:36:53.732+360" date="10-27-2010" component="VAppQuery" context="" type="1" thread="5828" file="vapputils.cpp:581">
<![LOG[Found the package object Package.PackageGUID="F35B7ACC-79EF-43C3-BC7F-1214C4645521".]LOG]!><time="09:36:56.451+360" date="10-27-2010" component="VAppQuery" context="" type="1" thread="5828" file="vappquery.cpp:163">
<![LOG[The virtual package {F35B7ACC-79EF-43C3-BC7F-1214C4645521} is not in use.]LOG]!><time="09:36:56.451+360" date="10-27-2010" component="VAppQuery" context="" type="1" thread="5828" file="vappquery.cpp:170">
<![LOG[CVAppQuery::PackageInUse() completed successfully.]LOG]!><time="09:36:56.451+360" date="10-27-2010" component="VAppQuery" context="" type="1" thread="5828" file="vappquery.cpp:182">
<![LOG[CVAppPackageInfo::WriteToRegistry() succeeded.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:316">
<![LOG[App-V Version is 4.6, Major Version is 4 and Minor Version is 6.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapputils.cpp:223">
<![LOG[Registering the launch tool VappLauncher.exe for virtual app shortcuts.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:558">
<![LOG[The launch tool VappLauncher.exe is already registered for the OSD file open command.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:581">
<![LOG[The launch tool VappLauncher.exe is already registered for the Launch command.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:597">
<![LOG[The DDE launch tool VappLauncher.exe is already registered for the Launch command.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:617">
<![LOG[Successfully registered the VappLauncher.exe launch utility with the AppVirtMgmt client.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:734">
<![LOG[Retrieving the AppVirtMgmt client install path from SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1701">
<![LOG[Checking if the file C:\Program Files\Microsoft Application Virtualization Client\SFTMIME.COM exists.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1755">
<![LOG[The AppVirtMgmt client is configured for use with SCCM.]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:524">
<![LOG[ADD PACKAGE command line = ["C:\Program Files\Microsoft Application Virtualization Client\SFTMIME.COM" ADD PACKAGE:"UpgrageTest-2-R2" /MANIFEST "C:\\WINDOWS\\system32\\CCM\\Cache\\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\\UpgrageTest-1-R1_manifest.xml" /OverrideUrl "FILE://C:\\WINDOWS\\system32\\CCM\\Cache\\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\\CAL003FE.sft"]]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1201">
<![LOG[Executing command line: "C:\Program Files\Microsoft Application Virtualization Client\SFTMIME.COM" ADD PACKAGE:"UpgrageTest-2-R2" /MANIFEST "C:\\WINDOWS\\system32\\CCM\\Cache\\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\\UpgrageTest-1-R1_manifest.xml" /OverrideUrl "FILE://C:\\WINDOWS\\system32\\CCM\\Cache\\CAL003FE.2.S-1-5-21-1850434913-380853956-1977974148-6157\\CAL003FE.sft"]LOG]!><time="09:36:56.467+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1031">
<![LOG[The command completed with exit code 6156.]LOG]!><time="09:36:56.748+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:1140">
<![LOG[CVAppRegistration::RunAddPkgCommand failed. (0x80009101)]LOG]!><time="09:36:56.748+360" date="10-27-2010" component="VAppRegistration" context="" type="3" thread="5828" file="registrationhandler.cpp:785">
<![LOG[Succeeded loading resource DLL 'C:\WINDOWS\system32\CCM\1033\swd_res.dll']LOG]!><time="09:36:56.748+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="util.cpp:869">
<![LOG[Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of CLIMSG_VIRTUALAPP_ERROR_PACKAGEADD_FAILURE
{
AdvertisementId = "CAL204BE";
ClientID = "GUID:4258C795-2A9E-4586-AF65-66923B12B7FD";
DateTime = "20101027153656.764000+000";
ErrorCode = "0x0000180C";
ErrorMessage = "The command failed with error 0x0000180C.";
MachineName = "C-D-VM-127D8";
PackageID = "CAL003FE";
ProcessID = 2208;
SiteCode = "CAL";
ThreadID = 5828;
VirtualAppPackageGUID = "{F35B7ACC-79EF-43C3-BC7F-1214C4645521}";
VirtualAppPackageName = "UpgrageTest-2-R2";
};
]LOG]!><time="09:36:56.780+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="event.cpp:525">
<![LOG[Raised ADD PACKAGE Registration Failure event for Ad: CAL204BE, PackageID: CAL003FE, Name: UpgrageTest-2-R2, PackageGUID: {F35B7ACC-79EF-43C3-BC7F-1214C4645521}]LOG]!><time="09:36:56.780+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="registrationhandler.cpp:2067">
<![LOG[CVAppRegistration::ExecuteAdd failed for the virtual application package. (0x80009101)]LOG]!><time="09:36:56.780+360" date="10-27-2010" component="VAppRegistration" context="" type="3" thread="5828" file="registrationhandler.cpp:219">
<![LOG[CVAppPackageInfo::WriteToRegistry() succeeded.]LOG]!><time="09:36:56.780+360" date="10-27-2010" component="VAppRegistration" context="" type="1" thread="5828" file="vapppackageinfo.cpp:316">

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Note that the same error appears when streaming the application and performing an upgrade.
Answered 10/27/2010 by: michaelnowell
Second Degree Blue Belt

Please log in to comment
0
'The operation failed because the GUID in the package manifest matches a package name other than the one specified. Verify the package name, and then try again.'

Is "UpgrageTest-2-R2" the name of the original package or have you changed this in the upgraded package? If so, try using the original name...This is the only thing I can think of at the moment.
Answered 10/28/2010 by: Rheuvel
Brown Belt

Please log in to comment
0
I had a similar problem and fixed it by listing all the apps in WMI, I was sure that there couldnt of been a conflict but as soon as I listed them out it was easy to spot the duplicate GUID.
Answered 11/04/2010 by: Jon_Kidd
Orange Senior Belt

Please log in to comment
0
Hi

from the error code I'm guessing you've go a duplicate package GUID somewhere. Have you upgraded an existing application?

S
Answered 05/02/2011 by: SeeQuench
Senior Yellow Belt

Please log in to comment
0
Hello,

See this post;
http://www.viridisit.se/eng/blog/?p=921
Answered 05/11/2011 by: nucko
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity