###############################################################################
#
# Open iT Patch definition
#

# Stop sentinel processes
stop
{
	error=warning
	module=sentinelprocesses
}

# Wait for all sentinel processes to stop
waitstop
{
	error=fatal
	timeout=60
	kill=no
}


# Stop service
stop
{
	error=warning
	module=service
}


# Wait for all previously signalled programs to stop
waitstop
{
	error=fatal
	timeout=60
	kill=no
}



install
{
	error=error
	source=bin/openit_flexconfigcollector.exe
	target=%installdir%/bin/openit_flexconfigcollector.exe
}

install
{
	error=error
	source=bin/openit_licenseconfigpatcher.exe
	target=%installdir%/bin/openit_licenseconfigpatcher.exe
}


install
{
	error=error
	source=bin/openit_flexlogcollector.exe
	target=%installdir%/bin/openit_flexlogcollector.exe
}


install
{
	error=error
	source=bin/openit_flexpoller.exe
	target=%installdir%/bin/openit_flexpoller.exe
}


install
{
	error=error
	source=bin/openit_licenseoptimizer.exe
	target=%installdir%/bin/openit_licenseoptimizer.exe
}

install
{
	error=error
	source=bin/openit_usint.exe
	target=%installdir%/bin/openit_usint.exe
}


install
{
	error=error
	source=bin/openit_winsar.exe
	target=%installdir%/bin/openit_winsar.exe
}

install
{
	error=error
	source=bin/openit_moduleactivator.exe
	target=%installdir%/bin/openit_moduleactivator.exe
}

install
{
	error=error
	source=bin/openit_scheduler.exe
	target=%installdir%/bin/openit_scheduler.exe
}

install
{
	error=error
	source=bin/openit_licpoll.exe
	target=%installdir%/bin/openit_licpoll.exe
}


#copy parsers
install
{
	error=error
	source=bin/openit_catiaeventsparser.exe
	target=%installdir%/bin/openit_catiaeventsparser.exe
}

install
{
	error=error
	source=bin/openit_dslseventsparser.exe
	target=%installdir%/bin/openit_dslseventsparser.exe
}

install
{
	error=error
	source=bin/openit_eaeventsparser.exe
	target=%installdir%/bin/openit_eaeventsparser.exe
}

install
{
	error=error
	source=bin/openit_haspeventsparser.exe
	target=%installdir%/bin/openit_haspeventsparser.exe
}

install
{
	error=error
	source=bin/openit_ipseventsparser.exe
	target=%installdir%/bin/openit_ipseventsparser.exe
}

install
{
	error=error
	source=bin/openit_lumeventsparser.exe
	target=%installdir%/bin/openit_lumeventsparser.exe
}

install
{
	error=error
	source=bin/openit_parasofteventsparser.exe
	target=%installdir%/bin/openit_parasofteventsparser.exe
}

install
{
	error=error
	source=bin/openit_petreleventsparser.exe
	target=%installdir%/bin/openit_petreleventsparser.exe
}


install
{
	error=error
	source=bin/openit_pelotoneventsparser.exe
	target=%installdir%/bin/openit_pelotoneventsparser.exe
}

install
{
	error=error
	source=bin/openit_pollbookmarker.exe
	target=%installdir%/bin/openit_pollbookmarker.exe
}


install
{
	error=error
	source=bin/openit_flexconfigcollector.exe.sign
	target=%installdir%/bin/openit_flexconfigcollector.exe.sign
}

install
{
	error=error
	source=bin/openit_licenseconfigpatcher.exe.sign
	target=%installdir%/bin/openit_licenseconfigpatcher.exe.sign
}

install
{
	error=error
	source=bin/openit_flexlogcollector.exe.sign
	target=%installdir%/bin/openit_flexlogcollector.exe.sign
}

install
{
	error=error
	source=bin/openit_flexpoller.exe.sign
	target=%installdir%/bin/openit_flexpoller.exe.sign
}


install
{
	error=error
	source=bin/openit_moduleactivator.exe.sign
	target=%installdir%/bin/openit_moduleactivator.exe.sign
}

install
{
	error=error
	source=bin/openit_scheduler.exe.sign
	target=%installdir%/bin/openit_scheduler.exe.sign
}

install
{
	error=error
	source=bin/openit_catiaeventsparser.exe.sign
	target=%installdir%/bin/openit_catiaeventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_clcconfig.exe.sign
	target=%installdir%/bin/openit_clcconfig.exe.sign
}

install
{
	error=error
	source=bin/openit_clhandlescanner.exe.sign
	target=%installdir%/bin/openit_clhandlescanner.exe.sign
}

install
{
	error=error
	source=bin/openit_confbuilder.exe.sign
	target=%installdir%/bin/openit_confbuilder.exe.sign
}

install
{
	error=error
	source=bin/openit_datafilesender.exe.sign
	target=%installdir%/bin/openit_datafilesender.exe.sign
}

install
{
	error=error
	source=bin/openit_dslseventsparser.exe.sign
	target=%installdir%/bin/openit_dslseventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_eaeventsparser.exe.sign
	target=%installdir%/bin/openit_eaeventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_haspeventsparser.exe.sign
	target=%installdir%/bin/openit_haspeventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_ipseventsparser.exe.sign
	target=%installdir%/bin/openit_ipseventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_logfilecollector.exe.sign
	target=%installdir%/bin/openit_logfilecollector.exe.sign
}

install
{
	error=error
	source=bin/openit_lumeventsparser.exe.sign
	target=%installdir%/bin/openit_lumeventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_messagerouter.exe.sign
	target=%installdir%/bin/openit_messagerouter.exe.sign
}

