We use Task Sequences to push groups of software packages and scripts a great deal. I have been using Package definition format create definition files to import packages into SCCM 2007 R2 and I can't find any documentation where I can add a specific option to the files without having to Check the box every time I create a package. 

The Selection is under program properties>Advanced>Allow this program to be installed from the Install Software task sequence without being advertised. 

I have looked over all the documentation I can find for Package Definition format and I can't find the option that allows for this.

I have read this document and everything else I can find and I can't find anything that refers to this selection. 

About Package Definition File Format. 

http://technet.microsoft.com/en-us/library/bb632631.aspx

Is there either documentation or an undocumented feature that has the selection for this item without having to add this manually each time?

Thanks for your help.

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2

Since the Package Definition Format has been around for a lot longer than task sequences have been, it is not unimaginable that there are no specific options available.

 

What you can do is approach the programs through the SMS_Program WMI to set the ProgramFlags. See this link: http://social.technet.microsoft.com/Forums/en/configmgrsdk/thread/ca4a4bd1-0995-4a8a-8a6b-2f475f6cac4b

The WMI class is extensively covered in the SCCM SDK documentation

Answered 06/12/2012 by: pjgeutjens
Red Belt

  • Thanks for the Info I'll Check it out.
Please log in to comment
Answer this question or Comment on this question for clarity