Skip to content

Add .NET Service Installation sample#1

Open
DanutGhiorghita wants to merge 1 commit into
Caphyon:mainfrom
DanutGhiorghita:net-service-installation
Open

Add .NET Service Installation sample#1
DanutGhiorghita wants to merge 1 commit into
Caphyon:mainfrom
DanutGhiorghita:net-service-installation

Conversation

@DanutGhiorghita
Copy link
Copy Markdown

Adds a new .NET Service Installation sample project.

Includes:

  • Visual Studio solution with a Windows Service example (.NET Framework 4.8)
  • Service implementation and configuration files
  • Advanced Installer project (.aip) for packaging
  • Basic project structure for demonstration purposes

Sample Details

The project implements a Windows Service (MyDemoService) that:

  • Targets .NET Framework 4.8 (added as online prereq)
  • Writes start/stop heartbeat entries to a log file
  • Uses the following location for logging:
    CommonApplicationData\Caphyon\ServiceSample
  • After installation, the folder is automatically opened.
  • On uninstall, there is a folder-removal configured

The sample is packaged using the included Advanced Installer project: Net Service Demo.aip

Purpose

This sample demonstrates how to:

  • Build a Windows Service in .NET
  • Configure and install the service using Advanced Installer
  • Validate service behavior through logging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants