i'm in the process of packaging a specific application which by design has some its application processes still running after (main) application close. while this is maybe fine if installed regularly, this is an issue when running from a portable device as it prevents device execution among other things. therefore, i'd like to get the left-over processes killed when the end user closes the virtualized application. i've implemented a solution in thinapp virtualization packages through batch or vb script before. looking at the cameyo manual i figured this might be doable with the custom events (on stop) functionality.
in general, is this possible with cameyo at all? if so, how can it be done? are custom events the way to go?