Service Installation 64 bit

Having trouble running Advanced Installer? Got a bug to report? Post it all here.
Post Reply
vudiemphuongchi
Posts: 1
Joined: Tue May 14, 2019 2:35 pm

Service Installation 64 bit

Post by vudiemphuongchi » Tue May 14, 2019 2:38 pm

Hy together,

We would like to Install a 64 bit Windows Service, but we see that the AI only Use the 32 bit Installer ( Installutil i Guess :) )
Is it possible to switch the Installer Application inside AI?

Thanks

Catalin
Posts: 1248
Joined: Wed Jun 13, 2018 7:49 am

Re: Service Installation 64 bit

Post by Catalin » Fri May 17, 2019 2:05 pm

Hello and welcome to Advanced Installer forums,

First of all, please accept my apologies for the delayed reply.

If by 32-bit service you mean the service type from the "Services" page:
"A Win32 service that runs in its own process"
please keep in mind that ur "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.

The Windows API, informally WinAPI, is Microsoft's core set of application programming interfaces (APIs) available in the Microsoft Windows operating systems. The name Windows API collectively refers to several different platform implementations that are often referred to by their own names (for example, Win32 API). Almost every new version of Microsoft Windows has introduced its own additions and changes to the Windows API.[22] The name of the API, however, remained consistent between different Windows versions, and name changes were kept limited to major architectural and platform changes for Windows. Microsoft eventually changed the name of the then current Win32 API family into Windows API, and made it into a catch-all term for both past and future API versions.

If the installed service is still treated as a 32-bit service, you could indeed try to use the x64 "InstallUtil.exe" executable which can be found at the following location:

%windir%\Microsoft.NET\Frameworkx64\$version\InstallUtil.exe

The above can be achieved through a custom action.

Hope this helps somehow.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Post Reply