Babbage Computing
  • 👋Welcome!
  • Operating System Deployment
    • Dell Computers
      • Bios Config
      • Dell Command Update
        • Adding to OSD
        • Running During OSD
    • TSGui
Powered by GitBook
On this page
  1. Operating System Deployment
  2. Dell Computers
  3. Dell Command Update

Adding to OSD

PreviousDell Command UpdateNextRunning During OSD

Last updated 9 months ago

Once its been packaged, you can add it to your task sequence. Because we are a mixed estate, it only installs if the task sequence is running on a Dell computer.

To make it only install on Dell Computers, i use a WMI query for Dell Computers. This query is applied to the Dell Group in the above screenshot.

Select * From Win32_ComputerSystem WHERE Manufacturer LIKE "%Dell%"

I like to do it with a group like that, then i can add other groups and other applications in below the dell folder. And i know that it will only run on a dell machine.

My install step is just a simple package that calls a batch file.

And the batch file contains the following.

@echo off

rem Relaunch in a 64-bit process if running as a 32-bit process on a 64-bit OS
Setlocal enabledelayedexpansion
for /F "tokens=2 Delims==" %%i in ('wmic cpu get AddressWidth /value') do set BB_OSBitness=%%i
if "%BB_OSBitness%"=="64" (
	if "%PROCESSOR_ARCHITECTURE%"=="x86" (
		c:\Windows\sysnative\cmd.exe /c %0 %*
		exit
	)
)
start /wait msiexec.exe /i "DellCommandUpdate.msi" /quiet /norestart
exit