Add entire group to custom macro component.

  • Thread starter Thread starter George Messerer
  • Start date Start date
G

George Messerer

Hi,

I'm building an XPE image, that must include all printer drivers, which can
be found in Hardware:Devices:Printers in TD.
There are 2645 entries...
So, I decided to create macro component with all that printers.

Can you please tell me how to add all of them to my macro component in an
easy way?
Is there any possibility to add entire group to my component at once?

Tank you.
 
George,

Don't know why would you need to add any printer component to your mage but
I can suggest you a tool that may do the job...

On www.xpefiles.com under "Development Utilities\Main" folder you will find
"XPeTools" set of custom components. You may be interested in "XPPro
Emulation" component from the set. Read what is does first (check
Readme.txt).
If you add the component to your configuration and specify "Hardware :
Devices : Printers" as a group filter on the component's Settings page
(don't forget to set maximum number in the "Number of components to be added
to the Configuration" field), you will be able to add all the printer
entries from that category to your configuration (after that you may
remove/disable "XPPro Emulation" component).
Only make sure you've got enough RAM on your dev machine - the final
configuration project is going to have virtually 2645 printer components and
TD VM usage will be more than 530M. To see all the added components in the
Configuration, you will need to save it, close TD and open the project file
again.

Instead of all the above, you may just use Printers.slx configuration from
www.xpefiles.com (Printers.zip under the same folder) that has all the 2645
printers entries included.

Don't know if it helps,
KM

PS. The tool has a bug, though. When you add so many (> 2200) components at
one session, it won't be able to save the SLX file properly (CMI object
model bug, I guess). I don't have a time right now to fix it completely in
the tool sources but I've got a workaround - I have to add almost all the
components (< ~10000 passed), save the project, close TD and re-open the
project file. Then I just add all the components again (it won't add the
components already existing in the Configuration). Weird but works.

GM> Hi,

GM> I'm building an XPE image, that must include all printer drivers,
GM> which can be found in Hardware:Devices:Printers in TD.
GM> There are 2645 entries...
GM> So, I decided to create macro component with all that printers.

GM> Can you please tell me how to add all of them to my macro component
GM> in an easy way?
GM> Is there any possibility to add entire group to my component at
GM> once?

GM> Tank you.
 
Back
Top