Jump to content


spgsitsupport

Application for specific hardware

Recommended Posts

Just create a collection for your workstation models (you could do a large collection for all Dell workstations, and then sub collections for specific models if you need it)...then just target that collection with your app/package

  • Like 1

Share this post


Link to post
Share on other sites

As an added safety bonus, you can add a Global Condition to limit it to hardware.

 

Name: Hardware Model - Whatever

Device Type: Windows

Condition Type: Setting

Setting Type: WQL Query

Data Type: String

Namespace: root\cimv2

Class: Win32_ComputerSystem

Property: Model

WQL Query: Model LIKE "%Latitude E4300%"

 

That'll prevent the application from running on anything but Latitude E4300; just assign that Global Condition to your Deployment Type.

 

But yeah, targeting via Collection will be the best bet; this just adds a layer of protection against unintentional deployments. It also lets you just dump these apps into a single "Install Applications" step via OSD, instead of having to break it out into each individual type via WMI queries, if so desired.

  • Like 1

Share this post


Link to post
Share on other sites

Yeah, in this case you might need to see what the installer is returning on an exit code for success or failure, then script something like writing to a reg key that can be used for application detection, if there is no MSI product code being generated.

 

Otherwise, this will have to run as a package.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.