<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Can it be done? Install apps based on laptop&#x2F;desktop]]></title><description><![CDATA[<p dir="auto">I am using Groups as OU’s and snappins for apps I want to install.</p>
<p dir="auto">We have 3 applications that we only install on laptops and the way this was originally done through MDT was a Task sequence variable set to IsLaptop = True</p>
<p dir="auto">Anyone knows if this is also a possibility with Fog, I wouldn’t want to segment my groups more as those are mostly used for OU’s…</p>
<p dir="auto">But still I’m listening, what are your suggestions?</p>
]]></description><link>http://forums.fogproject.org/topic/7066/can-it-be-done-install-apps-based-on-laptop-desktop</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 14:44:26 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/7066.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Mar 2016 14:33:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can it be done? Install apps based on laptop&#x2F;desktop on Fri, 01 Apr 2016 12:58:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30626">@FlowLive</a> I guess the only question I am seeing is that you are asking how to determine if the machine is a laptop or desktop.  The easiest way to accomplish this is to use a script as the snap in that will check if it is a laptop and if so run the installer from a share some where.  If it is a desktop then no installer is run.</p>
<p dir="auto">Natively there is no way to have FOG determine if the machine is a laptop.  But if you know what machines are laptops as you add them, you can have machines belong to multiple groups, add all laptops to a Laptop group and apply only those 3 snapins with no other setting in that particular group.  Not automatic, but does work.</p>
<p dir="auto">I quite often use scripts instead of actual files for snap ins, mostly due to old limitations of snapins back in the .32 days, so I guess it is just an old habit.</p>
]]></description><link>http://forums.fogproject.org/post/62106</link><guid isPermaLink="true">http://forums.fogproject.org/post/62106</guid><dc:creator><![CDATA[ITSolutions]]></dc:creator><pubDate>Fri, 01 Apr 2016 12:58:30 GMT</pubDate></item><item><title><![CDATA[Reply to Can it be done? Install apps based on laptop&#x2F;desktop on Fri, 01 Apr 2016 12:42:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/4168">@ITSolutions</a></p>
<p dir="auto">Precisely yes because of tablets and Surface Pro for example…</p>
<p dir="auto">I appreciate everyones help on the matter, anyone has answer to my other requests or could confirm the behavior of the groups snappins?</p>
]]></description><link>http://forums.fogproject.org/post/62103</link><guid isPermaLink="true">http://forums.fogproject.org/post/62103</guid><dc:creator><![CDATA[FlowLive]]></dc:creator><pubDate>Fri, 01 Apr 2016 12:42:50 GMT</pubDate></item><item><title><![CDATA[Reply to Can it be done? Install apps based on laptop&#x2F;desktop on Fri, 01 Apr 2016 12:39:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/28100">@Wayne-Workman</a> You want to be careful using wireless as a determination for laptops.  All of our new desktops have wireless built in also.  They are the micro PC’s from Dell, the 3020M’s.</p>
]]></description><link>http://forums.fogproject.org/post/62102</link><guid isPermaLink="true">http://forums.fogproject.org/post/62102</guid><dc:creator><![CDATA[ITSolutions]]></dc:creator><pubDate>Fri, 01 Apr 2016 12:39:36 GMT</pubDate></item><item><title><![CDATA[Reply to Can it be done? Install apps based on laptop&#x2F;desktop on Fri, 01 Apr 2016 10:05:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/28100">@Wayne-Workman</a> said:</p>
<blockquote>
<p dir="auto">You can script this. Just write a batch file to detect if there is a “Wireless Network Connection 1” or not… There are other ways too, like detecting if there is a battery percentage or not, if there is a lid-close setting available or not. Once you have these checks in a script and working, you can just push your snapin to all systems.</p>
</blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30626">@FlowLive</a> Hi, you can use DMI information to get chassis type.</p>
<p dir="auto">On a linux (in my case it’s a VM on an ESXi) :</p>
<pre><code># dmidecode --string chassis-type
Other
</code></pre>
<p dir="auto">On a windows laptop using a script(in my case a HP Elitebook 820) :</p>
<pre><code>Dim Wmi :Set Wmi = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Dim Arg, Col, Obj

