Wechsel AutoStart

This commit is contained in:
Kilian Wirl 2026-02-25 08:34:15 +01:00
parent 2b9cf48fb5
commit 9b2d3e2689
3 changed files with 8 additions and 10 deletions

View File

@ -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 { }
}
}
}

View File

@ -196,9 +196,6 @@
<Compile Include="AA-Forms\FormWSVerfolgung.Designer.cs">
<DependentUpon>FormWSVerfolgung.cs</DependentUpon>
</Compile>
<Compile Include="AA-Klassen\AppStarter.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="AA-Klassen\Artikel.cs" />
<Compile Include="AA-Klassen\Aufgabe.cs" />
<Compile Include="AA-Klassen\Auftrag.cs" />
@ -375,6 +372,9 @@
<Compile Include="AA-Klassen\Saison.cs" />
<Compile Include="AA-Klassen\Tour.cs" />
<Compile Include="AA-Klassen\WSFach.cs" />
<Compile Include="AppStarter.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Config.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

View File

@ -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
=====================================