Commit graph

1788 commits

Author SHA1 Message Date
Manuel Thalmann 4741e6b9c6 Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann aa9098c887 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann b7391def41 Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann 7c2023056d Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann 859f0e8ee4 Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 0996cf2d32 Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann e24f5e406a Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann 05a2d9f278 Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann 305e0320d7 Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann e2de2c5ff2 Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann e4757b24c3 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 88d8a5094c Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 13638fc1b5 Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann ad26e5c159 Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann 8600696ee2 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann c6006a4fe0 Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 30db3aa089 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann ff0462c347 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 315a2820c6 Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann d377d8672b Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann eb1720a22a Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 33dac10837 Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 36a070bdd7 Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann b447d37f62 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann b6a1f7323c Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann ca3792320d Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann af0f1dce3e Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann 2dab26af15 Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann 9c5ee91083 Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann eab83d2528 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann 92d4c82883 Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann 4f3edae514 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann cb093dd9a2 Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann a828a4824f Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 2a7eabff16 Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann fb9875b861 Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann 43f8d8850e Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann ba1e4bd249 Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann e9f7b6dd6e Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann ebd977eead Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 49b06b555c Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann 5f1dd06f07 Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann 466e0375bf Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 9e945a6543 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann 4888e95f8b Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 47678fab1a Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann 439e5b9d9a Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann 07bfa92ff8 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann 4af30b01f7 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann d35a0aacaa Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann 4ccab1510d Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann a72471d470 Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 65584b719f Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann c816a97110 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann 143872840e Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann df6ac5ab4d Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann 2472ca5cc6 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 3de22dd745 Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann bae76b7473 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann c4cb3f4f88 Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann 019ad5693d Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann ad4ee1f9e0 Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 9e8fc6f3ca Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann 5d66720106 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 7ba4cab2e4 Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann eae1d94b26 Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann 451b7a21e6 Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann a41016ea86 Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann 3388ddc84e Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann 8e155a00d5 Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann cac1df3027 Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann 3b79053455 Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 16a8f8d499 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann 44d8223cd5 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 797fde65af Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann fc95d4c76d Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann c5ccae9b35 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann 8efc752218 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann 79098f5efb Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann 86374baf2f Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann 5ad857320d Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann 05ad26763a Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann c08afd1221 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann bc4055d760 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann 5b084342c5 Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 245af3c2a0 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann aeeedd02ee Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann bb3de634f9 Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann b16094f8f7 Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann 9e37f99036 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann 116d6d9676 Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 3d67480a80 Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann c79bec479d Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 39abd90b34 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann 540481e966 Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann a25e743047 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann f9562472fe Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann 1532fbbc9e Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann 8f6195c958 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann 0ed1f9e218 Add users during installation 2024-08-08 17:49:43 +02:00