anthonyfromrochester hills

Q: can I install boot camp drivers using an automated command for deploying with sccm

I would like to include the boot camp installer as part of my SCCM task sequence.  I have imported the drivers but they don't all install and in turn it fails to complete.

 

In order to include the installer I need to let the installer run unattended and I cannot find any command line switches for that purpose.

MacBook Pro with Retina display, Windows 7

Posted on Mar 24, 2015 11:23 AM

Close

Q: can I install boot camp drivers using an automated command for deploying with sccm

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Mar 24, 2015 12:01 PM in response to anthonyfromrochester hills
    Level 7 (23,663 points)
    Safari
    Mar 24, 2015 12:01 PM in response to anthonyfromrochester hills

    The Bootcamp setup.exe is a silent Installer. See the following part from AutoUnattend.xml.

     

    </settings>

        <settings pass="specialize">

            <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                <RunSynchronous>

                    <RunSynchronousCommand wcm:action="add">

                        <Order>1</Order>

                        <Path>cmd /c "FOR %i IN (X F E D C) DO (FOR /F "tokens=6" %t in ('vol %i:') do (IF /I %t NEQ "" (IF EXIST %i:\BootCamp\BootCamp.xml Reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v AppsRoot /t REG_SZ /d %i /f )))"</Path>

                    </RunSynchronousCommand>

                </RunSynchronous>

            </component>

        </settings>

        <settings pass="oobeSystem">

            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                <FirstLogonCommands>

                  <SynchronousCommand wcm:action="add">

                    <Description>AMD CCC Setup</Description>

                    <CommandLine>%AppsRoot%:\BootCamp\Drivers\ATI\ATIGraphics\Bin64\ATISetup.exe -Install</CommandLine>

                    <Order>1</Order>

                    <RequiresUserInput>false</RequiresUserInput>

                  </SynchronousCommand>

                  <SynchronousCommand wcm:action="add">

                      <Description>BootCamp setup</Description>

                      <CommandLine>%AppsRoot%:\BootCamp\setup.exe</CommandLine>

                      <Order>2</Order>

                      <RequiresUserInput>false</RequiresUserInput>

                  </SynchronousCommand>

                </FirstLogonCommands>

            </component>

        </settings>

  • by tamahome,

    tamahome tamahome Aug 1, 2016 8:40 AM in response to Loner T
    Level 1 (4 points)
    Aug 1, 2016 8:40 AM in response to Loner T

    So you just set the AppsRoot variable then run setup.exe?  It still doesn't run silently.

  • by Loner T,

    Loner T Loner T Aug 1, 2016 8:46 AM in response to tamahome
    Level 7 (23,663 points)
    Safari
    Aug 1, 2016 8:46 AM in response to tamahome

    Setup.exe will not ask user for User Input, but the user will still be able to see the running installer output.