Thanks to everyone who responded. Gives me some good direction to go in. --- Original Message ---
From: "Jason Condo" <[email protected]> Sent: April 2, 2015 4:32 PM To: [email protected] Subject: RE: [mssms] Applications - Requirements I am doing something similar for a client I am at currently. They want an application so that it shows to the users as “Company App” but in the deployment types, one is the Base install and the other DT is the Bells and Whistles install. The application was deployed to users so we needed to figure out at runtime whether they should get DT Base or DT B&W. Since a user targeted Base could log into a computer that another user needing B&W might also use, we couldn’t just use 2 different Applications. Similar to the other ideas here, you need to figure out how to mark the computer so that at runtime you can have a condition check and either execute the DT or skip to the next one. How I approached it was by creating a separate package and deployment to the computers that I knew needed the B&W install that would create a setting (registry, file, etc) that I could look for later. I then deployed the application to users and had the B&W DT look for the file as a requirement. If it didn’t find it, the DT would be skipped and run the Base DT. I also had a backup check to make sure the file didn’t exist in case the rules engine flaked. The function of how you get the setting to the particular computers can be any number of ways. Maybe an environment variable, network setting, location, OU, group, or maybe just a check file based on recently launched software. Jason Condo From: [email protected] [mailto:[email protected]] On Behalf Of Gailfus, Nick Sent: Thursday, April 2, 2015 3:45 PM To: [email protected] Subject: Re: [mssms] Applications - Requirements You could use group policy or a script to create a unique registry key entry for each group. Then use that reg key as the determination of what installer runs based on a custom requirement. You could have the key's values be DT1 or DT2 and use the requirements of each deployment type to determine which machine it runs on. Inline image 1 Nick Gailfus Computer Technician p. 602.953.2933 f. 602.953.0831 <mailto:[email protected]> [email protected]| <http://www.leonagroup.com/> www.leonagroup.com <https://docs.google.com/uc?export=download&id=0B0WCu30aQag1cjBqalJfSmtEN1k&revid=0B0WCu30aQag1QlZMZGMvcTZjQXZPZTlpVGI2MWR6VXhRMTJ3PQ> On Thu, Apr 2, 2015 at 12:26 PM, Robert Spinelli <[email protected]> wrote: One example is we need to install some client/server software that connects to a different servers that is defined using a /server= switch. So the DT looks something like this: DT 1 - Command line: install.exe /server:devserver01 DT 2 - Command line: install.exe /server:prodserver01 DT1 would need to run on 50 of the machines DT2 would need to run on 50 of the machines You could say all 100 machines are the same for this. I’m not able to create a requirement based off something unique saying if you have this setting then run DT1 if you have this setting run DT2. I think I answered my own question. It sounds like all I could do is create 2 applications for the same application and 2 collections (1 collection with 50 machine, 2nd collection with 50 machines) and target App1 (install.exe /server:devserver01) to collection1 and App2 (install.exe /server:prodserver01) to collection2. Unless I’m missing something. Rob From: [email protected] [mailto:[email protected]] On Behalf Of Juelich, Adam Sent: Thursday, April 2, 2015 2:06 PM To: [email protected] Subject: Re: [mssms] Applications - Requirements With GPO Preferences you would use 'Item-Level Targeting.' No need to make your OU structure more complex and mess with the default Security Filtering. I'm having a hard time figuring out what you're trying to do. You could create your own requirement based on something do have different Deployment Types target them. What is the differentiating factor between these devices? ----------------------------------------------- Adam Juelich Pulaski Community School District <http://www.pulaskischools.org> Client Management Specialist 920-822-6075 On Thu, Apr 2, 2015 at 12:32 PM, ccollins9 <[email protected]> wrote: Well even with GPO preferences, you would need a way to differentiate the computers. So either deploying the GPO to two different OUs, or if one OU, have the machines in groups and apply GPO Security filtering to the GPO so that different computers get the different settings. On Thu, Apr 2, 2015 at 1:21 PM, Robert Spinelli <[email protected]> wrote: Could be really anything, this machine is part of LOB1 and this machine is part of LOB2 for example and they want this setting over this setting but they are both in the same OU. GPO Preferences is a thought. From: [email protected] [mailto:[email protected]] On Behalf Of ccollins9 Sent: Thursday, April 2, 2015 10:22 AM To: mssms Subject: Re: [mssms] Applications - Requirements Just curious, what makes the different enough to run different commands on different machines? Of the top of my head, you could put a registry setting on them via GPO Preferences, then have the DT requirements check for the different registry settings. On Thu, Apr 2, 2015 at 10:01 AM, Robert Spinelli <[email protected]> wrote: So trying to figure out how others do this: Application called App1 The App can be installed using 2 command lines: Command line1: install.exe /test1 Command line2: install.exe /test2 You want to use App1 and target it to a collection based of a user group called: Contoso\App1 with 100 machines in it. 50 of the machines need command line: install.exe /test1 50 of the machines need command line: install.exe /test2 I can create 2 DT’: DT1: install.exe /test1 DT2: install.exe /test2 In order to do requirements for both DT’s its best to bounce of something local on the machine (ex: OS), but what if there really isn’t anything different about the 100 machines 50 of them need to do a specific thing (ex: /test1) and the other 50 need to do some other specific thing (ex: /test2). I was thinking of doing a requirement based off of AD group, but from everything I read requirements shouldn’t use AD groups since that could cause high load at evaluation time. Do others just create 2 apps even though it’s the same app just with a different command line and then create 2 collections and target those 2 collections? Rob

