JohnT
Posts: 1
Joined: Tue Jan 09, 2018 10:26 pm

Distributing a Service Install

I am just getting started with learning AI, so pardon my ignorance. This may have already been addressed.
I am trying to create a package to distribute a service to all of my users.
The program itself appears to be setup to be installed 1 machine at a time but I need to do it for all machines.
I am not sure if I can say program names but... The program is called WinLogBeat from Elasticsearch.
The installation normally is run in PowerShell.
The process goes as follows:
1. Copy all files from Server to Program Files 64
2. Launch PowerShell (Elevated)
3. Run Installation .PS1 file. (Creates Service)
4. Stop Service
5. Replace specific file from Server folder to Install folder.
6. Restart service.

There has to be a better way that doing this than 1 machine at a time.
I have already got the initial "Product Details" and "Files and Folders" in place.
I am just unsure how to proceed from here.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Distributing a Service Install

Hello and welcome to our forums,

Just take a look on the following user guide articles which should be useful for you:

1. How to install a service
2. How to detect or stop a service

If this is still of no help to you just give us more details about the issues you are facing with.

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

Return to “Building Installers”