Running WUHU as a service

1. Introduction and Overview

WUHUService is a exe that allows you to run WUHU.exe as a service. This is designed for those that
want to run WUHU.exe in serial interface mode and as a service. This will NOT launch HeavyWeather.
It is intended to be used with WUHU running in serial mode.

2. System Requirements

This software requires Windows 2000, Windows XP or later with .net framework 1.1 installed
You can download the .net framework from

http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en

3. Other requirements

- Launch WUHU.exe first before setting up the wuhuservice.xml it will need to be
configured before you start it as a service,
- Make sure WUHU.exe is running in serial mode.
- Run the Service as user account if WUHU has to accessing remote resources such as drives.

4. Installing/Uninstalling the WUHUService

- Included in the zip file, is installservice.exe. This will install and create the service for
WUHUService.exe
to install the service type: ServiceInstaller -i WUHUService

Example: ServiceInstaller -i WUHUService c:\wuhu\wuhuservice\wuhuservice.exe

If the path contains spaces you must enclose the path in double spaces.

Example: ServiceInstaller -i WUHUService “c:\Program Files\wuhuservice\wuhuservice.exe”

- To uninstall the service, type: ServiceInstaller – WUHUService

5. WUHUService.xml

- The WUHUService.xml explains how and where to run WUHU.exe
- The exe_window_title is the Exact text that shows up in the applications main window.

Example:Weather Underground / HeavyWeather Uploader

- The exe_path is the full path to WUHU.exe

ExampleC:\wuhu\wuhu.exeWill launch the wuhu from the c:\wuhu directory

- The cmdline_parameters is the command line switches you can pass to the executable.

Example: /debug=1 /servicewill pass the cmd line /debug=1
and /service switches to the exe listed in the exe_path

- The sleep is the amount of time in seconds the Service will scan for the executable in exe_path to
see if it is running. If it is not found running, the service will attempt to relaunch the executable in exe_path.

Example:10will cause the WUHUService to look for the executable in the exe_path and make sure it is running every

10 seconds

Download: wuhuservice

Stop SOPA