install
{
	error=error
	source=bin/openit_parasofteventsparser.exe.sign
	target=%installdir%/bin/openit_parasofteventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_pelotoneventsparser.exe.sign
	target=%installdir%/bin/openit_pelotoneventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_petreleventsparser.exe.sign
	target=%installdir%/bin/openit_petreleventsparser.exe.sign
}

install
{
	error=error
	source=bin/openit_petrellogcollectorjob.exe.sign
	target=%installdir%/bin/openit_petrellogcollectorjob.exe.sign
}

install
{
	error=error
	source=bin/openit_pollbookmarker.exe.sign
	target=%installdir%/bin/openit_pollbookmarker.exe.sign
}

install
{
	error=error
	source=bin/openit_pollcollector.exe.sign
	target=%installdir%/bin/openit_pollcollector.exe.sign
}

install
{
	error=error
	source=bin/openit_realtimemonitor.exe.sign
	target=%installdir%/bin/openit_realtimemonitor.exe.sign
}


#copy parsers scheduler jobs

install
{
	error=error
	source=conf/client-parser-catia.oconf
	target=%confdir%/scheduler/client-parser-catia.oconf
}


install
{
	error=error
	source=conf/client-parser-ea.oconf
	target=%confdir%/scheduler/client-parser-ea.oconf
}

install
{
	error=error
	source=conf/client-parser-hasp.oconf
	target=%confdir%/scheduler/client-parser-hasp.oconf
}


install
{
	error=error
	source=conf/client-parser-lum.oconf
	target=%confdir%/scheduler/client-parser-lum.oconf
}

install
{
	error=error
	source=conf/client-parser-parasoft.oconf
	target=%confdir%/scheduler/client-parser-parasoft.oconf
}


install
{
	error=error
	source=conf/client-parser-petrel.oconf
	target=%confdir%/scheduler/client-parser-petrel.oconf
}



install
{
	error=error
	source=conf/ConfBuilder-la-auto.conf
	target=%confdir%/ConfBuilder-la-auto.conf
}


install
{
	error=error
	source=conf/daemon.exclude
	target=%confdir%/daemon.exclude
}

install
{
	error=error
	source=conf/flexconfigcollector.xml
	target=%confdir%/Components/flexconfigcollector.xml
}

install
{
	error=error
	source=conf/licenseconfigpatcher.xml
	target=%confdir%/Components/licenseconfigpatcher.xml
}

install
{
	error=error
	source=conf/flexlogcollector2.xml
	target=%confdir%/Components/flexlogcollector2.xml
}


install
{
	error=error
	source=conf/flexpoller.xml
	target=%confdir%/Components/flexpoller.xml
}

install
{
	error=error
	source=conf/licpoll.xml
	target=%confdir%/Components/licpoll.xml
}

install
{
	error=error
	source=conf/filespace.xml
	target=%confdir%/Components/filespace.xml
}


install
{
	error=error
	source=conf/config-collection.oconf
	target=%confdir%/scheduler/config-collection.oconf
}

install
{
	error=error
	source=conf/config-detection.oconf
	target=%confdir%/scheduler/config-detection.oconf
}


install
{
	error=error
	source=conf/license_analyzer.oconf
	target=%confdir%/module-activation/license_analyzer.oconf
}

install
{
	error=error
	source=conf/windows-module-activation-remap.oconf
	target=%confdir%/windows-module-activation-remap.oconf
}

install
{
	error=error
	source=conf/licenseconfigpatcher.mess
	target=%confdir%/LogMessages/licenseconfigpatcher.mess
}

install
{
	error=error
	source=conf/matchobjects-actions-dsls.oconf
	target=%confdir%/matchobjects-actions-dsls.oconf
}

install
{
	error=error
	source=conf/matchobjects-actions-hasp.oconf
	target=%confdir%/matchobjects-actions-hasp.oconf
}

install
{
	error=error
	source=conf/matchobjects-actions-ips.oconf
	target=%confdir%/matchobjects-actions-ips.oconf
}

install
{
	error=error
	source=conf/matchobjects-actions-peloton.oconf
	target=%confdir%/matchobjects-actions-peloton.oconf
}

install
{
	error=error
	source=conf/matchobjects-catia.oconf
	target=%confdir%/matchobjects-catia.oconf
}

install
{
	error=error
	source=conf/matchobjects-ea.oconf
	target=%confdir%/matchobjects-ea.oconf
}

install
{
	error=error
	source=conf/matchobjects-events-dsls.oconf
	target=%confdir%/matchobjects-events-dsls.oconf
}

install
{
	error=error
	source=conf/matchobjects-events-hasp.oconf
	target=%confdir%/matchobjects-events-hasp.oconf
}

install
{
	error=error
	source=conf/matchobjects-events-ips.oconf
	target=%confdir%/matchobjects-events-ips.oconf
}

install
{
	error=error
	source=conf/matchobjects-lum.oconf
	target=%confdir%/matchobjects-lum.oconf
}

install
{
	error=error
	source=conf/matchobjects-parasoft.oconf
	target=%confdir%/matchobjects-parasoft.oconf
}

install
{
	error=error
	source=conf/matchobjects-petrel.oconf
	target=%confdir%/matchobjects-petrel.oconf
}

#run confbuilder with ConfBuilder-la-auto.conf
run
{
	error=fatal
	source=run_confbuilder_la.oms
	timeout=300
}


#run script for copying pstools for LO
run
{
	error=fatal
	source=copy_pstools.oms
	timeout=300
}


# Start service
start
{
	error=warning
	module=service
}


# Start sentinel processes again
start
{
	error=warning
	module=sentinelprocesses
}
