Hello
First, great job on the AI product! For someone with no experience in the installer arena, I have been able to create something very powerful in a short amount of time.
There is just one thing I cannot seem to figure out...
(using AI version 7.7)
I have created a custom dialog that lives in the Maintenance section and is invoked when the user clicks the "Modify" button on the MaintenanceTypeDlg. This dialog essentially allows the user to edit several values in a configuration file on disk. After modification, I would like AI to restart a Windows Service that was installed (and started) as part of the Install sequence.
Unfortunately, I cannot seem to make AI perform this task via the service "Control Operation". I am guessing this is because service control operations are not triggered during the AI_MAINT phase?
Trying to take another route, I was able to Terminate the windows service process using the pre-defined "Terminate Process" custom action. However, there didn't seem to be an option to start a process? Either way, this felt like I was circumventing built-in AI behavior for services.
TL;DR
How do I restart a running Windows service after modification (AI_MAINT) using Advanced Installer best practices?
Cheers,
Rob