Commit graph

1904 commits

Author SHA1 Message Date
Manuel Thalmann d87636175a Overwrite broken module 2024-08-21 03:20:37 +02:00
Manuel Thalmann 6525181781 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann 1eb6142d37 Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
Manuel Thalmann 8629ed08fa Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann dfaac9ff98 Fix typo 2024-08-20 00:20:07 +02:00
Manuel Thalmann 0da67dca87 Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
Manuel Thalmann 44a01ffef1 Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann 1bbd8e53e6 Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann 3a713ef1fe Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann c7ab490e27 Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann a2f91c2287 Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann 3f1eeba9dc Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann 0345ae5a72 Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann c2a8a5e8ef Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann 9c36c70150 Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann 2720bb4361 Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann 72c595b0e0 Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann ccf31fcd08 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann be1126444b Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann c7f1b94654 Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann 8ba7e2b210 Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 9cf18d32bc Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann c29cff4c78 Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann 73d427b305 Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann 9dd831b084 Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann fbb6b008ac Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann ab490a401d Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 5d37181875 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann d910b7f66f Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann 20508973c5 Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann a5ab376624 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 5d34ea69da Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann f7ced22e9d Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann 5e7d97c21f Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann f082b219ec Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann dd4925c16a Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 9e77d57b8c Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 1925a79c5b Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 3e36dc8876 Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann dbb16df8e1 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 871eafe5db Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann 9c2ebaf858 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann 515a256bd4 Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann 74fb20d6b1 Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann 49a133e76a Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann 0f048cbb9e Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann 6aab5d5d64 Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann 6bce599029 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann df363ce38c Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann 3b662e76e0 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 725f01a572 Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann a89ef2b8a7 Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann a43a4890f3 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann 9daaf4cee8 Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann a42865a480 Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 93bad7fc73 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann b630f3da24 Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann 9de3de5bb2 Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann 89abeada06 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann adff725fbd Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann e743af0944 Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann ad01cd2470 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann b8582e6432 Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann 1452871873 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann 4f52273757 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 4a7b3ef411 Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann 2b8a386f79 Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann ff9a3eeedc Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 9aaefb2cf0 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann ca1d4be8fc Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann e83e501fe5 Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann 9c47271f95 Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann 4eb61d8604 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 29a52b02de Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann 171dee2216 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann d758864fdc Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann 026b236783 Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann e4883badcc Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 14055fcca3 Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann b1b06bb152 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 17b8a79adf Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann 3c0771e96b Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann 3accbc7bfb Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann e42341151d Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann f93032a6e4 Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann 1a5dbd7b2d Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann 8562946aff Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann 950e6dc761 Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann c58cc3bbc5 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann 12ea3e0a51 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 9acbee077c Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 93cdf65779 Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann 135cd8e218 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann e55e6a5a5a Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann de7ac289fb Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann db0f62541e Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann 3d85667773 Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann 98d1ddb4d3 Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann 9dbed50916 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann fbeeb6532e Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann 2f63463912 Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann a0ddf0c8aa Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 845072bff9 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann faee0ec687 Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann f4babf06d6 Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann 92a7b89523 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann 9e19daced2 Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 2ed68c6c30 Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann b0cc36559c Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 6db73090bd Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann cc84c185af Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann f217f8bd49 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann 03e41982a4 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann 9dc4380a2c Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann 084058c266 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann ee2a745308 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 976fec72ad Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 99aae05304 Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann 8916c3b544 Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 0297a7d8d5 Skip scope argument by default 2024-08-08 14:22:13 +02:00
Manuel Thalmann c1ae5de780 Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann d3c5810149 Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann 99e9542053 Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann 049f7771d2 Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann 6111236dc0 Apply the error action globally 2024-08-08 14:08:38 +02:00
Manuel Thalmann de30c36dd5 Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann 85c9436eec Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann 20267c21ac Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann 2584798683 Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann 2abec73f45 Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann c8c3b03773 Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann 940e63376c Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann b45f27adf6 Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann b7ff8f8cac Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann 92df913e97 Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
Manuel Thalmann a172b50077 Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann 425b364df2 Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann 97a2826f9a Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann db7d4cd4fd Allow custom winget arguments 2024-08-08 04:29:00 +02:00
Manuel Thalmann 1d0523dd4e Improve winget function 2024-08-08 04:28:21 +02:00
Manuel Thalmann 6216f8ec9d Add missing function 2024-08-08 04:20:11 +02:00
Manuel Thalmann e63c3251d8 Refactor browser scripts 2024-08-08 03:32:03 +02:00
Manuel Thalmann d9a4ad03dd Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
Manuel Thalmann 5656d97f13 Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
Manuel Thalmann 21e0ff7c1a Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann f8f9d82f01 Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann 673d7f980c Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann a7e56d8a5d Allow installing modules native only 2024-08-08 02:28:23 +02:00
Manuel Thalmann eefeb87743 Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann 5da514091d Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann 01350c4305 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann d594f78cb2 Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann dafb161cbe Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann c004ffd3fa Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann 687c47fc99 Configure user only outside of setup 2024-08-07 23:30:29 +02:00
Manuel Thalmann ddb25b43b5 Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 87cfe2b54e Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
Manuel Thalmann 734cd48f9b Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
Manuel Thalmann b9a7f4cffd Show messages if packages are installed 2024-08-07 23:18:23 +02:00
Manuel Thalmann f2dc82e2b7 Fix incorrect package check 2024-08-07 23:17:07 +02:00
Manuel Thalmann 80e5c435a3 Refactor default winget parameters 2024-08-07 22:56:42 +02:00
Manuel Thalmann 5ceb3c205b Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann a25783a44a Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
Manuel Thalmann c500883386 Resolve dependency loop 2024-08-07 21:54:58 +02:00
Manuel Thalmann c15b72d5b1 Remove unnecessary statement 2024-08-07 21:53:26 +02:00
Manuel Thalmann 3598a10216 Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann bb3a37c3ec Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann 63aa399f91 Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann f7aec5253e Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann fb4f30018c Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann 82a28e1323 Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann 77afa05acd Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann fbf3c049b1 Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann ae8b9ac43f Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann a1a6909a12 Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann e10241c12c Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann 89fa04aab6 Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann 39608e51ea Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann 68691e38e1 Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann 57a44a42a7 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann 3694eca1c8 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann 7b38c7bc37 Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann 1eeb391454 Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann c9fc08dfd6 Execute winget script in a module 2024-08-07 13:36:47 +02:00
Manuel Thalmann d96408a32e Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann 00e5ecba1f Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann d34e074d57 Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann 3d9db2c5c3 Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 3876ca99e0 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann 6900cf65e2 Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann 25e0a560ba Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
Manuel Thalmann 49c83dd364 Silence unnecessary output 2024-08-06 17:07:57 +02:00
Manuel Thalmann 4e4d273cc7 Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
Manuel Thalmann f4f568dafe Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann e9751cafa9 Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann 2fd4d5a726 Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann e7f6540815 Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann 1f4e7a7720 Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann 58c8b7b542 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 13b430bf79 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00