QuentinG
Posts: 11
Joined: Thu Feb 27, 2014 8:26 am

Install 64 bit services

Thu Dec 11, 2014 8:55 am

I am running version 10.9.1 with a mixed 32/64 bit installer which has either a 64 or 32 bit service to install and start. I can see that I can configure a Win32 service but the service type options do not seem to support Win64 services. Is there a way to do this when the target platform is 64 bit?
Thanks for your help.
Last edited by QuentinG on Fri Dec 12, 2014 5:39 am, edited 1 time in total.

QuentinG
Posts: 11
Joined: Thu Feb 27, 2014 8:26 am

Re: Install 64 bit services

Fri Dec 12, 2014 5:37 am

I think R19gesy has accidently posted to this thread. I still need some help on the 64 bit service installation issue asap please.
Thanks,
Quentin

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Install 64 bit services

Fri Dec 12, 2014 10:47 am

Hello Quentin,

I'm not sure what do you mean by "Win64 services", but you can try to enable the "64-bit Component" flag (from "Organization" page) for your service component and see if this helps.

Our "Services" page uses the predefined Windows Installer "ServiceInstall" table which installs services by calling the "CreateService function". The "ServiceInstall" table allows only the following service types:
1. A Microsoft Win32 service that runs its own process.
2. A Win32 service that shares a process.
3. Win32 service that interacts with the desktop.

Let us know if this helped, otherwise please give us more details about your service installation requirements (maybe you can tell us how do you manually - outside of Advanced Installer - install it on a 64-bit machine).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

QuentinG
Posts: 11
Joined: Thu Feb 27, 2014 8:26 am

Re: Install 64 bit services

Mon Dec 15, 2014 9:34 am

Hi Daniel,

After a little more research the problem I am experiencing seems to relate to the 64 bit exe not being used in place of the 32 bit exe. Please let me explain...

I have a mixed 32/64 bit installer. When the installer attempts to start the service it fails to start. However, if I do some checks while the service remains with the failed to start dialog present (before the install rolls back) I note a few things -

1/ The service exe is not the 64 bit file - it's the 32 bit file (of the same name).
2/ All the other 64 bit files are present and the 32 bit files are not (as expected).
3/ If I manually copy the 64 bit service file across and retry starting the service within the installer - it starts!

This leads me to believe that the installer is treating the 64 bit service file differently than it is all the other 64 bit files but I can't work out why! Every configuration setting relating to copying 64 bit files on 64 bit targets appears to be identical!

Am I missing something?

Thank you for your help.

Regards,
Quentin

QuentinG
Posts: 11
Joined: Thu Feb 27, 2014 8:26 am

Re: Install 64 bit services

Tue Dec 16, 2014 7:45 am

Here is the log of what is happening...

MSI (s) (D0:54) [14:34:55:712]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIAE6C.tmp, Entrypoint: OnFwConfig
MSI (s) (D0:C4) [14:34:55:713]: Generating random cookie.
MSI (s) (D0:C4) [14:34:55:716]: Created Custom Action Server with PID 6824 (0x1AA8).
MSI (s) (D0:60) [14:34:55:734]: Running as a service.
MSI (s) (D0:60) [14:34:55:736]: Hello, I'm your 32bit Elevated custom action server.
MSI (s) (D0:70) [14:34:57:388]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (D0:70) [14:34:57:392]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (D0:70) [14:34:57:392]: Executing op: ServiceControl(,Name=i2ConvertSvc,Action=1,Wait=1,)
MSI (s) (D0:70) [14:35:55:112]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (D0:70) [14:35:55:116]: Transforming table Error.
Error 1920. Service 'i2ConvertSvc' (i2ConvertSvc) failed to start. Verify that you have sufficient privileges to start system services.

Would appreciate any assistance you can offer.

Thanks!

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Install 64 bit services

Tue Dec 16, 2014 2:10 pm

Hello Quentin,

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

QuentinG
Posts: 11
Joined: Thu Feb 27, 2014 8:26 am

Re: Install 64 bit services

Tue Dec 16, 2014 10:57 pm

Thanks Daniel. I have emailed through the aip file.

engin
Posts: 4
Joined: Wed Feb 20, 2019 5:19 pm

Re: Install 64 bit services

Wed Feb 20, 2019 5:29 pm

Hi Daniel,

I have the same problem, but I haven't found a solution yet. Have you find a solution to the problem?

Thanks,
Engin

engin
Posts: 4
Joined: Wed Feb 20, 2019 5:19 pm

Re: Install 64 bit services

Thu Feb 21, 2019 1:39 pm

Hi again,

I tried to build the service exe for 64 bit platform and then install it using advanced installer and it works.

Thanks,
Engin

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Install 64 bit services

Mon Feb 25, 2019 11:29 am

Hello Engin and welcome to our forums,

I am glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”