Custom Scripts

Topics | How To


Overview

Sections in the Scripts


Overview

A complete 1-Touch Recovery procedure that incorporates the Broadcomâ NetXtremeâ II network interface card (NIC) workaround for a successful Microsoft Windows unattended installation is provided in Perform 1-Touch Recovery with Broadcom's NetXtreme II Driver Workaround. The solution includes creating a custom script for the Windows installation of the NIC along with a list of drivers needed and their usage and placement in the recovery process.

Custom scripts files are organized according to sections, and each section includes the names of the batch files and dependent files pertinent to the section. Also, each section indicates the phase during the recovery when its associated batch files will run. If a section contains more than one batch file, the file names corresponding to the batch files should be included in the order that the batch files must be executed.

Custom script files can have any name, but they require the .cvinf extension. The files can be placed in any folder that the 1-Touch Server can browse to. See Create and Use a Custom Script for the general steps to create and use custom scripts.

Back To Top


Sections in the Scripts

This section identifies the available section titles in the script files and discusses how the files in the scripts are processed:

Sample Custom Script File

Custom scripts filename: netxtremeII.cvinf

Sample contents of netxtremeII.cvinf custom script:

[AFTER_OS_INSTALL_BEFORE_NETWORK]

netxtremeII1.bat

netxtremeII2.bat

netset.exe

setup.exe

[POST_CLIENTPREP_TASKS]

copyunattendandsetup.bat

 

Sample contents of files listed in netxtremeII.cvinf custom script:

Filename: netxtemeII1.bat

Sample contents of netxtemeII1.bat:

c:\pnpdrvrs\net\setup /s /w /v/qn

Filename: netxtremeII2.bat

Sample contents of netxtremeII2.bat:

c:\onetouchtmp\customscripts\netset c:\onetouchtmp\customscripts\unattend.txt

Filename: copyunattendandsetup.bat

Sample contents of copyunattendandsetup.bat:

xcopy %%[CLIENT_FILES_FOLDER]%%\unattend.txt %%[AFTER_OS_INSTALL_BEFORE_NETWORK]%%

xcopy %%[AFTER_OS_INSTALL_BEFORE_NETWORK]%%\setup.exe %%[CLIENT_FILES_FOLDER]%%\$OEM$\$1\PnPDrvrs\Net\

  • netset.exe is available from Microsoft
  • setup.exe is available from and with the Broadcom driver.

Back To Top