Run as user
You can run the ExtensionsManager by double clicking it, this is great for testing and installation. Make sure to place the application in a separate folder as it will create configuration files besides the executable file.
If you want to deploy the ExtensionsManager application in production follow the steps below.
Run as a service on Windows
The easiest way to have the extension started automatically as a service is to create a task in Windows Task scheduler. The trigger of the task must be configured to “System boot” and it is best run under System Credentials. Below the steps to follow.
1. Start windows Task Scheduler
2. Create a new task
3. Enter the general task information
- Name the task with a reference to the ExtensionsManager.
- Set SYSTEM user account to execute this task. It is important to use an account with privileges to start services
- Check what version suits your system best (Windows Server)
4. Set trigger for the task to be executed
- Add a new _trigger_ on the TASK pane
- Select the trigger “At Startup”
- Make sure the trigger is enabled
5. Set the action to start the program
- On the “Actions” tab select “New…”
- Set your action to type “Start program”
- Select the binary file of your extension as the “Program”. In this example it is “C:appsextensions-manager.exe”. Make sure to include the entire path.
- Set the “Start in” folder. This is very important for the service to start correctly. It is the path where the binary file/program is located. In this example: “C:apps”
- Press OK to store your “Action”
6. Set proper conditions for task
Make sure the task will always be executed (battery or AC power)!
7. Set extra settings