Hi all,
I have downloaded and installed 30-days trial of Advanced Installer 9.1 build 44432.
I'm currently working on the 2 Tutorials and am almost through with the professional one.
I am at step 15 of professional tutorial -> 15. Install and control services
I have a sample-directory that collects all files that go into the installation (I have extended the tutorial slightly).
Here's what I have done: copy notepad.exe to my sample-directory, rename to nopad.exe
create foo.edt and bar.edt, which both are textfiles and go into sample directory.
foo.edt and bar.edt are installed as optional components.
foo.edt and bar.edt as well as nopad.exe and myservice.exe go into the same target directory.
I have created a service "myservice.exe" that does almost nothing.
I can do
"myservice.exe /install"
"myservice.exe /uninstall"
"net start mysrv"
"net stop mysrv"
So far, so good.
Now if I add myservice.exe to the installation and create an entry in the services section of the resources under "services to install" and "Control Operations", I can still build the installation, but the installation hangs for a long time at "starting the service". After about 10 minutes of inactivity a message shows, that the installation failed to start the service. Next, it tries to rollback installation.
The system still shows the service as "start_pending". The rollback takes almost forever and claims to be successful. However, the service is not uninstalled.
What can I do to solve the situation (e.g. get the service installed and started)
Thanks!
CaP.
FOLLOW US
Get the latest news in Application Packaging