diff --git a/AA-Klassen/AppStarter.cs b/AppStarter.cs similarity index 72% rename from AA-Klassen/AppStarter.cs rename to AppStarter.cs index 8edf651..0c6b9a7 100644 --- a/AA-Klassen/AppStarter.cs +++ b/AppStarter.cs @@ -9,7 +9,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Deckungsbeitrag.AA_Klassen +namespace Deckungsbeitrag { [RunInstaller(true)] public class AppStarterInstaller : Installer @@ -18,16 +18,14 @@ namespace Deckungsbeitrag.AA_Klassen { base.Commit(savedState); - // Haupt-Anwendung starten string appPath = Path.Combine( - @"C:\Program Files (x86)\Kilian Wirl GmbH\Verwaltung", - "Deckungsbeitrag.exe"); + Context.Parameters["TARGETDIR"], + "Wirl-Verwaltung.exe"); // Deine Haupt-App - try + if (File.Exists(appPath)) { Process.Start(appPath); } - catch { } } } } diff --git a/Verwaltung.csproj b/Verwaltung.csproj index 8e15116..cefda33 100644 --- a/Verwaltung.csproj +++ b/Verwaltung.csproj @@ -196,9 +196,6 @@ FormWSVerfolgung.cs - - Component - @@ -375,6 +372,9 @@ + + Component + diff --git a/Verwaltung_ReadMe.txt b/Verwaltung_ReadMe.txt index 172f2e6..fca7423 100644 --- a/Verwaltung_ReadMe.txt +++ b/Verwaltung_ReadMe.txt @@ -99,5 +99,5 @@ Build-Info: - 🔄 Wenn kunde null dann return. [FormNeuerAuftrag.cs] - 🔄 Wenn Nachwäsche oder Müllwäsche alle Artikel anzeigen. [FormFehlmengeCount.cs] -Installation: 25.02.2026 08:26 +Installation: 25.02.2026 08:33 =====================================