-
Notifications
You must be signed in to change notification settings - Fork 50
/
Developer Notes.txt
38 lines (30 loc) · 2.37 KB
/
Developer Notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
----------------------------------------------
TabMon Developer Notes
----------------------------------------------
* Building using the "Installer" configuration will also build the installers. The primary generated installer of interest is the "InstallTabMon.exe" file which is built in the TabMonServiceInstallerBootstrapper project. This deploys the main application and also bundles in Postgres and manages dependencies.
* The application can be directly executed in console mode by selecting TabMonService as the startup project in Visual Studio. This is extremely handy for debugging or testing changes.
* Application logs are stored in the Logs\ folder alongside the executing assembly.
* The required .NET (v4.5) and VC 2013 C++ runtimes are automatically installed by the installer if not already present. The only external dependency required to install the application is Windows Management Framework 3.0. Attempts to install TabMon without WMF3 will issue a warning.
----------------------------------------------
Project Descriptions
----------------------------------------------
* DataTableWriter - Library that handles writing DataTable objects.
* TabMon - Core TabMon performance monitoring library.
* TabMonService - A thin service wrapper around TabMon. Uses TopShelf as a service harness.
* TabMonServiceInstaller - Generates an MSI installer for TabMonService.
* TabMonServiceInstallerBootstrapper - Generates the main EXE installer that bundles TabMonService along with Postgres and the TabMonServiceInstallerDBInitializer.
* TabMonServiceInstallerDBInitializer - Generates an MSI installer that uses a powershell script to initialize & configure Postgres. Required to support the Postgres silent installation.
----------------------------------------------
Manual Service Installation
----------------------------------------------
It is better to just use the generated installer to deploy the service, but in case you want to register/unregister the service manually:
* To Manually Install As A Service:
1. Build solution
2. Open a Command Prompt
3. Navigate to the service project's build output directory
4. Run "TabMon.exe install" to install as a Windows service
5. Open Services.msc and start TabMon service
* To Manually Uninstall Service:
1. Open Command Prompt
2. Navigate to the service project's build output directory
3. Run "TabMon.exe uninstall"