Answered CustomSettings.ini Subsection not working

  • Wednesday, October 05, 2011 8:26 AM
     
     

    Hi,

    I was wondering if there is someone that can help me out ive been stuck on this problem for days and havent found a solution for.

     

    ive got mdt 2010 update 1 and im deploying windows 7 x86 enterprise

     

    what i would like to do is via LTI if the tech guy selects Laptop deployment to install Mandatory Applications and enable Bitlocker and give the option off either installing office 2003 or 2007

     

    and if the tech guy selects Desktop deployment to install the Madatory Applications and disable bitlocker and the option to either install office 2003 or 2007.

     

    im not able to bring up the wizard or even the list of mandatory applications.

     

    i amended the TS to point to customsettings.ini in the gather local rule

     

    and i also amended the customsettings.ini as below 

     

     

     

    [Settings]

    Priority=TaskSequenceID, ByLaptopType,ByDesktopType, Default

    Properties=MyCustomProperty

     

    [ByDesktopType]

    Subsection=Desktop-%IsDesktop%

     

    [Desktop-True]

    TaskSequenceID=Win7Deploy001

     

    MandatoryApplications001={32483472-8275-45cf-b3c1-fae8e2959c86}

    MandatoryApplications002={b8aa994c-1a81-478f-81eb-0414e1745da7}

    MandatoryApplications003={3d192d6a-1d79-4df1-9761-e215790d1b69}

    MandatoryApplications004={bca8f97f-600b-4740-93ee-7618ebdc6e11}

    MandatoryApplications005={99903072-94fb-45b2-991f-4f83143cff5c}

    MandatoryApplications006={71669632-faa2-4216-b5b5-66877f78ad28}

    MandatoryApplications007={d94cb65f-8fd2-4f2b-89a3-1b9c89c85837}

    MandatoryApplications008={4f838893-f779-4a16-832e-79a1c47072d4}

    MandatoryApplications009={89210a2d-ae90-4190-b342-4ff45ce4eb55}

    MandatoryApplications010={f915d9bc-b5a9-45cf-a796-b4ce6df334d4}

    MandatoryApplications011={e74438a9-4cad-41e8-bdc2-e2e9701351a5}

    Application001={2d7b4e52-89f7-4c5d-a59e-0687fd10d5f7}

    Application002={3741e1e5-f6d0-4332-9736-a333fd57f58d}

    [ByLaptopType]

    Subsection=Laptop-%IsLaptop%

     

    [Laptop-True]

    BDEInstall=TPM

    BDEWaitForEncryption=False

    BDEInstallSuppress=NO

    TaskSequenceID=Win7Deploy001

     

    MandatoryApplications001={32483472-8275-45cf-b3c1-fae8e2959c86}

    MandatoryApplications002={b8aa994c-1a81-478f-81eb-0414e1745da7}

    MandatoryApplications003={3d192d6a-1d79-4df1-9761-e215790d1b69}

    MandatoryApplications004={bca8f97f-600b-4740-93ee-7618ebdc6e11}

    MandatoryApplications005={99903072-94fb-45b2-991f-4f83143cff5c}

    MandatoryApplications006={71669632-faa2-4216-b5b5-66877f78ad28}

    MandatoryApplications007={d94cb65f-8fd2-4f2b-89a3-1b9c89c85837}

    MandatoryApplications008={4f838893-f779-4a16-832e-79a1c47072d4}

    MandatoryApplications009={89210a2d-ae90-4190-b342-4ff45ce4eb55}

    MandatoryApplications010={f915d9bc-b5a9-45cf-a796-b4ce6df334d4}

    MandatoryApplications011={e74438a9-4cad-41e8-bdc2-e2e9701351a5}

    Application001={2d7b4e52-89f7-4c5d-a59e-0687fd10d5f7}

    Application002={3741e1e5-f6d0-4332-9736-a333fd57f58d}

     

    [Default]

    OSInstall=Y

     

    SkipBDDWelcome=NO

    SkipAppsOnUpgrade=NO

    SkipProductKey=YES

    SkipTimeZone=YES

    SkipApplications=NO

    SkipLocaleSelection=Yes

    SkipFinalSummary=YES

    SkipUserData=NO

    SkipCapture=YES

    SkipDeploymentType=NO

    SkipWizard=No

    SkipPackageDisplay=NO

     

     

     

    FinishAction=REBOOT

     

     

    SLShareDynamicLogging=\\slw-mdtt-002\SLShare\%OSDComputerName%

     

     

    _SMSTSORGNAME=Test Environment Deployment

    JoinDomain=Domain

    FullName="ICHT"

    OrgName="ICHNT"

    KeyboardLocale=en-GB

    TimeZone=085

     

    SkipAdminPassword=YES

    AdminPassword=bR0cc0l!

     

    DriverPaths1=%DeployRoot%\Applications\SmartCardReaderDrivers

    DriverPaths2=%DeployRoot%\Applications\PrinterDrivers

     

     

     

    Where am i going wrong, Any help would be appreciated. 

     

    ps im not using a Database.

     

     

