Starting Service - Fails - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

neuralbd
Posts: 14
Joined: Tue Dec 22, 2009 11:17 pm

Starting Service - Fails

Problem description - We have an installer which was created to register and start a service on a Windows 7 (x64) machine. If our helpdesk is logged into a PC via RDP/VLC or similar, logged in as Administrator, the service fails to Start and after waiting about 3 min we receive an error.

"Service "name of installer" (name of installer.exe) failed to start. Verify that you have sufficient privileges to start system services"

We confirm we are admin (as these are brand new machines in the test with only 1 user account which is Administrator

How to reproduce ? - Copy installer to any machine which has LogMeIn installed, RDP - Login as the Administrator - right click on the Installer.exe and RUN as ADMINISTRATOR - wait until the UI states Service is Starting - wait 1-3 min for error

Environment - - Windows 7 (x64) (specific of toggled features in AI Enterprise Version) can be updated upon your request
neuralbd
Posts: 14
Joined: Tue Dec 22, 2009 11:17 pm

Re: Starting Service - Fails

Update:

So we went into the clients office this evening, and decided to try and do this in front of the PC.

It seems in any case the Installer would not Start the service on these New Machines.

However on an older Windows 7 x64 it did work so as of now there is no correlation Why some will work and some will not.

Does anyone have any experience with the latest version of AI and Windows 7 x64 Home Premium upto Professional having random results?
neuralbd
Posts: 14
Joined: Tue Dec 22, 2009 11:17 pm

Re: Starting Service - Fails

Update #2

So we wanted to understand why the Service can be installed but will never start during the Installer; so we did a silent install
We are locally on the machine and attempt to change the Service to login with Manual permissions and assign it the Administrator account with Password and this also fails.

It seems that the Service itself is the culprit, can you please give complete instructions on possible scenarios to resolve this?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Starting Service - Fails

Hi,

As you have seen the problem is not the remote connection. Since the service works on other machine I suspect the problem is that from the current machine you are missing
some dependencies, like the required JRE for example (maybe you have an older version installed or a different architecture)? Have you tried our sample service from the tutorials to see if it works on the machine?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
neuralbd
Posts: 14
Joined: Tue Dec 22, 2009 11:17 pm

Re: Starting Service - Fails

Bogdan,

We have been told that the pre-requisitewas Java 1.7 so we do have this installed.

The other locations where the installer/service worked were on Older machines with many versions of JRE/JDK etc..

So on New "Out of the box" Windows 7 machines we only add what was required (Java 1.7)

QN: What is the exact requirement ? or pre-requisite

Txs
neuralbd
Posts: 14
Joined: Tue Dec 22, 2009 11:17 pm

Re: Starting Service - Fails

Answered ourselves;

http://www.advancedinstaller.com/user-g ... rvice.html

It seems we did not have this information and will not manually install 1.6 with our 1.7 already on the machine

Txs
neuralbd
Posts: 14
Joined: Tue Dec 22, 2009 11:17 pm

Re: Starting Service - Fails

Bug:

We have downloaded your javaserviceexample.msi & this service also hangs.

Please let me know if there are logs which can help you fix this bug

Regards
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Starting Service - Fails

answered ourselves;
http://www.advancedinstaller.com/user-g ... rvice.html
It seems we did not have this information and will not manually install 1.6 with our 1.7 already on the machine
This is a mistake in our user-guide, miss-communication between the development and user-guide colleagues. The sample should work for all versions of Java.

The service works correctly on our machines so I still believe there is something not configured correctly. Have you enabled logging on the service, from Java Products page? Also, are other Java application running correctly on the machine (just to make the problem is not from the Java installation, as this has happened before).

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
neuralbd
Posts: 14
Joined: Tue Dec 22, 2009 11:17 pm

Re: Starting Service - Fails

just to confirm;

Not all of the issues are commented here as it went via Email.

Your test service installer had failed on 2 machines used in our test - Our Lead Developer has emailed to get re-confirmation that you do in fact see this or know of the issue.

We/I am happy to show you the problem or help you further troubleshoot it

Thanks

Return to “Common Problems”