diff --git a/Setup/Runtime.cs b/Setup/Runtime.cs new file mode 100644 index 0000000..3d223f3 --- /dev/null +++ b/Setup/Runtime.cs @@ -0,0 +1,186 @@ +using System.ComponentModel; +using System.Diagnostics; +using System.IO; +using System.Net; +using System.Net.Http; +using System.Runtime.InteropServices; +using System.Security.Cryptography.X509Certificates; +using Microsoft.Win32; + +namespace DeskCoreSetup; + +/// Prüft und installiert die von DeskCore benötigte "Microsoft .NET 9 Desktop Runtime". +public static class Runtime +{ + public const string DisplayName = "Microsoft .NET 9 Desktop Runtime"; + public const int Major = 9; + public const string DownloadPage = "https://dotnet.microsoft.com/de-de/download/dotnet/9.0"; + // offizieller Microsoft-Kurzlink auf die jeweils aktuelle 9.0-Version + private const string InstallerUrl = "https://aka.ms/dotnet/9.0/windowsdesktop-runtime-win-x64.exe"; + + public static bool Is64BitWindows => Environment.Is64BitOperatingSystem; + + public static bool IsElevated + { + get + { + try + { + using var id = System.Security.Principal.WindowsIdentity.GetCurrent(); + return new System.Security.Principal.WindowsPrincipal(id).IsInRole(System.Security.Principal.WindowsBuiltInRole.Administrator); + } + catch { return false; } + } + } + + public static bool IsInstalled + { + get + { + try + { + var dir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), + "dotnet", "shared", "Microsoft.WindowsDesktop.App"); + if (Directory.Exists(dir) && Directory.GetDirectories(dir).Any(d => Path.GetFileName(d).StartsWith($"{Major}."))) + return true; + } + catch { } + try + { + using var hklm = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32); + using var k = hklm.OpenSubKey(@"SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedfx\Microsoft.WindowsDesktop.App"); + if (k?.GetValueNames().Any(n => n.StartsWith($"{Major}.")) == true) return true; + } + catch { } + return false; + } + } + + /// Lädt die Laufzeit von Microsoft und installiert sie (der Installer läuft bereits mit Administratorrechten). + public static void Install(Action progress) + { + ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; + var file = Path.Combine(Path.GetTempPath(), $"windowsdesktop-runtime-{Major}-win-x64.exe"); + + using (var http = new HttpClient { Timeout = TimeSpan.FromMinutes(20) }) + { + http.DefaultRequestHeaders.UserAgent.ParseAdd("DeskCore-Setup"); + using var resp = http.GetAsync(InstallerUrl, HttpCompletionOption.ResponseHeadersRead).GetAwaiter().GetResult(); + resp.EnsureSuccessStatusCode(); + long total = resp.Content.Headers.ContentLength ?? 0; + using var input = resp.Content.ReadAsStreamAsync().GetAwaiter().GetResult(); + using var output = File.Create(file); + var buffer = new byte[81920]; + long done = 0; + int read; + while ((read = input.Read(buffer, 0, buffer.Length)) > 0) + { + output.Write(buffer, 0, read); + done += read; + progress(total > 0 ? (double)done / total : 0, + total > 0 ? $"{DisplayName} wird heruntergeladen … {done / 1048576} von {total / 1048576} MB" + : $"{DisplayName} wird heruntergeladen … {done / 1048576} MB"); + } + } + + // Sicherheit: nur ausführen, wenn die Datei gültig von Microsoft signiert ist + if (!IsSignedByMicrosoft(file)) + { + try { File.Delete(file); } catch { } + throw new InvalidOperationException("Die heruntergeladene Datei ist nicht gültig von Microsoft signiert und wurde nicht ausgeführt."); + } + + progress(1, $"{DisplayName} wird installiert …"); + Process p; + try + { + // Der Installer hat schon Adminrechte – "runas" nur als Absicherung, falls er doch ohne gestartet wurde + p = Process.Start(new ProcessStartInfo(file, "/install /quiet /norestart") + { + UseShellExecute = true, Verb = IsElevated ? "" : "runas", WindowStyle = ProcessWindowStyle.Hidden, + })!; + } + catch (Win32Exception ex) when (ex.NativeErrorCode == 1223) + { + throw new InvalidOperationException($"Die Installation von {DisplayName} wurde abgebrochen."); + } + p.WaitForExit(); + try { File.Delete(file); } catch { } + // 0 = ok, 3010/1641 = ok, Neustart empfohlen + if (p.ExitCode is not (0 or 3010 or 1641) || !IsInstalled) + throw new InvalidOperationException($"{DisplayName} konnte nicht installiert werden (Code {p.ExitCode})."); + } + + // ---------- Signaturprüfung (WinVerifyTrust) ---------- + + private static bool IsSignedByMicrosoft(string file) + { + try + { + var subject = X509Certificate.CreateFromSignedFile(file).Subject; + if (subject.IndexOf("O=Microsoft Corporation", StringComparison.OrdinalIgnoreCase) < 0) return false; + } + catch { return false; } + return VerifyTrust(file); + } + + private static bool VerifyTrust(string file) + { + var fileInfo = new WINTRUST_FILE_INFO + { + cbStruct = (uint)Marshal.SizeOf(), + pcwszFilePath = file, + }; + var pFile = Marshal.AllocHGlobal(Marshal.SizeOf()); + try + { + Marshal.StructureToPtr(fileInfo, pFile, false); + var data = new WINTRUST_DATA + { + cbStruct = (uint)Marshal.SizeOf(), + dwUIChoice = 2, // WTD_UI_NONE + fdwRevocationChecks = 0, // WTD_REVOKE_NONE + dwUnionChoice = 1, // WTD_CHOICE_FILE + pFile = pFile, + dwStateAction = 0, + dwProvFlags = 0x40, // WTD_SAFER_FLAG + }; + var action = new Guid("00AAC56B-CD44-11d0-8CC2-00C04FC295EE"); // WINTRUST_ACTION_GENERIC_VERIFY_V2 + return WinVerifyTrust(IntPtr.Zero, ref action, ref data) == 0; + } + finally + { + Marshal.FreeHGlobal(pFile); + } + } + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + private struct WINTRUST_FILE_INFO + { + public uint cbStruct; + public string pcwszFilePath; + public IntPtr hFile; + public IntPtr pgKnownSubject; + } + + [StructLayout(LayoutKind.Sequential)] + private struct WINTRUST_DATA + { + public uint cbStruct; + public IntPtr pPolicyCallbackData; + public IntPtr pSIPClientData; + public uint dwUIChoice; + public uint fdwRevocationChecks; + public uint dwUnionChoice; + public IntPtr pFile; + public uint dwStateAction; + public IntPtr hWVTStateData; + public IntPtr pwszURLReference; + public uint dwProvFlags; + public uint dwUIContext; + public IntPtr pSignatureSettings; + } + + [DllImport("wintrust.dll", ExactSpelling = true, SetLastError = false, CharSet = CharSet.Unicode)] + private static extern int WinVerifyTrust(IntPtr hwnd, ref Guid pgActionID, ref WINTRUST_DATA pWVTData); +} diff --git a/Setup/obj/Release/net48/DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig b/Setup/obj/Release/net48/DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..e64bf25 --- /dev/null +++ b/Setup/obj/Release/net48/DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,14 @@ +is_global = true +build_property.ApplicationManifest = app.manifest +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.RootNamespace = DeskCoreSetup +build_property.ProjectDir = C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = +build_property.EnableCodeStyleSeverity = diff --git a/Setup/obj/Release/net48/DeskCoreSetup.GlobalUsings.g.cs b/Setup/obj/Release/net48/DeskCoreSetup.GlobalUsings.g.cs new file mode 100644 index 0000000..4a15929 --- /dev/null +++ b/Setup/obj/Release/net48/DeskCoreSetup.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/Setup/obj/Release/net48/DeskCoreSetup.csproj.FileListAbsolute.txt b/Setup/obj/Release/net48/DeskCoreSetup.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ea5dc4b --- /dev/null +++ b/Setup/obj/Release/net48/DeskCoreSetup.csproj.FileListAbsolute.txt @@ -0,0 +1,17 @@ +C:\Users\Viper\Desktop\Programme\DeskCore-Source\artifacts\setup\DeskCore-Setup.exe.config +C:\Users\Viper\Desktop\Programme\DeskCore-Source\artifacts\setup\DeskCore-Setup.exe +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCoreSetup.csproj.AssemblyReference.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\MainWindow.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\Colors.Light.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\Colors.Dark.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\Controls.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\App.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\MainWindow.g.cs +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\App.g.cs +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCore-Setup_MarkupCompile.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCore-Setup.g.resources +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCoreSetup.AssemblyInfoInputs.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCoreSetup.AssemblyInfo.cs +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCoreSetup.csproj.CoreCompileInputs.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net48\DeskCore-Setup.exe diff --git a/Setup/obj/Release/net48/MainWindow.baml b/Setup/obj/Release/net48/MainWindow.baml new file mode 100644 index 0000000..a182dd3 Binary files /dev/null and b/Setup/obj/Release/net48/MainWindow.baml differ diff --git a/Setup/obj/Release/net48/MainWindow.g.cs b/Setup/obj/Release/net48/MainWindow.g.cs new file mode 100644 index 0000000..f0f1719 --- /dev/null +++ b/Setup/obj/Release/net48/MainWindow.g.cs @@ -0,0 +1,556 @@ +#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1A3CEC98E280296CC3F91E26F8B8AC24476C46EF" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Forms.Integration; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace DeskCoreSetup { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 48 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock WindowTitle; + + #line default + #line hidden + + + #line 53 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button CloseButton; + + #line default + #line hidden + + + #line 62 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock VersionText; + + #line default + #line hidden + + + #line 63 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel Steps; + + #line default + #line hidden + + + #line 64 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step0; + + #line default + #line hidden + + + #line 65 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step1; + + #line default + #line hidden + + + #line 66 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step2; + + #line default + #line hidden + + + #line 67 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step3; + + #line default + #line hidden + + + #line 76 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageWelcome; + + #line default + #line hidden + + + #line 82 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border RuntimeHint; + + #line default + #line hidden + + + #line 87 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock RuntimeHintText; + + #line default + #line hidden + + + #line 90 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border UpdateHint; + + #line default + #line hidden + + + #line 95 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock UpdateHintText; + + #line default + #line hidden + + + #line 101 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.DockPanel PageLicense; + + #line default + #line hidden + + + #line 103 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox AcceptLicense; + + #line default + #line hidden + + + #line 108 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock LicenseText; + + #line default + #line hidden + + + #line 114 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageOptions; + + #line default + #line hidden + + + #line 119 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox DirBox; + + #line default + #line hidden + + + #line 121 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox DesktopLinkBox; + + #line default + #line hidden + + + #line 122 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox StartMenuBox; + + #line default + #line hidden + + + #line 123 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox AutostartBox; + + #line default + #line hidden + + + #line 124 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox RuntimeBox; + + #line default + #line hidden + + + #line 129 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageProgress; + + #line default + #line hidden + + + #line 130 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock ProgressTitle; + + #line default + #line hidden + + + #line 131 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock ProgressText; + + #line default + #line hidden + + + #line 132 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border ProgressTrack; + + #line default + #line hidden + + + #line 133 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border ProgressFill; + + #line default + #line hidden + + + #line 135 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel DonePanel; + + #line default + #line hidden + + + #line 141 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock DoneText; + + #line default + #line hidden + + + #line 143 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border RuntimeMissing; + + #line default + #line hidden + + + #line 151 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox LaunchBox; + + #line default + #line hidden + + + #line 156 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageUninstall; + + #line default + #line hidden + + + #line 164 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock DataInfo; + + #line default + #line hidden + + + #line 165 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox RemoveDataBox; + + #line default + #line hidden + + + #line 167 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock RemoveDataWarning; + + #line default + #line hidden + + + #line 178 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button BackButton; + + #line default + #line hidden + + + #line 179 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button NextButton; + + #line default + #line hidden + + + #line 180 "..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button CancelButton; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.12.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/DeskCore-Setup;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.12.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.WindowTitle = ((System.Windows.Controls.TextBlock)(target)); + return; + case 2: + + #line 51 "..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Minimize_Click); + + #line default + #line hidden + return; + case 3: + this.CloseButton = ((System.Windows.Controls.Button)(target)); + + #line 53 "..\..\..\MainWindow.xaml" + this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); + + #line default + #line hidden + return; + case 4: + this.VersionText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 5: + this.Steps = ((System.Windows.Controls.StackPanel)(target)); + return; + case 6: + this.Step0 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 7: + this.Step1 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 8: + this.Step2 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 9: + this.Step3 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 10: + this.PageWelcome = ((System.Windows.Controls.StackPanel)(target)); + return; + case 11: + this.RuntimeHint = ((System.Windows.Controls.Border)(target)); + return; + case 12: + this.RuntimeHintText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 13: + this.UpdateHint = ((System.Windows.Controls.Border)(target)); + return; + case 14: + this.UpdateHintText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 15: + this.PageLicense = ((System.Windows.Controls.DockPanel)(target)); + return; + case 16: + this.AcceptLicense = ((System.Windows.Controls.CheckBox)(target)); + + #line 103 "..\..\..\MainWindow.xaml" + this.AcceptLicense.Click += new System.Windows.RoutedEventHandler(this.AcceptLicense_Click); + + #line default + #line hidden + return; + case 17: + this.LicenseText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 18: + this.PageOptions = ((System.Windows.Controls.StackPanel)(target)); + return; + case 19: + + #line 118 "..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeDir_Click); + + #line default + #line hidden + return; + case 20: + this.DirBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 21: + this.DesktopLinkBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 22: + this.StartMenuBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 23: + this.AutostartBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 24: + this.RuntimeBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 25: + this.PageProgress = ((System.Windows.Controls.StackPanel)(target)); + return; + case 26: + this.ProgressTitle = ((System.Windows.Controls.TextBlock)(target)); + return; + case 27: + this.ProgressText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 28: + this.ProgressTrack = ((System.Windows.Controls.Border)(target)); + return; + case 29: + this.ProgressFill = ((System.Windows.Controls.Border)(target)); + return; + case 30: + this.DonePanel = ((System.Windows.Controls.StackPanel)(target)); + return; + case 31: + this.DoneText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 32: + this.RuntimeMissing = ((System.Windows.Controls.Border)(target)); + return; + case 33: + + #line 148 "..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenRuntimePage_Click); + + #line default + #line hidden + return; + case 34: + this.LaunchBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 35: + this.PageUninstall = ((System.Windows.Controls.StackPanel)(target)); + return; + case 36: + this.DataInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 37: + this.RemoveDataBox = ((System.Windows.Controls.CheckBox)(target)); + + #line 166 "..\..\..\MainWindow.xaml" + this.RemoveDataBox.Click += new System.Windows.RoutedEventHandler(this.RemoveDataBox_Click); + + #line default + #line hidden + return; + case 38: + this.RemoveDataWarning = ((System.Windows.Controls.TextBlock)(target)); + return; + case 39: + this.BackButton = ((System.Windows.Controls.Button)(target)); + + #line 178 "..\..\..\MainWindow.xaml" + this.BackButton.Click += new System.Windows.RoutedEventHandler(this.Back_Click); + + #line default + #line hidden + return; + case 40: + this.NextButton = ((System.Windows.Controls.Button)(target)); + + #line 179 "..\..\..\MainWindow.xaml" + this.NextButton.Click += new System.Windows.RoutedEventHandler(this.Next_Click); + + #line default + #line hidden + return; + case 41: + this.CancelButton = ((System.Windows.Controls.Button)(target)); + + #line 180 "..\..\..\MainWindow.xaml" + this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/Setup/obj/Release/net9.0-windows/win-x64/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/Setup/obj/Release/net9.0-windows/win-x64/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..ea1f2ea --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/Setup/obj/Release/net9.0-windows/win-x64/App.baml b/Setup/obj/Release/net9.0-windows/win-x64/App.baml new file mode 100644 index 0000000..565920e Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/App.baml differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/App.g.cs b/Setup/obj/Release/net9.0-windows/win-x64/App.g.cs new file mode 100644 index 0000000..43c4b22 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/App.g.cs @@ -0,0 +1,76 @@ +#pragma checksum "..\..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2F55484CCDC4F93150C83267DEA1BE82F9151116" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace DeskCoreSetup { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.12.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/DeskCore-Setup;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.12.0")] + public static void Main() { + DeskCoreSetup.App app = new DeskCoreSetup.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/Setup/obj/Release/net9.0-windows/win-x64/Colors.Dark.baml b/Setup/obj/Release/net9.0-windows/win-x64/Colors.Dark.baml new file mode 100644 index 0000000..b0e11be Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/Colors.Dark.baml differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/Colors.Light.baml b/Setup/obj/Release/net9.0-windows/win-x64/Colors.Light.baml new file mode 100644 index 0000000..335a885 Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/Colors.Light.baml differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/Controls.baml b/Setup/obj/Release/net9.0-windows/win-x64/Controls.baml new file mode 100644 index 0000000..bcb64b8 Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/Controls.baml differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.deps.json b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.deps.json new file mode 100644 index 0000000..8f40fa4 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.deps.json @@ -0,0 +1,24 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0/win-x64", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": {}, + ".NETCoreApp,Version=v9.0/win-x64": { + "DeskCore-Setup/1.0.0": { + "runtime": { + "DeskCore-Setup.dll": {} + } + } + } + }, + "libraries": { + "DeskCore-Setup/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.dll b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.dll new file mode 100644 index 0000000..ecd1209 Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.dll differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.g.resources b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.g.resources new file mode 100644 index 0000000..f6860b8 Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup.g.resources differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup_MarkupCompile.cache b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup_MarkupCompile.cache new file mode 100644 index 0000000..6337326 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCore-Setup_MarkupCompile.cache @@ -0,0 +1,20 @@ +DeskCore-Setup + + +winexe +C# +.cs +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\ +DeskCoreSetup +none +false +TRACE;RELEASE;NET;NET9_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NET9_0_OR_GREATER;NETCOREAPP1_0_OR_GREATER;NETCOREAPP1_1_OR_GREATER;NETCOREAPP2_0_OR_GREATER;NETCOREAPP2_1_OR_GREATER;NETCOREAPP2_2_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\App.xaml +4-1182040411 + +4647195960 +200-1670248436 +MainWindow.xaml;..\Themes\Colors.Light.xaml;..\Themes\Colors.Dark.xaml;..\Themes\Controls.xaml; + +False + diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.AssemblyInfo.cs b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.AssemblyInfo.cs new file mode 100644 index 0000000..246ebe8 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.AssemblyInfo.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("M_Viper")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright (c) M_Viper. Alle Rechte vorbehalten.")] +[assembly: System.Reflection.AssemblyDescriptionAttribute("Installiert DeskCore")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("DeskCore Setup")] +[assembly: System.Reflection.AssemblyTitleAttribute("DeskCore Setup")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Resources.NeutralResourcesLanguageAttribute("de-DE")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Von der MSBuild WriteCodeFragment-Klasse generiert. + diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.AssemblyInfoInputs.cache b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.AssemblyInfoInputs.cache new file mode 100644 index 0000000..e410dd4 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +aa9cb945fc0e24f2fe5d76e4d4c638a76152e98407d3ea2108dbe178b58b4abf diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..b67da7b --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,22 @@ +is_global = true +build_property.EnableAotAnalyzer = +build_property.EnableSingleFileAnalyzer = true +build_property.EnableTrimAnalyzer = +build_property.IncludeAllContentForSelfExtract = +build_property.TargetFramework = net9.0-windows +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v9.0 +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = DeskCoreSetup +build_property.ProjectDir = C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.GlobalUsings.g.cs b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.GlobalUsings.g.cs new file mode 100644 index 0000000..4a15929 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.GlobalUsings.g.cs @@ -0,0 +1,6 @@ +// +global using System; +global using System.Collections.Generic; +global using System.Linq; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.assets.cache b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.assets.cache new file mode 100644 index 0000000..86be58e Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.assets.cache differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.csproj.CoreCompileInputs.cache b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..df89d0f --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +2b200cd0f14b4e4eb4b4885f0e8b3c56c346fd55b4f74f792b3cdc502d3e8cbb diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.csproj.FileListAbsolute.txt b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..bd67c81 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.csproj.FileListAbsolute.txt @@ -0,0 +1,21 @@ +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\bin\Release\net9.0-windows\win-x64\DeskCore-Setup.exe +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\bin\Release\net9.0-windows\win-x64\DeskCore-Setup.deps.json +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\bin\Release\net9.0-windows\win-x64\DeskCore-Setup.runtimeconfig.json +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\bin\Release\net9.0-windows\win-x64\DeskCore-Setup.dll +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\MainWindow.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\Colors.Light.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\Colors.Dark.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\Controls.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\App.baml +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\MainWindow.g.cs +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\App.g.cs +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCore-Setup_MarkupCompile.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCore-Setup.g.resources +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCoreSetup.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCoreSetup.AssemblyInfoInputs.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCoreSetup.AssemblyInfo.cs +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCoreSetup.csproj.CoreCompileInputs.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCore-Setup.dll +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\refint\DeskCore-Setup.dll +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\DeskCoreSetup.genruntimeconfig.cache +C:\Users\Viper\Desktop\Programme\DeskCore-Source\Setup\obj\Release\net9.0-windows\win-x64\ref\DeskCore-Setup.dll diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genbundle.cache b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genbundle.cache new file mode 100644 index 0000000..39fe93e --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genbundle.cache @@ -0,0 +1 @@ +914b6a259056b8c0f6c3227ea7cdf35b8381c900fbf78428cfcb5446fdb60624 diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genpublishdeps.cache b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genpublishdeps.cache new file mode 100644 index 0000000..f8cbcb6 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genpublishdeps.cache @@ -0,0 +1 @@ +c41825f0c5957fff8272ec718c138cd0a31afc83a6d3eab90859164c0e911ccf diff --git a/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genruntimeconfig.cache b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genruntimeconfig.cache new file mode 100644 index 0000000..00c46b6 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/DeskCoreSetup.genruntimeconfig.cache @@ -0,0 +1 @@ +94e9cde7f02f6a1624bb951dc6d8d1cb1351d8ca9035e4dbef6cd3f5efea400c diff --git a/Setup/obj/Release/net9.0-windows/win-x64/MainWindow.baml b/Setup/obj/Release/net9.0-windows/win-x64/MainWindow.baml new file mode 100644 index 0000000..05e53a4 Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/MainWindow.baml differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/MainWindow.g.cs b/Setup/obj/Release/net9.0-windows/win-x64/MainWindow.g.cs new file mode 100644 index 0000000..16cd821 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/MainWindow.g.cs @@ -0,0 +1,503 @@ +#pragma checksum "..\..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6F090F12111B2DA7E86EB9B4D3E7CE46DAE44931" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace DeskCoreSetup { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 48 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock WindowTitle; + + #line default + #line hidden + + + #line 53 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button CloseButton; + + #line default + #line hidden + + + #line 62 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock VersionText; + + #line default + #line hidden + + + #line 63 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel Steps; + + #line default + #line hidden + + + #line 64 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step0; + + #line default + #line hidden + + + #line 65 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step1; + + #line default + #line hidden + + + #line 66 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step2; + + #line default + #line hidden + + + #line 67 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock Step3; + + #line default + #line hidden + + + #line 76 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageWelcome; + + #line default + #line hidden + + + #line 82 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border UpdateHint; + + #line default + #line hidden + + + #line 87 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock UpdateHintText; + + #line default + #line hidden + + + #line 93 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.DockPanel PageLicense; + + #line default + #line hidden + + + #line 95 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox AcceptLicense; + + #line default + #line hidden + + + #line 100 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock LicenseText; + + #line default + #line hidden + + + #line 106 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageOptions; + + #line default + #line hidden + + + #line 111 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBox DirBox; + + #line default + #line hidden + + + #line 113 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox DesktopLinkBox; + + #line default + #line hidden + + + #line 114 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox StartMenuBox; + + #line default + #line hidden + + + #line 115 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox AutostartBox; + + #line default + #line hidden + + + #line 119 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageProgress; + + #line default + #line hidden + + + #line 120 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock ProgressTitle; + + #line default + #line hidden + + + #line 121 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock ProgressText; + + #line default + #line hidden + + + #line 122 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border ProgressTrack; + + #line default + #line hidden + + + #line 123 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Border ProgressFill; + + #line default + #line hidden + + + #line 125 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel DonePanel; + + #line default + #line hidden + + + #line 131 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock DoneText; + + #line default + #line hidden + + + #line 133 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox LaunchBox; + + #line default + #line hidden + + + #line 138 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.StackPanel PageUninstall; + + #line default + #line hidden + + + #line 146 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock DataInfo; + + #line default + #line hidden + + + #line 147 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox RemoveDataBox; + + #line default + #line hidden + + + #line 149 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.TextBlock RemoveDataWarning; + + #line default + #line hidden + + + #line 160 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button BackButton; + + #line default + #line hidden + + + #line 161 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button NextButton; + + #line default + #line hidden + + + #line 162 "..\..\..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button CancelButton; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.12.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/DeskCore-Setup;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.12.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.WindowTitle = ((System.Windows.Controls.TextBlock)(target)); + return; + case 2: + + #line 51 "..\..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Minimize_Click); + + #line default + #line hidden + return; + case 3: + this.CloseButton = ((System.Windows.Controls.Button)(target)); + + #line 53 "..\..\..\..\MainWindow.xaml" + this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); + + #line default + #line hidden + return; + case 4: + this.VersionText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 5: + this.Steps = ((System.Windows.Controls.StackPanel)(target)); + return; + case 6: + this.Step0 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 7: + this.Step1 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 8: + this.Step2 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 9: + this.Step3 = ((System.Windows.Controls.TextBlock)(target)); + return; + case 10: + this.PageWelcome = ((System.Windows.Controls.StackPanel)(target)); + return; + case 11: + this.UpdateHint = ((System.Windows.Controls.Border)(target)); + return; + case 12: + this.UpdateHintText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 13: + this.PageLicense = ((System.Windows.Controls.DockPanel)(target)); + return; + case 14: + this.AcceptLicense = ((System.Windows.Controls.CheckBox)(target)); + + #line 95 "..\..\..\..\MainWindow.xaml" + this.AcceptLicense.Click += new System.Windows.RoutedEventHandler(this.AcceptLicense_Click); + + #line default + #line hidden + return; + case 15: + this.LicenseText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 16: + this.PageOptions = ((System.Windows.Controls.StackPanel)(target)); + return; + case 17: + + #line 110 "..\..\..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeDir_Click); + + #line default + #line hidden + return; + case 18: + this.DirBox = ((System.Windows.Controls.TextBox)(target)); + return; + case 19: + this.DesktopLinkBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 20: + this.StartMenuBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 21: + this.AutostartBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 22: + this.PageProgress = ((System.Windows.Controls.StackPanel)(target)); + return; + case 23: + this.ProgressTitle = ((System.Windows.Controls.TextBlock)(target)); + return; + case 24: + this.ProgressText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 25: + this.ProgressTrack = ((System.Windows.Controls.Border)(target)); + return; + case 26: + this.ProgressFill = ((System.Windows.Controls.Border)(target)); + return; + case 27: + this.DonePanel = ((System.Windows.Controls.StackPanel)(target)); + return; + case 28: + this.DoneText = ((System.Windows.Controls.TextBlock)(target)); + return; + case 29: + this.LaunchBox = ((System.Windows.Controls.CheckBox)(target)); + return; + case 30: + this.PageUninstall = ((System.Windows.Controls.StackPanel)(target)); + return; + case 31: + this.DataInfo = ((System.Windows.Controls.TextBlock)(target)); + return; + case 32: + this.RemoveDataBox = ((System.Windows.Controls.CheckBox)(target)); + + #line 148 "..\..\..\..\MainWindow.xaml" + this.RemoveDataBox.Click += new System.Windows.RoutedEventHandler(this.RemoveDataBox_Click); + + #line default + #line hidden + return; + case 33: + this.RemoveDataWarning = ((System.Windows.Controls.TextBlock)(target)); + return; + case 34: + this.BackButton = ((System.Windows.Controls.Button)(target)); + + #line 160 "..\..\..\..\MainWindow.xaml" + this.BackButton.Click += new System.Windows.RoutedEventHandler(this.Back_Click); + + #line default + #line hidden + return; + case 35: + this.NextButton = ((System.Windows.Controls.Button)(target)); + + #line 161 "..\..\..\..\MainWindow.xaml" + this.NextButton.Click += new System.Windows.RoutedEventHandler(this.Next_Click); + + #line default + #line hidden + return; + case 36: + this.CancelButton = ((System.Windows.Controls.Button)(target)); + + #line 162 "..\..\..\..\MainWindow.xaml" + this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/Setup/obj/Release/net9.0-windows/win-x64/PublishOutputs.02abb2eb9c.txt b/Setup/obj/Release/net9.0-windows/win-x64/PublishOutputs.02abb2eb9c.txt new file mode 100644 index 0000000..8327966 --- /dev/null +++ b/Setup/obj/Release/net9.0-windows/win-x64/PublishOutputs.02abb2eb9c.txt @@ -0,0 +1 @@ +C:\Users\Viper\Desktop\Programme\DeskCore-Installer\DeskCore-Setup.exe diff --git a/Setup/obj/Release/net9.0-windows/win-x64/apphost.exe b/Setup/obj/Release/net9.0-windows/win-x64/apphost.exe new file mode 100644 index 0000000..8132198 Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/apphost.exe differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/ref/DeskCore-Setup.dll b/Setup/obj/Release/net9.0-windows/win-x64/ref/DeskCore-Setup.dll new file mode 100644 index 0000000..48365de Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/ref/DeskCore-Setup.dll differ diff --git a/Setup/obj/Release/net9.0-windows/win-x64/refint/DeskCore-Setup.dll b/Setup/obj/Release/net9.0-windows/win-x64/refint/DeskCore-Setup.dll new file mode 100644 index 0000000..48365de Binary files /dev/null and b/Setup/obj/Release/net9.0-windows/win-x64/refint/DeskCore-Setup.dll differ