locked
Updating an App-v 5 package in SCCM 2012, update not applying automatically RRS feed

  • Question

  • Hello, just doing some testing of updating an App-v 5 package in SCCM. The application has been deployed and  run on a client pc. I've gone back and opened the package in the sequencer and made some changes and saved it as a new package.

    In SCCM I've updated the content and pointed it at the new package. That all looks fine. It's showing the new files in the content.

    The application deployment settings are set to required and set to install outside maintenance windows. The client has received the update, I can see it in the software center but it's not being applied automatically.

    I've waited over 12 hours so the client has also had its maintenance window but it still has not updated. I've also tried launching the application to see if that would bring in the update but still no joy.

    Just wondered what experience other people have had with this? 

    Friday, November 7, 2014 9:58 AM

Answers

  • When you see it in Software Center, what is the status shown there? "Available" or "Past du, will be installed"?

    Additionally you can check the Event logs: Eventvwr --> Applications and Service Logs --> Microsoft --> AppV --> Client --> Admin

    If the application is in use and SCCM wants to remove your previous package, you will see an error like "A package could not be removed because it is currently in use". This would confirm Dan's point that the package is in use and therefore cannot be removed without any additional commands.


    Regards, Michael - http://blog.notmyfault.ch -

    Friday, November 7, 2014 3:33 PM
  • Then it's definitely not an "App-V issue", but more an issue with SCCM. There are various reasons why it won't install although it's past due. Did you set a maintenance window for that client? Also not that it might take up to 2 hours after the deadline until the software gets deployed. Additionally this might help: http://blogs.msdn.com/b/rslaten/archive/2013/11/26/past-due-applications-not-installing-in-sccm-2012.aspx

    Regards, Michael - http://blog.notmyfault.ch -

    Monday, November 17, 2014 5:11 PM

All replies

  • Firstly, just because you mentioned saving as a new package, if you select that option it will create a brand new v0.0.0.1 package and users settings will not transfer to the new version, so just use save or save as in most cases.

    Have you tried logging the user off and on again? And if the app is published globally, rebooting?

    If the application is in use, then the update will be delayed until either of these events occur, depending on how it was published. Also, if the app has certain integration points such as shell extensions or browser plugins, these can create a lock on the package even though you don't have the application running. You can run a powershell command to stop the package and speed things up if you wish, although this runs the risk of terminating explorer.exe or iexplore.exe:

    Get-AppvClientPackage *name* | Stop-AppvClientPackage   (and add -global to the end if it was globally published)


    Friday, November 7, 2014 1:52 PM
  • When you see it in Software Center, what is the status shown there? "Available" or "Past du, will be installed"?

    Additionally you can check the Event logs: Eventvwr --> Applications and Service Logs --> Microsoft --> AppV --> Client --> Admin

    If the application is in use and SCCM wants to remove your previous package, you will see an error like "A package could not be removed because it is currently in use". This would confirm Dan's point that the package is in use and therefore cannot be removed without any additional commands.


    Regards, Michael - http://blog.notmyfault.ch -

    Friday, November 7, 2014 3:33 PM
  • Hello, thanks for the responses, been away a week so just picking this back up. Software centre was showing as past due, will be installed.

    I've just logged into the pc I was testing and it installed the updated version last week while I was away. Need to look in the event viewer to see what got it started. I take your point Dan about things running in the background, I did reboot the pc to see if that helped but that made no difference. I need to do some more testing.

    Monday, November 17, 2014 3:27 PM
  • Then it's definitely not an "App-V issue", but more an issue with SCCM. There are various reasons why it won't install although it's past due. Did you set a maintenance window for that client? Also not that it might take up to 2 hours after the deadline until the software gets deployed. Additionally this might help: http://blogs.msdn.com/b/rslaten/archive/2013/11/26/past-due-applications-not-installing-in-sccm-2012.aspx

    Regards, Michael - http://blog.notmyfault.ch -

    Monday, November 17, 2014 5:11 PM