if ($LicenseRequired$ = "true") Dosbatch_config_agent_license_key endif if ($immunet_agent_scansettings_clamav_devInit$ = "1") Dosbatch_agent_scansettings_clamav_devInit endif if ($immunet_agent_scansettings_clamav_enable$ = "1") Dosbatch_agent_scansettings_clamav_enable endif if ($immunet_agent_scansettings_clamav_updater_enable$ = "1") Dosbatch_agent_scansettings_clamav_updater_enable endif if ($immunet_agent_scansettings_clamav_options_ondemand_scanarchives$ = "1") Dosbatch_agent_scansettings_clamav_options_ondemand_scanarchives endif if ($immunet_agent_scansettings_clamav_options_ondemand_scanpacked$ = "1") Dosbatch_agent_scansettings_clamav_options_ondemand_scanpacked endif if ($immunet_agent_scansettings_tetra_options_ondemand_scanarchives$ = "1") Dosbatch_agent_scansettings_tetra_options_ondemand_scanarchives endif if ($immunet_agent_scansettings_tetra_options_ondemand_scanpacked$ = "1") Dosbatch_agent_scansettings_tetra_options_ondemand_scanpacked endif if ( $immunet_agent_scansettings_ethos_enable$ = "1") Dosbatch_agent_scansettings_ethos_enable endif if ( $immunet_agent_scansettings_spero_enable$ = "1") Dosbatch_agent_scansettings_spero_enable endif if ( $immunet_agent_scansettings_action_malware$ = "1") Dosbatch_agent_scansettings_action_malware endif if ( $immunet_agent_scansettings_action_suspicious$ = "1") Dosbatch_agent_scansettings_action_suspicious endif if ( $immunet_agent_driver_protmode_active$ = "1") Dosbatch_agent_driver_protmode_active endif if ( $immunet_agent_driver_protmode_file$ = "1") Dosbatch_agent_driver_protmode_file endif if ( $immunet_agent_driver_protmode_process$ = "1") Dosbatch_agent_driver_protmode_process endif if ( $immunet_agent_cloud_upload_enable$ = "1") Dosbatch_agent_cloud_upload_enable endif if ( $immunet_agent_cloud_upload_telemetry_enable$ = "1") Dosbatch_agent_cloud_upload_telemetry_enable endif if ( $immunet_agent_cloud_upload_metadata_enable$ = "1") Dosbatch_agent_cloud_upload_metadata_enable endif if ( $immunet_ui_notification_verbose$ = "1") Dosbatch_ui_notification_verbose endif if ( $immunet_ui_notification_gaming$ = "1") Dosbatch_ui_notification_gaming endif if ( $immunet_ui_notification_cloud$ = "1") Dosbatch_ui_notification_cloud endif if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") Dosbatch_final_copy_32 endfi if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) Dosbatch_final_copy_64 endfi [Dosbatch_config_agent_license_key] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/license/key" -v $LicenseKey$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_clamav_devInit] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/clamav/defInit" -v $immunet_agent_scansettings_clamav_devInit$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_clamav_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/clamav/enable" -v $immunet_agent_scansettings_clamav_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_clamav_updater_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/clamav/updater/enable" -v $immunet_agent_scansettings_clamav_updater_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_clamav_updater_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/clamav/updater/enable" -v $immunet_agent_scansettings_clamav_updater_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_clamav_options_ondemand_scanarchives] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/clamav/options/ondemand/scanarchives" -v $immunet_agent_scansettings_clamav_options_ondemand_scanarchives$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_clamav_options_ondemand_scanpacked] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/clamav/options/ondemand/scanpacked" -v $immunet_agent_scansettings_clamav_options_ondemand_scanpacked$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_tetra_options_ondemand_scanarchives] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/tetra/options/ondemand/scanarchives" -v $immunet_agent_scansettings_tetra_options_ondemand_scanarchives$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_tetra_options_ondemand_scanpacked] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/tetra/options/ondemand/scanpacked" -v $immunet_agent_scansettings_tetra_options_ondemand_scanpacked$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_ethos_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/ethos/enable" -v $immunet_agent_scansettings_ethos_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_spero_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/spero/enable" -v $immunet_agent_scansettings_spero_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_action_malware] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/action/malware" -v $immunet_agent_scansettings_action_malware$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_scansettings_action_suspicious] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/scansettings/action/suspicious" -v $immunet_agent_scansettings_action_suspicious$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_driver_protmode_active] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/driver/protmode/active" -v $immunet_agent_driver_protmode_active$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_driver_protmode_file] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/driver/protmode/file" -v $immunet_agent_driver_protmode_file$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_driver_protmode_process] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/driver/protmode/process" -v $immunet_agent_driver_protmode_process$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_cloud_upload_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/cloud/upload/enabled" -v $immunet_agent_cloud_upload_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_janus_upload_event_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/janus/upload/event/enabled" -v $immunet_agent_janus_upload_event_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_metadata_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/fmd/enabled" -v $immunet_agent_metadata_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_agent_monitor_enable] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/agent/nfm/enabled" -v $immunet_agent_monitor_enable$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_ui_notification_verbose] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/ui/notification/verbose" -v $immunet_ui_notification_verbose$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_ui_notification_gaming] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/ui/notification/gaming" -v $immunet_ui_notification_gaming$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_ui_notification_cloud] copy "$LogDir$\local.xml" "$LogDir$\local.xml.old" xml ed -O -u "/config/ui/notification/cloud" -v $immunet_ui_notification_cloud$ "$LogDir$\local.xml.old" > "$LogDir$\local.xml" [Dosbatch_final_copy_32] copy "$LogDir$\local.xml" "$InstallDir32$\local.xml" [Dosbatch_final_copy_64] copy "$LogDir$\local.xml" "$InstallDir64$\local.xml"