Service Doesn't Get Created

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

Service Doesn't Get Created

Post 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 27618 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Service Doesn't Get Created

Post 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.
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

Post 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?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Service Doesn't Get Created

Post by FrancescoT »

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

Post 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?
JohnGaver
Posts: 265
Joined: Mon Feb 05, 2024 6:15 pm

Re: Service Doesn't Get Created

Post 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.
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/installawa ... atform.htm
Post Reply