Unanswered Install application base on model

  • Monday, May 21, 2012 5:33 AM
     
     

    Hi,

    I am new to MDT and have installed MDT 2012 as well as database few months ago. I wanted to try install application base on laptop model. I have seen a lots suggestion and all mentioned on how to customize on CustomSettings.ini.

    Could someone advise me how should I configure on the database? How does MDT knows the model of the machine?

    I would appreciate someone could help me. Thank you

All Replies

  • Monday, May 21, 2012 6:46 AM
     
     

    Hi,

    checking this article:

    Customizing Deployment Based on Make/Model

    http://www.windowsnetworking.com/articles_tutorials/deploying-windows-7-part17.html


    Kind regards,

    Tim
    MCITP, MCTS
    http://directoryadmin.blogspot.com

    This posting is provided 'AS IS' with no warranties or guarantees and confers no rights.

  • Monday, May 21, 2012 10:35 AM
     
     

    Hi Butim,

    Thank you for your link. I have followed the tutorial and had setup the "Make and Model". I also created a new TS but the applications didn't install on it.

    Do I miss any steps on the Deployment Shares? Thank in advance.

  • Monday, May 21, 2012 10:47 AM
     
     

    Did you configure the DB settings in CustomSettings.ini in Tutorial 16 WindowsNetworking Site?

    http://www.windowsnetworking.com/articles_tutorials/Deploying-Windows-7-Part16.html


    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

  • Monday, May 21, 2012 11:22 AM
     
     

    Another thing you can do is query for a model. So you insert the action: "Install Software" and on the options tab, you insert an IF statement with an WQL query.

    For example: continue to install the application if all/any statements are true and then use a WQL query to return the answer = true

    You can find more here: Install drivers by computer model using WMI query since this is the same procedure. By querying models you can really nail it down to which application may install on which model.

    See here for more info on WMI Classes: WMI Classes ; Win32 Classes ; WMI Tasks: Computer Hardware


    Keep us posted, and if helpful please rate! Kind regards


  • Wednesday, May 23, 2012 1:56 AM
     
     

    Thank you everyone out there.

    I am still not successful to get my applications deployment base on the model. The following is my CustomSettings.ini and please do let me know if there is a mistake. Thanks again.

    One more question, should I use the same SQLshare as deploymentshare share?


    Priority=MMSettings, MMPackages, MMApps, MMAdmins, MMRoles, Default
    Properties=MyCustomProperty

    [Default]
    OSInstall=Y
    deployroot=\\192.168.1.35\ds$
    SkipAppsOnUpgrade=YES
    SkipCapture=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    UserDomain=cn
    UserID=mdtuser
    UserPassword=*******
    JoinWorkgroup=Workgroup
    skipDomainMembership=YES
    SkipLocaleSelection=YES
    keyboardLocale=en-US
    UserLocale=en-US
    UILanguage=en-US

    SkipComputerName=YES
    UserDataLocation=NONE
    SkipUserData=YES
    SkipTimeZone=YES
    TimeZoneName=Singapore Standard Time
    SkipBitLocker=YES
    SkipSummary=NO
    SkipFinalSummary=YES
    FinishAction=Restart

    EventService=http://SG-SINAPP035:9800

    [MMSettings]
    SQLServer=sg-sinapp035
    Database=MDT
    Netlib=DBNMPNTW
    SQLShare=DB$
    Table=MakeModelSettings
    Parameters=Make, Model

    [MMPackages]
    SQLServer=sg-sinapp035
    Database=MDT
    Netlib=DBNMPNTW
    SQLShare=DB$
    Table=MakeModelPackages
    Parameters=Make, Model
    Order=Sequence

    [MMApps]
    SQLServer=sg-sinapp035
    Database=MDT
    Netlib=DBNMPNTW
    SQLShare=DB$
    Table=MakeModelApplications
    Parameters=Make, Model
    Order=Sequence

    [MMAdmins]
    SQLServer=sg-sinapp035
    Database=MDT
    Netlib=DBNMPNTW
    SQLShare=DB$
    Table=MakeModelAdministrators
    Parameters=Make, Model

    [MMRoles]
    SQLServer=sg-sinapp035
    Database=MDT
    Netlib=DBNMPNTW
    SQLShare=DB$
    Table=MakeModelRoles
    Parameters=Make, Model

  • Wednesday, May 23, 2012 3:44 PM
     
     
    What model of device are you trying to deploy to? The name of the Make and/or Model must match exactly what is reported by WMI.

    -Nick O.

  • Thursday, May 24, 2012 3:30 AM
     
     

    I am able to deploy applications by Make/Model using the MDT database. Below are the steps I took to get my Make/Model DB built out. In the MDT Toolkit samples documentation page look at page 47. This will give you a userexit script to help ease multiple database entries. Form the looks of you CS.ini you are almost there.

    1. Gather all the Make/Model information of the hardware you want in the DB.
    2. Use a WIM query or look in the Bios to get this information
    3. Populate the Make/Model information into the Database. < I used a PowerShell script to bulk add all the gathered information.> Link PowerShell script

  • Thursday, May 24, 2012 7:57 AM
     
     

    I am trying on Lenovo T400, the Make is Lenovo and Model is 64753T4.

    What I have configured on the "Make and Model" DB as shown below

    - Identity, Make=Lenovo Model=64753T4

    - Applications, Install Lenovo Hotkey

    Do I need to configure on the "Details" section?

    Many thanks

  • Thursday, May 24, 2012 1:49 PM
     
     
    For Make/Model I do not use the Detail Tab. I only use the Application Tab. I my deployment shares I use the Detail Tab for Locations settings. Such as timezone Local WSUS server and OU for the location. 
  • Thursday, May 24, 2012 1:54 PM
     
     

    AlDeploy

    Here is one link I used to see if my Make/Model settings were working correctly. This has saved me hours when adding a new computer and not having to wait for a deployment. 

  • Thursday, May 31, 2012 6:57 AM
     
     

    Hi Paul_R

    Sorry for late reply, have been busy lately.

    I would like to know the link that you have provided, can it be done on Litetouch? Currently, I am not using config mgr 2007.

  • Thursday, May 31, 2012 12:34 PM
     
     

    Yes it can be done on Litetouch. That what I use for my deployments. I am currently using MDT 2010 update 1.

  • Thursday, May 31, 2012 2:32 PM
     
     

    Hi Paul_R,

    I am still don't understand how does it works. Could you share your experience with me those steps that you have gone through?

    Many thanks

  • Thursday, May 31, 2012 8:31 PM
     
     

    how about selecting an application in the TS, clicking Options tab and add Query WMI:

    root\cimv2

    SELECT * FROM Win32_ComputerSystem WHERE Model LIKE “%YOUR_MODEL%”

  • Friday, June 01, 2012 6:31 AM
     
     

    So to get your applications to install by Make/Model you need to have your MDT DB populated with your Make/Model information first. To keep things simple start with one computer entered into your DB and one application install to this Make/Model.  Below is an example of how my Make/Model information looks in my DB. In order for the DB to work you need to have the Make/Model information on your computer match your DB. If not your apps will not install. Can you tell me what kind of computer you are deploying to?


    • Edited by Paul_R Friday, June 01, 2012 6:36 AM added pic
    •  
  • Friday, June 01, 2012 8:37 AM
     
     

    Currently I am testing on Lenovo T400, type=6475-3T4.

    After executed the displayclassproperties.vbs, I got the following result

    Property: Manufacturer Value: LENOVO

    Property: Model Value: 6475T4

  • Friday, June 01, 2012 2:29 PM
     
     
    Now that you have that information in your MDT DB you are going to enter LENOVO for the MAKE and 6475T4 for the MODEL. Once you have that add your test apps and see if you the DB is working.  
  • Thursday, July 05, 2012 1:30 AM
     
     

    Hi Guys,

    It was busy lately,

    Thank you for all the advice. My DB is working now.