Creating an FBA Command
5/10/2007
First Boot Agent (FBA) commands are created as custom resources in Component Designer and Target Designer. These commands are performed when FBA runs, which is during the first boot of the run-time image on the target device. The following list shows the two custom resources that are unique to FBA:
- FBA DLL/COM Registration
This registers DLLs and COM objects by using the Regsvr32.exe tool at run time. - FBA Generic Command
This can call any command-line executable during FBA processing.
The custom resource called FBA OC Mgr Request is reserved for Microsoft use only.
To create an FBA command
Using Component Designer, create a new component, or edit an existing component, expand the node for the component, right-click Resources, and choose Add.
- or -
Using Target Designer, create a new configuration or open an existing configuration, right-click Extra Resources, and choose Add.
Choose the FBA command that you want to create, either FBA Generic Command or FBA DLL/COM Registration.
In the dialog box that appears, edit the properties of the custom resource.
Note
In the Extended Properties section, you must change the phase property to a number greater than 8500. Phases 0-8500 are reserved for system use only.
Choose OK.
Using Component Designer, create a new component, or edit an existing component, expand the node for the component, right-click Resources, and choose Add.
- or -
Using Target Designer, create a new configuration or open an existing configuration, right-click Extra Resources, and choose Add.
Choose the FBA command that you want to create, either FBA Generic Command or FBA DLL/COM Registration.
In the dialog box that appears, edit the properties of the custom resource.
Note
In the Extended Properties section, you must change the phase property to a number greater than 8500. Phases 0-8500 are reserved for system use only.
Choose OK.
See Also
Concepts
FBA DLL/COM Registration
FBA Generic Command