Symantec Management Platform (Notification Server)

 View Only
  • 1.  when/how the downloaded packages are deleted on clients

    Posted May 08, 2012 09:41 AM

    Hi,

    I am running vbscript using ASDK functions to create, dispatch and run packages on target computers.

    Packages are downloaded at path something like c:\program files\altiris\altiris agents\agents\software management\software delivery\{some GUID}\cache\

    I dont find these packages to get deleted/disappear ever, even if i delete the policies from NS.

    The question is when/how these packages are deleted because after a successfull task execution the existance of package might not be very desired.

     

    Thanks in advance

    fa



  • 2.  RE: when/how the downloaded packages are deleted on clients

    Posted May 08, 2012 02:16 PM

    I think so that there is a opening in the task where you can chose how long you want the package to be on client..



  • 3.  RE: when/how the downloaded packages are deleted on clients
    Best Answer

    Posted May 09, 2012 07:40 AM

    thanks for the hint. Since i am using ASDK so i was able to find a function where we can set if the package will expire or not and how long is it valid.

    for someone looking for the same problem, the exact function in API is:

    SWDSolnAdvertisementManagementLib.SetAvailabilityRemovalOptions(sAdvertisementexGuid,

    bRemoveAfterSuccessfulRun,sAvailableFrom,bExpires,sAvailableTo,bUseServertime)

    Cheers,

    fatima