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 Doesn't Get Created
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Service Doesn't Get Created
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
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
-
- Posts: 8
- Joined: Sun Mar 17, 2024 9:41 am
Re: Service Doesn't Get Created
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?
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?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Service Doesn't Get Created
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
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
-
- Posts: 8
- Joined: Sun Mar 17, 2024 9:41 am
Re: Service Doesn't Get Created
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?
Don't you know some troubleshooting steps I should try first?
Re: Service Doesn't Get Created
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.
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
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
Who is online
Users browsing this forum: Google [Bot] and 23 guests