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( Context.Parameters["TARGETDIR"], "Wirl-Verwaltung.exe"); // Deine Haupt-App if (File.Exists(appPath)) { Process.Start(appPath); } } } }