none
Customsettings.ini Assistance RRS feed

  • Question

  • Hello,

    I have 22 locations that are using MDT 2013.  I finally created a customsettings.ini file with [defaultgateway] in order to turn on DFS replication.  My issue is with the custom applications installing for each location.  It installs the mandatory applications as defined in the [ByLaptopType] and [ByDesktopType], it also installs the applications that I listed in the task sequence.  However, it will not install the applications listed under the [DefaultGateway].  It successfully configures the other settings such as time zone, computer name but not the applications.  

    I checked the BDD.LOG and this is what I'm seeing:

    It finds the mandatoryapplications001 and sets it.  

    Then, it finds the defaultgateway location and lists the correct apps with the correct GUID. (applications001, applications002, etc)

    After installing the OS, I think it starts overwriting the applications001 from the TS instead of continuing from the defaultgateway.  It installs all of the mandatoryapplications, then it installs applications001 - 022 but none of them are the defaultgateway applications.  It's like it overwrote applications001 with the TS applications.

    Any ideas?

    Here is part of my customsettings.ini:

    [Settings]
    Priority=  ByLaptopType, ByDesktopType, DefaultGateway, Default
    Properties=CustomProperty

    [ByLaptopType]
    Subsection=Laptop-%IsLaptop%-%Architecture%

    [ByDesktopType]
    Subsection=Desktop-%IsDesktop%-%Architecture%

    [Laptop-True-X86]
    ;Application Bundle x86
    MandatoryApplications001={8f564dce-0c58-4e54-884d-cf5abba13692}

    [Laptop-True-X64]
    ;Application Bundle x64
    MandatoryApplications001={9e1fe0f7-0c42-47e1-abcc-9dac78b4c1e4}

    [Desktop-True-X86]
    ;Application Bundle x86
    MandatoryApplications001={8f564dce-0c58-4e54-884d-cf5abba13692}

    [Desktop-True-X64]
    ;Application Bundle x64
    MandatoryApplications001={9e1fe0f7-0c42-47e1-abcc-9dac78b4c1e4}

    [Default]
    SkipBDDWelcome=YES
    OSInstall=Y
    SkipCapture=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    SkipComputerBackup=YES
    SkipBitlocker=Yes
    SkipApplications=NO
    SkipAppsOnUpgrade=NO
    SkipComputerName=YES
    SkipDomainMembership=YES
    SkipAdminAccounts=YES
    SkipFinalSummary=NO
    FinishAction=Reboot
    SkipLocaleSelection=YES
    KeyboardLocale=en-US
    UserLocale=en-US
    UILanguage=en-US
    SkipPackageDisplay=YES
    SkipProductKey=YES
    SkipSummary=No
    SkipTaskSequence=NO
    SkipTimeZone=YES
    TimeZoneName=Eastern Standard Time
    DriverSelectionProfile=Nothing
    DriverInjectionMode=ALL

    [DefaultGateway]

    xxx.xx.xx.x =LEX
    xxx.xx.xx.xx=LOS

    [LEX]
    DeployRoot=\\xxx\DeploymentShare$

    ;Uninstall Office 2013
    Applications001={9d172fec-c670-4c0b-a21c-e94c0b04bd82}
    ;Install Office 2013 Basic
    Applications002={534eea04-0828-49e5-8558-a9048395f355}
    ;ODBC
    Applications003={38b7fe5f-6486-429d-b615-239709df8163}
    ;Access 2000 Runtime
    Applications004={fb29120d-2fd1-4fb7-bd6b-a2521fc9dd7f}
    ;PACS 12.0
    Applications005={6e8be3cc-29ba-45cc-a310-026f73ca8e90}
    'PACS shortcut
    Applications006={ea619ad1-252a-475c-bebd-1811bc0c2904}

    BDD.LOG:

    Rule Priority = BYLAPTOPTYPE, BYDESKTOPTYPE, DEFAULTGATEWAY, DEFAULT]LOG]!><time="13:16:50.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[------ Processing the [BYLAPTOPTYPE] section ------]LOG]!><time="13:16:50.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[------ Processing the [Laptop-True-X86] section ------]LOG]!><time="13:16:50.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[Property MANDATORYAPPLICATIONS001 is now = {8f564dce-0c58-4e54-884d-cf5abba13692}]LOG]!><time="13:16:50.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[Added value from [Laptop-True-X86]: MANDATORYAPPLICATIONS = {8f564dce-0c58-4e54-884d-cf5abba13692}]LOG]!><time="13:16:50.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[------ Processing the [BYDESKTOPTYPE] section ------]LOG]!><time="13:16:50.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[------ Processing the [Desktop-False-X86] section ------]LOG]!><time="13:16:50.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[------ Processing the [DEFAULTGATEWAY] section ------]LOG]!><time="13:16:53.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">

    <![LOG[------ Processing the [LEX] section -

    [Added value from [LEX]: APPLICATIONS = {9d172fec-c670-4c0b-a21c-e94c0b04bd82}]LOG]!><time="13:16:56.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[Property APPLICATIONS001 is now = {9d172fec-c670-4c0b-a21c-e94c0b04bd82}]LOG]!><time="13:16:56.000+000" date="03-08-2016" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
    <![LOG[Property APPLICATIONS002 is now = {534eea04-0828-49e5-8558-a9048395f

    After OS Install (application001 changes value)

    <![LOG[Property InstalledApplications001 is now = {9fc6fac3-2ef3-4470-9110-5a2c263931f3}]LOG]!><time="13:54:22.000+000" date="03-08-2016" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Property InstalledApplications002 is now = {bb94991f-dd30-4ccc-9a62-c21742dae115}]LOG]!><time="13:54:22.000+000" date="03-08-2016" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    




    Richard Ray

    Thursday, March 10, 2016 1:57 PM

Answers

  • It took a little digging but I found this:

    Use the following properties to specify applications in CustomSettings.ini:

    • Applications. This property can be used when deployment administrators do not want to present an application wizard as part of the deployment process by specifying SkipApplications=YES in CustomSettings.ini.

    • MandatoryApplications. This property can be used if deployment administrators want to present the application wizard during the deployment to allow deployment engineers to select additional applications to be installed during the deployment.

      If the application wizard is used without the MandatoryApplications property (for example, SkipApplications=NO), it will overwrite applications specified by the Applications property.

    You have SkipApplications=NO so it is going to overwrite apps specified by the Applications property. By the way you could cut down your list to just laptop and desktop and skip the architecture by applying an architecture filter to the applications directly and then making an application bundle. The bundle will then only install x86 apps on a x86 OS and x64 apps on a x64 OS. If you want an app to install on any architecture then leave the default "This can run on any platform".


    If this post is helpful please vote it as Helpful or click Mark for answer.

    • Marked as answer by rickray76 Friday, March 11, 2016 4:39 PM
    Thursday, March 10, 2016 3:02 PM
  • For example my "offsite" task sequence will work on any platform without changing anything. See the "Install Base Package" in the first picture below, that's the same one as the picture above with all those x86 and x64 apps together. You don't have to make separate x86 and x64 bundles. You can make a single bundle that contains a group of apps that are both x86 & x64 and the bundle will only install the applicable applications. It makes it easy when you have multiple task sequences because then you can copy and paste tasks or groups of tasks to other task sequences without having to make changes. It also keeps customsettings from being really long or causing you to lose track of what rules apply, etc.


    If this post is helpful please vote it as Helpful or click Mark for answer.

    • Marked as answer by rickray76 Friday, March 11, 2016 4:39 PM
    Thursday, March 10, 2016 3:43 PM

All replies

  • It took a little digging but I found this:

    Use the following properties to specify applications in CustomSettings.ini:

    • Applications. This property can be used when deployment administrators do not want to present an application wizard as part of the deployment process by specifying SkipApplications=YES in CustomSettings.ini.

    • MandatoryApplications. This property can be used if deployment administrators want to present the application wizard during the deployment to allow deployment engineers to select additional applications to be installed during the deployment.

      If the application wizard is used without the MandatoryApplications property (for example, SkipApplications=NO), it will overwrite applications specified by the Applications property.

    You have SkipApplications=NO so it is going to overwrite apps specified by the Applications property. By the way you could cut down your list to just laptop and desktop and skip the architecture by applying an architecture filter to the applications directly and then making an application bundle. The bundle will then only install x86 apps on a x86 OS and x64 apps on a x64 OS. If you want an app to install on any architecture then leave the default "This can run on any platform".


    If this post is helpful please vote it as Helpful or click Mark for answer.

    • Marked as answer by rickray76 Friday, March 11, 2016 4:39 PM
    Thursday, March 10, 2016 3:02 PM
  • For example my "offsite" task sequence will work on any platform without changing anything. See the "Install Base Package" in the first picture below, that's the same one as the picture above with all those x86 and x64 apps together. You don't have to make separate x86 and x64 bundles. You can make a single bundle that contains a group of apps that are both x86 & x64 and the bundle will only install the applicable applications. It makes it easy when you have multiple task sequences because then you can copy and paste tasks or groups of tasks to other task sequences without having to make changes. It also keeps customsettings from being really long or causing you to lose track of what rules apply, etc.


    If this post is helpful please vote it as Helpful or click Mark for answer.

    • Marked as answer by rickray76 Friday, March 11, 2016 4:39 PM
    Thursday, March 10, 2016 3:43 PM
  • Dan,

    Great Advice.  I followed your idea and it works perfectly with less overhead.  

    For the mandatoryapplications, it would not work with 001 in the default and the other apps in the defaultgateway setting so I just added the mandatoryapplications001 to every default gateway and that works. 

    Thanks again for all of your help and advice.


    Richard Ray

    Friday, March 11, 2016 4:39 PM