Commit graph

1896 commits

Author SHA1 Message Date
Manuel Thalmann 50d1825f92 Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann 4b6f34b812 Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann 9116cb8266 Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann 0bf8652b03 Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann 37268e0e76 Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann 103873c517 Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann b0351b5878 Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann 4875f962b0 Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann ee41e5ba66 Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann faa1187714 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann b4199c43a6 Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann fccc0c2a7a Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann e13a1c0eb1 Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 8e0672b53b Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 2a03f8fffe Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann f010e1a03d Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann c5b71096ec Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 25f613d7a6 Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann c0b137903d Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 887cf0b029 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann f01fef4adf Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann 0d2c28e74a Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann 9f43dbf0e8 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 28a90de5ae Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 18fb258ac2 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann af2b41fb1d Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 17d6870538 Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 2fcc77f4ee Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 120c05ced1 Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 934db1ff87 Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 5baed04a6f Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann 7c288a1e53 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 8cdb32b9a2 Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann ceddb4acfa Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann ce9cd892bf Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann d018ff84c2 Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann 529ff841ea Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann 3fe762f7a2 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann 014eb975ce Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann ce8feb5935 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann a59a306588 Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann f2282a9ac6 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 7179e93084 Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 24edf6a5e7 Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann 8305b66342 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann 61520d4953 Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann 1829e567ee Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 591eff31f9 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 6ce1f9b9cc Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann 7879b3f915 Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann eea1c19dd4 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 9f5d9874dc Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann 5e3e4af20f Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 1058913d7a Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann a511aba2d2 Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann 4cf9aac9a5 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann bd7a800237 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 42ac6851c1 Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann 72ea501180 Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann 94cf40bd22 Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann b5d65079da Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann bfd8c40548 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann 88f69879df Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann 556843f14d Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann d5db33cb37 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 476a721376 Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann 6185ca4c60 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann 937ad12042 Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann d0889ae6dc Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann 56b5f44323 Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann cc41fed2fa Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann d813d146b7 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann dd71366522 Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann da6a3c627d Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann 864dd521cf Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann 4404b6173b Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann 1a8e1d0c40 Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann 74efc21819 Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann 78c9b76508 Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann 875935a223 Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 2de8140182 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann 72a370383d Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 27944f1642 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann c26b791e7d Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann 16785a1793 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann bb47bd1b56 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann d7cbe47dc9 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann d632f966ae Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann 587e3e4c5f Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann f2aee71256 Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann c957ee4b19 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann 617a29da3e Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann 13d33293eb Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 08ac2e921a Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann e7b9a92918 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann 4becccc18b Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann 9e1f6ca788 Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann f21ff7e5f0 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann c3cc94e57d Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 3f9e6322bd Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 1ad932b017 Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 26f2087ba1 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann 60b8308709 Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann 6b6cbd337c Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann 1fa55e9578 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann ed6585161e Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann 1b5d60b650 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann 90d35da839 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 5a36ee2c42 Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 787ecd7953 Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann e8ccc740cf Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 22c0055e96 Skip scope argument by default 2024-08-08 14:22:13 +02:00
Manuel Thalmann 08b953fdf1 Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann 536cacc324 Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann e9677a3d6f Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann b411a6a73d Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann 07dc211904 Apply the error action globally 2024-08-08 14:08:38 +02:00
Manuel Thalmann 790abdb5f3 Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann 31ce380ebc Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann 7262a7752e Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann b305d93637 Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann 5db92219aa Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann 444f5e3f70 Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann 58727d3dae Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann d90f81ecc1 Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann 2bd2daf158 Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann e293b56f8c Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
Manuel Thalmann 59009a4628 Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann 3ea2f39ced Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann 4f9b3f6ecd Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann 80e370e954 Allow custom winget arguments 2024-08-08 04:29:00 +02:00
Manuel Thalmann 9d767fa845 Improve winget function 2024-08-08 04:28:21 +02:00
Manuel Thalmann 416a55df76 Add missing function 2024-08-08 04:20:11 +02:00
Manuel Thalmann dc156b7316 Refactor browser scripts 2024-08-08 03:32:03 +02:00
Manuel Thalmann 710268ed28 Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
Manuel Thalmann dfa18b0671 Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
Manuel Thalmann 394194d979 Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann 3ac5e0b712 Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann 137a41bdc1 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann 763b3ad3a2 Allow installing modules native only 2024-08-08 02:28:23 +02:00
Manuel Thalmann 6a7a237882 Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann 784f05d80e Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann 6d6a187d29 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann 2d585b7e7b Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann 39967a3efb Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann 553174e610 Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann 80f18a2014 Configure user only outside of setup 2024-08-07 23:30:29 +02:00
Manuel Thalmann f8190f1d02 Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann a6ef92d55f Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
Manuel Thalmann 9ef634c1b7 Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
Manuel Thalmann 1a1d75e19c Show messages if packages are installed 2024-08-07 23:18:23 +02:00
Manuel Thalmann 8f1b6bf2ed Fix incorrect package check 2024-08-07 23:17:07 +02:00
Manuel Thalmann ed854c8c3c Refactor default winget parameters 2024-08-07 22:56:42 +02:00
Manuel Thalmann 2b9fa4f72f Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann 3bce7da58f Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
Manuel Thalmann 524e96c9ec Resolve dependency loop 2024-08-07 21:54:58 +02:00
Manuel Thalmann 6d55b8a31d Remove unnecessary statement 2024-08-07 21:53:26 +02:00
Manuel Thalmann 3d2f0fee27 Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann 97a0466f94 Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann a3b17d50a5 Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann bc571560a9 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 0587c402ae Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann 984de111eb Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann b9803a2de7 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann cd0b79820a Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann 76e9f69a2a Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann 9d5c9eb55b Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann ded13359b3 Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann 022b623752 Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann ba5346787b Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann 630e42629e Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann 96ab1a2322 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann fef722f9e5 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann 8572ef1f46 Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann ee4d402a5d Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann b016f310ea Execute winget script in a module 2024-08-07 13:36:47 +02:00
Manuel Thalmann ec5b19474d Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann 34d6ced776 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann 6662828dbe Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann 9b1654c828 Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 8ae54f48e8 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann 6dde1d3603 Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann e85504e40e Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
Manuel Thalmann 67152b7661 Silence unnecessary output 2024-08-06 17:07:57 +02:00
Manuel Thalmann b9591cb36f Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
Manuel Thalmann f8b7f2481b Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann 98020588ce Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann a5eac04749 Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann 8cfceba667 Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann e206df494e Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann ceb036e80f Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 134bf77a9a Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann 3542cd33e4 Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann 3225d00f31 Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
Manuel Thalmann ec5e4c6340 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann d6b7adb505 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann 7f652770d1 Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann 68aaa413a6 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann d302f21790 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann 53ac1902ac Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00