32 lines
698 B
C#
32 lines
698 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Configuration.Install;
|
|
using System.Diagnostics;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Deckungsbeitrag
|
|
{
|
|
[RunInstaller(true)]
|
|
public class AppStarterInstaller : Installer
|
|
{
|
|
public override void Commit(IDictionary savedState)
|
|
{
|
|
base.Commit(savedState);
|
|
|
|
string appPath = Path.Combine(
|
|
@"C:\Program Files (x86)\Kilian Wirl GmbH\Verwaltung",
|
|
"Deckungsbeitrag.exe"); // Deine Haupt-App
|
|
|
|
if (File.Exists(appPath))
|
|
{
|
|
Process.Start(appPath);
|
|
}
|
|
}
|
|
}
|
|
}
|