I have an installation that I wrote that shuts down the JBoss default Service on the target machine and needs to do some clean up work before installing the new ear file and restarting the JBoss default Service. The issue is that I need the installation to pause for 30 seconds to let the JBoss default Service shutdown before deleting the tmp,data and work directories. I've attempted to use the Configure Operation Parameters to wait 60 seconds after shutting down the JBoss default Service but the wait step never happens. Any ideas what I might be missing?
Please note that the configure operations are used to configure services operations, not the install process.
What you can try is to create your own custom action that stops the service and then waits for as many seconds as you wish from your code.
You can set the custom action as synchronous and to wait for the return code, so the installer will not continue until your custom action returns a value.
FOLLOW US
Get the latest news in Application Packaging