Service Doesn't Get Created

Got a problem you cannot solve? Try here.
GigabyteSystemsLLC
Posts: 8
Joined: Sun Mar 17, 2024 9:41 am

Service Doesn't Get Created

Postby GigabyteSystemsLLC » Sat Mar 23, 2024 4:50 pm

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 5078 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Service Doesn't Get Created

Postby FrancescoT » Tue Mar 26, 2024 2:11 pm

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.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

GigabyteSystemsLLC
Posts: 8
Joined: Sun Mar 17, 2024 9:41 am

Re: Service Doesn't Get Created

Postby GigabyteSystemsLLC » Thu Mar 28, 2024 6:35 am

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Service Doesn't Get Created

Postby FrancescoT » Fri Mar 29, 2024 1:31 pm

I need an IA project (the entire project folder including all scripts) and all source files needed to successfully build it.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

GigabyteSystemsLLC
Posts: 8
Joined: Sun Mar 17, 2024 9:41 am

Re: Service Doesn't Get Created

Postby GigabyteSystemsLLC » Sat Mar 30, 2024 8:46 pm

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?

JohnGaver
Posts: 129
Joined: Mon Feb 05, 2024 6:15 pm

Re: Service Doesn't Get Created

Postby JohnGaver » Thu Apr 04, 2024 7:39 am

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.
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 39 guests