Had this issue at random on several workstations. Sometimes an Office 2013 (or Visio, Project) package refused to publish on workstations.
Errors
Event Logs – AppV Logs
Event ID 4001
The App-V client failed to create a process for machine script event AddPackage with command line: ‘”C:\ProgramData\App-V\0123E69C-B152-4C70-B178-41BE0D2B7D1B\5197E402-1206-4940-BD96-A0597E7D4B1F\Root\..\Scripts\Integrator.exe” /I /Msi /License /AppV PackageGUID=0123e69c-b152-4c70-b178-41be0d2b7d1b PackageRoot=”C:\ProgramData\App-V\0123E69C-B152-4C70-B178-41BE0D2B7D1B\5197E402-1206-4940-BD96-A0597E7D4B1F\Root” MsiName=SPPRedist.msi,SPPRedist64.msi PidKey=FN8TT-7WMH6-2D4X9-M337T-2342K,YC7DK-G2NP3-2QQC3-J6H88-GVGXT,C2FG9-N6J68-H8BTJ-BW3QX-RM3B3 PRIDName=VisioStdVolume’. Windows error: Access is denied.. The path must be a Windows application (.exe file).
Event ID 1008
Package {0123e69c-b152-4c70-b178-41be0d2b7d1b} version {5197e402-1206-4940-bd96-a0597e7d4b1f} failed configuration in folder ‘C:\ProgramData\App-V\0123E69C-B152-4C70-B178-41BE0D2B7D1B\5197E402-1206-4940-BD96-A0597E7D4B1F’ with error 0x7D401F30-0x5.
Event ID 19104
Part or all packages publish failed.
published: 0
failed: 1
Please check the error events of ‘Configure/Publish Package’ before this message for the details of the failure.
Analytic and Debug Logs
Solution
- Delete package cache (In my case: C:\ProgramData\App-V\0123E69C-B152-4C70-B178-41BE0D2B7D1B)
- Disable PackageStoreAccessControl (because this was enabled through our custom package install)
- Can be done using Powershell:
Set-AppvClientConfiguration -PackageStoreAccessControl 0
- Or via a registry change:
- Reboot
This fixed the issue.
Because the PackageStoreAccessControl feature will be depreciated in the feature App-V 5 release, it’s recommend to disable it imho.
Thanks to Jur Huisman and Falko Gräfe to bring me on the right track (Microsoft forums)
/Ben