set_preferred_injection_method


Description:

[ Version ( since = "1.3.0" ) ]
public void set_preferred_injection_method (InstallScriptInjectionMethod method)

Set the preferred injection method to be used with the this

Parameters:

this

the install script

method

one of the injection methods: OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM, OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK, OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_FLOPPY, OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD, OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_WEB