Commit graph

1796 commits

Author SHA1 Message Date
Manuel Thalmann 9d9aed744a Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
Manuel Thalmann d11c692096 Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann 5c4a70a025 Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann 61cccc92ea Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann f79b392f94 Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann 495705fa89 Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann 167c6e2de6 Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann f3f4f0b247 Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann 640e6acd87 Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann 719f998f49 Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann 97e29f524a Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann 69dbe5ec50 Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann efcb77ecc2 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann 15f863cc35 Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann ccf830d15c Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann ef097e75ec Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 5d2541b1ca Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 6d5f5472c5 Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann 0271b970cd Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann 4c3152cdaf Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 7fcb4edc2f Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann 4c4dfd6020 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann d07cd06aef Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 92d3bb5d25 Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann a6836c3dbe Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann b6b4a049cd Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 0b1e4a3fef Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 969422b943 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann 87a85cdd65 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 1ef9150711 Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 824e0197de Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 719039589e Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 52eac91c6c Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 3dd72d156b Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann 1d2416bf0a Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 0ac785f2a9 Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann a1a0db438e Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann e7c4a2775a Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann d092f92c2f Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann c4377c1005 Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann efe6f1d924 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann da73683c0e Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann afabe20831 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann 747708a407 Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann f7b0a99d3f Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 012bdbd2db Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 12879cd54a Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann 2954cf32ad Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann ddb960a4bc Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann 5f82a695cf Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 9ed8ecf4b0 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 218b7c70db Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann ca6d7977d0 Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann 6eb4998293 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 0b69cac30b Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann 07fe5d5b76 Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 97b251ffa9 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann 95a7e13e5e Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann 3b178ddb17 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann ec3f3546d5 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 098f79b2f9 Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann 092ecb178b Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann a5bcf0edcd Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 977476de92 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann 9d1fcab5f3 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann ac3d5bbb0a Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann 597e1c56d4 Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann 2bbf144460 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 1dbcb35213 Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann b06e44317f Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann 36c6d5c960 Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann 26f7be396f Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann 32e4242d60 Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 8c4c85383b Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann dc70431ee6 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 88340e94fe Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann c0ab2a254b Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann 86baa4e3ea Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann c0d44d442b Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann fc6a5f60c0 Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann 5aee4ae3e5 Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann d70bab6348 Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann 7bbf5a3e41 Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann e76ee07efc Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann a5de8a42c4 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 461e532ec2 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 145ea5b2f2 Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann 6b8407ba27 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann f7750e0d17 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann e7d6bbef84 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann 166f84c4c9 Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann b4f74cba0e Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann ff25d06ebd Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann 64813888fd Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann 81ae348ea1 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann fafe6e6d9b Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 905d3e4da8 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 24ba572be5 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann 56230149d8 Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann 4d467c87c3 Fix typo 2024-08-09 01:53:59 +02:00