Hello,
The
AfterInstall event should be automatically triggered after the Install() method of your service is run. To make sure the Install() method of your service is called during installation, can you please add a
.NET Installer Class custom action with sequence, added as deferred after "Install Execution Stage -> Add Resources" action group, which will call the Install() method of your service source file?
Let us know if this helped.
All the best,
Daniel