Mac – CMAppUtil – failed with 80004005

email me

Command

sudo ./CMAppUtil -c “VLC-3.0.11.1.dmg” -o ./


Error

VLC.app/Contents/Info.plist file failed with error The file “Info.plist” couldn’t be opened using text encoding Unicode (UTF-8). ParseDirectory failed with 80004005.

 


Solution

Add ‘-s’ to skip parse detection


Command

sudo ./CMAppUtil -s -c “VLC-3.0.11.1.dmg” -o ./

 

 

Notes

Another method of getting around the error:

Create a separate PKG using the Packages app. In Packages, add the .app into Applications:  Payload tab > Applications folder > and then Build package. Run the CMAppUtil to create SCCM package. Update the CMMAC Detection.xml file with the app versioning info.

Example:

<Package PackageName=”VLC-3.0.11.1.pkg” PackageType=”pkg”>
<DetectionAction Type=”Basic”>
<Property Identifier=”org.videolan.vlc” Version=”3.0.11.1″ Type=”AppBundle”/>