All Replies

  • Wednesday, October 05, 2011 3:13 PM
     
     

    Priority is processed in order. So your Priority section should look like:

    Priority=ByLaptopType,ByDesktopType,TaskSequenceID,Default

    Also, since you are setting your TaskSequenceID from within the separate subsections (and only within those, as far as I can tell,) you don't need TaskSequenceID listed in priority. In other words, you have no subsection for any particular task sequence, so why list it?

    Try deploying with the following for Priority:

    Priority=ByLaptopType,ByDesktopType,Default

    I'm not sure what your requirements are but you could probably get away with a "Laptop-False" subsection, adding your Desktop requirements there. So, your Priority section would really just be:

    Priority=ByLaptopType,Default


    -Nick O.
  • Wednesday, October 05, 2011 4:15 PM
     
     

    Thank you for your response,

     

    i will definately try and see how it goes.

     

    thanks again for your response

  • Thursday, October 06, 2011 3:27 PM
     
     

    that didnt work.... 

    i even tried removing everything and just leaving it as default and still nothing 

    [Settings]

    Priority=Default

    Properties=MyCustomProperty

     

    [Default]

    OSInstall=Y

     

    SkipProductKey=YES

    SkipTimeZone=YES

    SkipLocaleSelection=Yes

     

    FinishAction=REBOOT

     

    SLShareDynamicLogging=\\slw-mdtt-002\SLShare\%OSDComputerName%

     

     

    _SMSTSORGNAME=Test Environment Deployment

    JoinDomain=test.test.it.uk

    FullName="ICHT"

    OrgName="test"

    KeyboardLocale=en-GB

    TimeZone=085

     

    SkipAdminPassword=YES

    AdminPassword=bR0cc0l!

     

    DriverPaths1=%DeployRoot%\Applications\SmartCardReaderDrivers

    DriverPaths2=%DeployRoot%\Applications\PrinterDrivers

     

    SkipBDDWelcome=NO

     

    MachineObjectOU=ou=windows 7 migration,ou=workstations,ou=Deploying PC,dc=domain,dc=test,dc=it,dc=uk

    MandatoryApplications001={32483472-8275-45cf-b3c1-fae8e2959c86}

    MandatoryApplications002={b8aa994c-1a81-478f-81eb-0414e1745da7}

    MandatoryApplications003={3d192d6a-1d79-4df1-9761-e215790d1b69}

    MandatoryApplications004={bca8f97f-600b-4740-93ee-7618ebdc6e11}

    MandatoryApplications005={99903072-94fb-45b2-991f-4f83143cff5c}

    MandatoryApplications006={71669632-faa2-4216-b5b5-66877f78ad28}

    MandatoryApplications007={d94cb65f-8fd2-4f2b-89a3-1b9c89c85837}

    MandatoryApplications008={4f838893-f779-4a16-832e-79a1c47072d4}

    MandatoryApplications009={89210a2d-ae90-4190-b342-4ff45ce4eb55}

    MandatoryApplications010={f915d9bc-b5a9-45cf-a796-b4ce6df334d4}

    MandatoryApplications011={e74438a9-4cad-41e8-bdc2-e2e9701351a5}

    Application001={2d7b4e52-89f7-4c5d-a59e-0687fd10d5f7}

    Application002={3741e1e5-f6d0-4332-9736-a333fd57f58d}

    just cant work out why im not getting to see the applications in the wizard

  • Thursday, October 06, 2011 3:45 PM
     
     

    So, are the applications missing from the Select Applications pane of the wizard, or does the pane not show up at all, e.g. being skipped?

    Also, it's "Applications001" and so on, not "Application001." The MandatoryApplications sections look correct.


    -Nick O.
  • Thursday, October 06, 2011 3:49 PM
     
     

    There not showing up at all, ill try it with the "s".

     

    thanks for pointing out the mistake.

     


    • Edited by a4r0 Thursday, October 06, 2011 3:49 PM
    •  
  • Thursday, October 06, 2011 3:50 PM
     
     

    It is not Application001

    Application is plural - It should be Applications001={GUID}

    Other than that - I am guessing that there is something missing or wrong in the Task Sequence.

    The best way to start off is. On your test Deployment Share - Create a Custom task Sequence to just install applications. In the CS.ini - just leave it to defaults. Try importing 1 application and add that to the CS.ini as Mandatory... or Applications property.

    Even though you are just testing an Application - make sure you have DeploymentType=REFRESH or NEWCOMPUTER in the CS.ini

     


    Regards, Vik Singh
  • Thursday, October 06, 2011 4:23 PM
     
     

    Thanks for your advice,

     

    i tried what you asked, created a new Custom TS and defaulted back to original cs.ini and added 

    Applications001={22a40661-b4aa-4c46-8547-16acc309967b}

    still nothing...

     

    not sure what the issue might be......

  • Thursday, October 06, 2011 5:56 PM
     
     

    ok. Do you see the wizard at all? If yes, what all do you see?

    Also, Can you paste the BDD.log and ZTIApplications log from the machine you tried to run the script on (only application install). Logs under c:\minint\smsosd\osdlogs folder.

    If the wizard completed fine - then look under c:\windows\temp\deploymentlogs folder


    Regards, Vik Singh
  • Thursday, October 06, 2011 6:08 PM
     
     
    Create a Task Sequence (Custom Task Sequence) that contains only an "Install Application" step. On a working device, establish a connection to the deployment share, and run cscript %scriptroot%\LiteTouch.wsf. When the Wizard begins, select the "Application Only" task sequence you created. Pick an application and make sure it installs correctly.
    -Nick O.
  • Friday, October 07, 2011 12:08 AM
     
     

    Did you open the task sequence - Initialization - Properties and change the value

    • from Gather only local data
    • to Gather local data and process rules and set customsettings.ini ?

    Thanks,


    YPae
  • Friday, October 07, 2011 8:36 AM
     
     

    It installed the two programs fine, flash player and forefront,

    but did not give me a wizard to select the two i placed in the cs.ini.

     

    ZTIApplications ------------------

    <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Language/Locale Identified (in order of precedence): 2057,0809,0x0809,9,0009,0x0009]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Mandatory Single Application install indicated. Guid: {bca8f97f-600b-4740-93ee-7618ebdc6e11}]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[################]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Entry: {bca8f97f-600b-4740-93ee-7618ebdc6e11}]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[################]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Validating connection to \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Applications\FlashPlayer101]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Already connected to server slw-mdtt-002.domain.testing.it.uk as that is where this script is running from.]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ Change directory: \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Applications\FlashPlayer101]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ Run Command: \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Tools\X86\bddrun.exe msiexec.exe /i install_flash_player_10_active_x.msi /qb!]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ZTI installing application ]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[About to run command: \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Tools\X86\bddrun.exe msiexec.exe /i install_flash_player_10_active_x.msi /qb!]LOG]!><time="16:45:55.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Return code from command = 0]LOG]!><time="16:46:23.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Application FlashPlayer101 installed successfully]LOG]!><time="16:46:23.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Property InstalledApplications001 is now = {bca8f97f-600b-4740-93ee-7618ebdc6e11}]LOG]!><time="16:46:23.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ZTIApplications processing completed successfully.]LOG]!><time="16:46:23.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Language/Locale Identified (in order of precedence): 2057,0809,0x0809,9,0009,0x0009]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Mandatory Single Application install indicated. Guid: {b8aa994c-1a81-478f-81eb-0414e1745da7}]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[################]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Entry: {b8aa994c-1a81-478f-81eb-0414e1745da7}]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[################]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Validating connection to \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Applications\ForeFront]LOG]!><time="16:46:24.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Already connected to server slw-mdtt-002.domain.testing.it.uk as that is where this script is running from.]LOG]!><time="16:46:25.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ Change directory: \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Applications\ForeFront]LOG]!><time="16:46:25.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ Run Command: \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Tools\X86\bddrun.exe clientsetup.exe /ms slw-ffront-001 /cg forefrontclientsecurity]LOG]!><time="16:46:25.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ZTI installing application ]LOG]!><time="16:46:25.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[About to run command: \\slw-mdtt-002.domain.testing.it.uk\DeploymentShare\Tools\X86\bddrun.exe clientsetup.exe /ms slw-ffront-001 /cg forefrontclientsecurity]LOG]!><time="16:46:25.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Return code from command = 0]LOG]!><time="16:47:20.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Application ForeFront installed successfully]LOG]!><time="16:47:20.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Property InstalledApplications001 is now = {bca8f97f-600b-4740-93ee-7618ebdc6e11}]LOG]!><time="16:47:20.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[Property InstalledApplications002 is now = {b8aa994c-1a81-478f-81eb-0414e1745da7}]LOG]!><time="16:47:20.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

    <![LOG[ZTIApplications processing completed successfully.]LOG]!><time="16:47:20.000+000" date="09-24-2011" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">

     

     

  • Friday, October 07, 2011 8:46 AM
     
     

     

     

     

    Heres the ZTIAppliocations.log and BDD.log files

     

    https://docs.google.com/document/pub?id=1lXkvD0zgZnRpUCa2-0uaFscJeSjdgCXrhH1rC0DhuSY

     

    i exceeded the amount of characters when i tried to paste it here.

     

  • Friday, October 07, 2011 8:48 AM
     
     

    Yes i did....

     

    thank you

  • Friday, October 07, 2011 2:42 PM
     
     
    So, you see the Select Applications wizard pane but it is empty? And you are sure you didn't mark the applications as hidden in the Workbench?
    -Nick O.
  • Friday, October 07, 2011 3:11 PM
     
     
    No i dont see the application wizard, it skips it...
  • Friday, October 07, 2011 3:21 PM
     
     

    I see the logs but nothing evident to me - Can you send the ZTIGather.log?

    Usually when I struggle with an issue and try to fix it and make so many changes - eventually and sometimes I make it worst and break it further. At this point of time, I would start fresh.

    Create a new Deployment Share - Load just a Single Application. New Custom TS for App Install.
    Use Applications001={Guid} in your CS.ini

    Post the results.


    Regards, Vik Singh
  • Friday, October 07, 2011 3:24 PM
     
     
    No i dont see the application wizard, it skips it...


    Did you accidentally disable the "Install Applications" step on your task sequence?

    I'm just trying to think of other scenarios where the Application pane wouldn't show up at all, since I don't see a "SkipApplications" section in your CS.ini.

    Also, pulled this from the MDT documentation:

       In LTI New Computer deployments, applications marked as hidden in the Deployment Workbench are not installed when you do not skip the Application page in the Windows Deployment Wizard and specify the application globally unique identifier (GUID) in CustomSettings.ini. Specify hidden applications using the MandatoryApplications property instead of the Applications property.

    Not sure if it helps or not.


    -Nick O.

    • Edited by FNO1980 Friday, October 07, 2011 3:26 PM
    •  
  • Friday, October 07, 2011 4:49 PM
     
     

    thats one of the first things i checked....

     

    im gona go home and test what Vik Singh adviced....

     

    thanks alot people for your help, much appreciated ill post the results as soon as.

     

    thank you

  • Saturday, October 08, 2011 9:44 AM
     
     Answered

    Guys i think ive managed to get it working,

    i googled wizard not appearing and i come to this

    http://support.microsoft.com/kb/2547191

    that made me think that it might be somthing to do with the script so i went here

    https://skydrive.live.com/?cid=5407b03614346a99&sc=documents&id=5407B03614346A99%21443

    downloaded the DeployWiz_Initialization and copied it into my script folder backing up the original file.

    and it seems to have worked. but the problem now is that it Lists all the applications

    even though my cs.ini file only has two Applications001/Applications002 listed.

     

     

    • Marked As Answer by a4r0 Saturday, October 08, 2011 10:43 PM
    •  
  • Saturday, October 08, 2011 4:34 PM
     
     Proposed

    That is by default, the Applications001 and Applications002 will have a check box enabled already as you have mentioned that in the cs.ini.

    The rest of the applications will show up but not marked. If you use MandatoryApplications property - the application will show up as checked but will not allow you to uncheck it.

    If you do not want all applications to show up, then hide the applications in the properties pane of the Application.

    HTH


    Regards, Vik Singh
    • Proposed As Answer by Vik Singh Saturday, October 08, 2011 5:19 PM
    •  
  • Saturday, October 08, 2011 10:44 PM
     
     
    OK, Thanks a lot for everyone's help, much appreciated..
  • Saturday, September 08, 2012 10:30 PM
     
     

    Guys i think ive managed to get it working,

    i googled wizard not appearing and i come to this

    http://support.microsoft.com/kb/2547191

    that made me think that it might be somthing to do with the script so i went here

    https://skydrive.live.com/?cid=5407b03614346a99&sc=documents&id=5407B03614346A99%21443

    downloaded the DeployWiz_Initialization and copied it into my script folder backing up the original file.

    and it seems to have worked. but the problem now is that it Lists all the applications

    even though my cs.ini file only has two Applications001/Applications002 listed.

     

    Hi Thanks for the info but this doesn't work for me for some reason.  Can you show me your customsettings.ini file please, and the steps to get to getting this working.