For Each Col In Wmi.ExecQuery("Select * from Win32_SystemEnclosure")
For Each Obj In Col.ChassisTypes
 Select Case Obj
  Case 1  :Arg = "Other"
  Case 2  :Arg = "Unknown"
  Case 3  :Arg = "Desktop"
  Case 4  :Arg = "Low Profile Desktop"
  Case 5  :Arg = "Pizza Box"
  Case 6  :Arg = "Mini Tower"
  Case 7  :Arg = "Tower"
  Case 8  :Arg = "Portable"
  Case 9  :Arg = "Laptop"
  Case 10 :Arg = "Notebook"
  Case 11 :Arg = "Handheld"
  Case 12 :Arg = "Docking Station"
  Case 13 :Arg = "All-in-One"
  Case 14 :Arg = "Sub-Notebook"
  Case 15 :Arg = "Space Saving"
  Case 16 :Arg = "Lunch Box"
  Case 17 :Arg = "Main System Chassis"
  Case 18 :Arg = "Expansion Chassis"
  Case 19 :Arg = "Sub-Chassis"
  Case 20 :Arg = "Bus Expansion Chassis"
  Case 21 :Arg = "Peripheral Chassis"
  Case 22 :Arg = "Storage Chassis"
  Case 23 :Arg = "Rack Mount Chassis"
  Case 24 :Arg = "Sealed-Case PC"
  Case Else 
   Arg = "Unknown"
End Select
Next
Next

WScript.Echo " Type = " &amp; Arg
</code></pre>
<p dir="auto"><img src="/uploads/files/1459504853704-upload-b287f112-3912-478a-aa0b-5a154cdbbe02" alt="0_1459504853029_upload-b287f112-3912-478a-aa0b-5a154cdbbe02" class=" img-fluid img-markdown" /></p>
<p dir="auto">or via wmic :</p>
<pre><code>c:\wmic systemenclosure get chassistypes
ChassisTypes
{10}
</code></pre>
]]></description><link>http://forums.fogproject.org/post/62084</link><guid isPermaLink="true">http://forums.fogproject.org/post/62084</guid><dc:creator><![CDATA[ch3i]]></dc:creator><pubDate>Fri, 01 Apr 2016 10:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to Can it be done? Install apps based on laptop&#x2F;desktop on Thu, 31 Mar 2016 18:48:36 GMT]]></title><description><![CDATA[<p dir="auto">You can script this. Just write a batch file to detect if there is a “Wireless Network Connection 1” or not… There are other ways too, like detecting if there is a battery percentage or not, if there is a lid-close setting available or not. Once you have these checks in a script and working, you can just push your snapin to all systems.</p>
]]></description><link>http://forums.fogproject.org/post/62038</link><guid isPermaLink="true">http://forums.fogproject.org/post/62038</guid><dc:creator><![CDATA[Wayne Workman]]></dc:creator><pubDate>Thu, 31 Mar 2016 18:48:36 GMT</pubDate></item><item><title><![CDATA[Reply to Can it be done? Install apps based on laptop&#x2F;desktop on Thu, 31 Mar 2016 15:21:33 GMT]]></title><description><![CDATA[<p dir="auto">Now I just come to realize something, when I look at a group and I added snappins for that group, It is written: Add Snapin to all hosts in:Groupname</p>
<p dir="auto">I can also delete all snappins from the group. Now does this mean that if I added snappins at some point it will be pushed to all pc’s member of that group?</p>
<p dir="auto">I am asking since I use the Groups as OU’s and those OU’s contains both desktops and laptops, I have apps I manually choose when inventoring and imaging a pc with snappins depending on wether those are desktops or laptops, typically laptops have 3 more snappins installed. Now does this mean that the desktops within that group will also receive those applications installed?</p>
<p dir="auto">If the answer to this is yes then I guess I should separate my groups in 2…<br />
If the answer is no then maybe there should be another way to word it…</p>
<p dir="auto">Another thing is I see now that all 5 snappins I created are listed randomly during Full inventory as this : 5,4,1,3,2<br />
Any way to have those in ascending order? The groups do not have this issue.</p>
]]></description><link>http://forums.fogproject.org/post/62018</link><guid isPermaLink="true">http://forums.fogproject.org/post/62018</guid><dc:creator><![CDATA[FlowLive]]></dc:creator><pubDate>Thu, 31 Mar 2016 15:21:33 GMT</pubDate></item></channel></rss>