Commit graph

1913 commits

Author SHA1 Message Date
Manuel Thalmann ace8b46445 Fix permission issues when enabling Win hack 2024-08-22 11:11:00 +02:00
Manuel Thalmann e6b21f423c Register setup script as admin 2024-08-22 11:10:39 +02:00
Manuel Thalmann 268b52b6ea Execute the entire installer using live scripts 2024-08-21 23:21:32 +02:00
Manuel Thalmann bc3be3c674 Streamline the creation of users 2024-08-21 18:34:18 +02:00
Manuel Thalmann 58be41c6e6 Replace osk with cmd during debugging 2024-08-21 18:33:41 +02:00
Manuel Thalmann 46edf0f356 Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
Manuel Thalmann df62ddd627 Print commands in debug mode 2024-08-21 18:28:08 +02:00
Manuel Thalmann ca7eb2788c Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
Manuel Thalmann aa31485a24 Add function for generating startup command 2024-08-21 18:26:58 +02:00
Manuel Thalmann aedc7268a7 Allow registering startup script for the default user 2024-08-21 18:20:11 +02:00
Manuel Thalmann 23e8000a12 Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
Manuel Thalmann 7a57dfb043 Register WSL before running OneShot tasks 2024-08-21 03:37:44 +02:00
Manuel Thalmann 8c513751b4 Overwrite broken module 2024-08-21 03:20:37 +02:00
Manuel Thalmann 35a652cebe Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann 5ad3fc7a76 Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
Manuel Thalmann f76f355444 Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann d1975fe05e Fix typo 2024-08-20 00:20:07 +02:00
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
Manuel Thalmann 7a44096647 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann f724aa2156 Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 7e1544f091 Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 2fc9a618f1 Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 78f0d62657 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann a5c44dc34e Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann 939ca1adf1 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann f615764c86 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann eacf4f69fc Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann 727faa2538 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann b4586ff520 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 13faeaa70e Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 7205720151 Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann a9c904a110 Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 9d9a59d424 Skip scope argument by default 2024-08-08 14:22:13 +02:00
Manuel Thalmann 0848562b04 Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann 58a9e39075 Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann 02b1b49502 Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann cde3ea5c96 Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann a930a28d4c Apply the error action globally 2024-08-08 14:08:38 +02:00
Manuel Thalmann 5e0de1abd2 Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann 666996faf3 Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann 36c6dadb43 Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann 6fb4e567fd Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann bbfe5a9304 Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann 29498e8646 Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann 756d300982 Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann adb2d7210e Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann 9500a20b3f Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann ea6cdb8118 Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
Manuel Thalmann 2f7ad344db Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann 8635b1c94a Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann 07a47ea47d Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann 0cbe6e1531 Allow custom winget arguments 2024-08-08 04:29:00 +02:00
Manuel Thalmann 4547ffb5fc Improve winget function 2024-08-08 04:28:21 +02:00
Manuel Thalmann e564b27d4a Add missing function 2024-08-08 04:20:11 +02:00
Manuel Thalmann f2429c859d Refactor browser scripts 2024-08-08 03:32:03 +02:00
Manuel Thalmann 63139c0ebb Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
Manuel Thalmann 4487ddbd28 Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
Manuel Thalmann 6dfd0c92d4 Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann ed201ef21c Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann 8328fda747 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann 57a14d11e8 Allow installing modules native only 2024-08-08 02:28:23 +02:00
Manuel Thalmann 44aa6f78bc Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann 9f8f50976a Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann 580669a023 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann d4624d666a Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann ddd17ad5d3 Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann 5b9542dc85 Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann b757d1f47d Configure user only outside of setup 2024-08-07 23:30:29 +02:00
Manuel Thalmann 0ff77b9255 Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 511b0224b3 Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
Manuel Thalmann 1240114049 Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
Manuel Thalmann d75877aa2f Show messages if packages are installed 2024-08-07 23:18:23 +02:00
Manuel Thalmann 42cabbd21b Fix incorrect package check 2024-08-07 23:17:07 +02:00
Manuel Thalmann bd26c231d2 Refactor default winget parameters 2024-08-07 22:56:42 +02:00
Manuel Thalmann 4ccafd8ec0 Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann 7d22d086e8 Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
Manuel Thalmann 233c1acfb7 Resolve dependency loop 2024-08-07 21:54:58 +02:00
Manuel Thalmann 44c00938f9 Remove unnecessary statement 2024-08-07 21:53:26 +02:00
Manuel Thalmann 3e7d2956e6 Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann 6e5c8fdc69 Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann 3d5d79a6e1 Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann 7470d41d49 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 49c900f2e0 Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann dc2b8fc7d7 Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann 414452c7e8 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann 30acf9d13d Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann 61afccc5aa Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann f156b716f4 Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann 6943ff97f9 Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann 3c3b7772c7 Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann 98e34030c2 Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann d540bac6b9 Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann f1416b3cc2 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann c0c6696fa0 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann c1da0ffac7 Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann 95acd66d85 Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann 584cee7f83 Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann 05ae150713 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann fa447b03ee Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann f934043762 Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 47822634f2 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00