Search code examples
batch-filecommand-linescriptingsccm

How do I find the name of the fields for an Install?


I am trying to make an INSTALL.CMD file for a few programs.I am unsure of how to get the names of the corresponding fields.

For example lets say I'm installing Microsoft Office and it asks for a domain name, serial number, company name etc. How do I label those fields for a .CMD file?

Is there a file or document that tells you the labels for these fields?


Solution

  • For Office products, a batch script is not the best method for customizing the install. Launch setup.exe from a command line with /admin ("setup.exe /admin") to launch the Office Customization Tool. It is a GUI for making the changes you want, including licensing information, company name, etc. It will save as a .msp that you put in the updates folder (or any folder you create) of the installer. You can then create a new application in SCCM (better than Packages) and use Setup.exe /adminfile "updates\Custom.msp"