Page 1 of 1

Service Doesn't Get Created

Posted: Sat Mar 23, 2024 4:50 pm
by GigabyteSystemsLLC
Gentlemen:

My InstallAware native installer runs fine, but it fails to create my Windows service The service executable is successfully installed to the target directory, but it doesn't create the Windows service in the Service Controller.

I've unchecked several of the standard dialog boxes that I think are not needed for this setup, such as registration, setuptype, componentstree and destination. Does removing these dialog boxes cause any part of the setup to not run?

Below is a screenshot of the relevant code fragment. I used only the IDE to create this setup. I did not edit the code in any way.

Can anyone provide some troubleshooting hints?

Service.JPG
Service.JPG (125.88 KiB) Viewed 589 times

Re: Service Doesn't Get Created

Posted: Tue Mar 26, 2024 2:11 pm
by FrancescoT
I've unchecked several of the standard dialog boxes that I think are not needed for this setup, such as registration, setuptype, componentstree and destination. Does removing these dialog boxes cause any part of the setup to not run?

No, this cannot be the root of your issue, Also because for what you are saying, the service.exe gets successfully installed.

Maybe, it may be present a problem with your setup script logic/sequence. At any rate, it's quite difficult to say without having a reproducible project.

If you have any chance to share a very minimal project, I'll try to give it a look.

Re: Service Doesn't Get Created

Posted: Thu Mar 28, 2024 6:35 am
by GigabyteSystemsLLC
Thanks, Francesco.

When you say a very minimal project, do you mean just the project file, or do you need all of the application files as well?

Re: Service Doesn't Get Created

Posted: Fri Mar 29, 2024 1:31 pm
by FrancescoT
I need an IA project (the entire project folder including all scripts) and all source files needed to successfully build it.

Re: Service Doesn't Get Created

Posted: Sat Mar 30, 2024 8:46 pm
by GigabyteSystemsLLC
I can't conceivably send you my company's complete application like that. The boss would never go for that.

Don't you know some troubleshooting steps I should try first?

Re: Service Doesn't Get Created

Posted: Thu Apr 04, 2024 7:39 am
by JohnGaver
You shouldn't need to.

Just trim everything else away and provide only the service issue.

Often times, undertaking this exercise itself will resolve the issue when you discover a lurking unspotted error.