Commit graph

1932 commits

Author SHA1 Message Date
Manuel Thalmann b1169f5e34 Fetch config from proper section 2024-08-23 19:24:49 +02:00
Manuel Thalmann 0a869f7dbf Fix inheritance of user config 2024-08-23 18:28:20 +02:00
Manuel Thalmann 07c77d412c Set user info during git setup 2024-08-23 02:01:16 +02:00
Manuel Thalmann 87634d394a Make all config scripts platform independent 2024-08-23 01:57:53 +02:00
Manuel Thalmann 506786a8ce Allow leaving aliases unspecified 2024-08-23 01:52:25 +02:00
Manuel Thalmann 0b1784d32d Make scripts platform independent 2024-08-23 01:52:04 +02:00
Manuel Thalmann 5e55ab2cad Add scripts for configuring git 2024-08-23 01:43:26 +02:00
Manuel Thalmann 0e5eac5ed3 Configure software implicitly 2024-08-23 01:41:32 +02:00
Manuel Thalmann cdaf4c5fda Skip profile creation for PinnedItem 2024-08-22 23:55:41 +02:00
Manuel Thalmann d36969a44d Allow skipping powershell module registration 2024-08-22 23:55:00 +02:00
Manuel Thalmann dfdf1358b8 Remove user profile of OneShot user 2024-08-22 23:12:11 +02:00
Manuel Thalmann 86149f1b86 Add missing OneShotTask declaration 2024-08-22 20:41:30 +02:00
Manuel Thalmann dfd3751f95 Fix infinite loop 2024-08-22 20:41:17 +02:00
Manuel Thalmann 6ab503fe89 Fix handling empty error messages 2024-08-22 20:12:18 +02:00
Manuel Thalmann 3a072c3551 Add choco to the profile of the setup user 2024-08-22 13:46:55 +02:00
Manuel Thalmann 96ebbade0e Fix incorrect typings 2024-08-22 11:11:12 +02:00
Manuel Thalmann 057801a8c0 Fix permission issues when enabling Win hack 2024-08-22 11:11:00 +02:00
Manuel Thalmann 50eece283b Register setup script as admin 2024-08-22 11:10:39 +02:00
Manuel Thalmann f45f6bd0e8 Execute the entire installer using live scripts 2024-08-21 23:21:32 +02:00
Manuel Thalmann 242e68bd3d Streamline the creation of users 2024-08-21 18:34:18 +02:00
Manuel Thalmann 0f31a80d2a Replace osk with cmd during debugging 2024-08-21 18:33:41 +02:00
Manuel Thalmann 33e7afacda Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
Manuel Thalmann 27231a3997 Print commands in debug mode 2024-08-21 18:28:08 +02:00
Manuel Thalmann dd9798be0e Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
Manuel Thalmann 5375f444bf Add function for generating startup command 2024-08-21 18:26:58 +02:00
Manuel Thalmann e3a502f7ab Allow registering startup script for the default user 2024-08-21 18:20:11 +02:00
Manuel Thalmann ea9023a7e7 Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
Manuel Thalmann 615ab192eb Register WSL before running OneShot tasks 2024-08-21 03:37:44 +02:00
Manuel Thalmann 99663d0af0 Overwrite broken module 2024-08-21 03:20:37 +02:00
Manuel Thalmann 66bbcca220 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann 2d6cca4b02 Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
Manuel Thalmann a6fc3c170d Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann 540f594656 Fix typo 2024-08-20 00:20:07 +02:00
Manuel Thalmann c7b73c3d9f Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
Manuel Thalmann 6c7d58d22a Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann 2955d14b24 Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann b8ef95acfe Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann ec19ba025f Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann fcb01e2ec7 Simplify script registration 2024-08-19 02:24:13 +02:00
Manuel Thalmann ce36865bd9 Fix broken regedit paths 2024-08-19 01:38:25 +02:00
Manuel Thalmann bfe46d929c Allow registering reboots for users 2024-08-19 01:37:14 +02:00
Manuel Thalmann 9033613d75 Improve log messages of updates 2024-08-18 12:20:21 +02:00
Manuel Thalmann 16ea84148e Remove unnecessary command 2024-08-18 10:24:15 +02:00
Manuel Thalmann dd7b18f8d7 Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
Manuel Thalmann 0e2a0acadc Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
Manuel Thalmann c0e603287d Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
Manuel Thalmann 0f3fb86851 Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann f72bba850e Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann 3d166157c5 Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann bba4339481 Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 79146bd936 Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann a1dca1a965 Install powershell modules for all users 2024-08-16 16:43:30 +02:00
Manuel Thalmann 636d3a59a8 Fix typos 2024-08-16 16:10:09 +02:00
Manuel Thalmann 8f3ab17f5b Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
Manuel Thalmann c20d67e40f Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 8667b0e111 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 8ca6c58d4e Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann d0ab0ffadb Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann d245a69a31 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 34f46d1aae Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 8e71e64486 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann 8b6f5d5e60 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 37021f2962 Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 946dc09516 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann 9b9417ff6f Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 432046729d Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann 0e7f0bf723 Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann c2a7a53d71 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann 3cbe46b51c Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann 153d1ea925 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann 9db3528c08 Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann f057115cb2 Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann 453affeef5 Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann d795d63156 Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann 432610aaab Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann a643240ccc Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann c87831dcff Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann 152b5b2dd8 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 543cead314 Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 21b0dec955 Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann b49322a0d8 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann 8e254ab68d Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann f465f97ade Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 502e3fe535 Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 97193316a3 Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann 802cff731d Fix broken redirection of arguments 2024-08-10 15:15:40 +02:00
Manuel Thalmann ab89e450f7 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 5449b08305 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann b2a1e06dbf Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 5d99acc08f Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann 2102f54dec Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann ef8bfb2d61 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann d95ce175c0 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 855c1c2066 Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann bb334ea29e Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann ebf092c141 Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 5dc42d6099 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann 46cd57ce68 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann 914691eb9a Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann e5e4864718 Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann c113d06304 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 66111a7615 Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann 300d932fa4 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann 049cce993c Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann f36d2ef11e Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann d6362632fb Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 1f0e5b80e0 Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann 2c37cf1584 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 8b3c0af4cc Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann 7c16764536 Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann dc7035c76b Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann 1e41e74640 Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann b6c76544dc Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann 2c2e648e26 Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann ea2d80b59e Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann 2e88e1a9de Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 7802131f37 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann aa0dc1805a Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 0d8a3765ea Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 3fd3aa9a2a Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann 2d26f4c77e Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann d6d2731062 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann 73497a6592 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann 60a93c723c Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann 728839c213 Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann 32784742c6 Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann e5e35772a0 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann 5cf212a1b9 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann 06a4c6ba3f Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 2c3e904e47 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 846953303f Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann e9519c1bb0 Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann c4a1787d8a Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann ac95ba1736 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann f63a658f03 Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 776f45aeff Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 0ab6fcffcb Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 7e474aa684 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann 63d6f8b1d3 Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann da3376c462 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann 53e1cf80f1 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann 6913214686 Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann 95a3492b5e Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann 440d7bb904 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 4d59d28fe0 Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 6038288f9b Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann 05a456f5f6 Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 60d78c96c7 Skip scope argument by default 2024-08-08 14:22:13 +02:00
Manuel Thalmann 7f19a74b39 Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann 304c8a037e Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann e18644a6d4 Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann f69df3721b Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann c78e529cc6 Apply the error action globally 2024-08-08 14:08:38 +02:00
Manuel Thalmann 60aeeba127 Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann 0855e11087 Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann 87266af942 Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann be1fd16d27 Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann 69b66ac28a Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann 45d4388b68 Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann 5cfe25464c Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann 4968e3dd7e Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann 3e9ff66f3e Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann 7c87fb0b3b Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
Manuel Thalmann e156cfdade Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann a4a4ff9afb Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann c05c91f21b Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann 5838ca5cc7 Allow custom winget arguments 2024-08-08 04:29:00 +02:00
Manuel Thalmann 08b6155277 Improve winget function 2024-08-08 04:28:21 +02:00
Manuel Thalmann 8ef736a49d Add missing function 2024-08-08 04:20:11 +02:00
Manuel Thalmann c102071838 Refactor browser scripts 2024-08-08 03:32:03 +02:00
Manuel Thalmann f08e54151a Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
Manuel Thalmann 069f87551d Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
Manuel Thalmann 79edb4aa86 Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann 5313698fe1 Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann f7f3df82c6 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann 9786d53ae5 Allow installing modules native only 2024-08-08 02:28:23 +02:00
Manuel Thalmann 962f216a52 Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann 20cb417df7 Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann ec061519b4 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann d4c9683a54 Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann 3c2459b715 Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann a32a3d0b4c Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann c15579f919 Configure user only outside of setup 2024-08-07 23:30:29 +02:00
Manuel Thalmann e638133021 Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 1390eedd91 Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
Manuel Thalmann dcab87b5a7 Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
Manuel Thalmann 2ec332856a Show messages if packages are installed 2024-08-07 23:18:23 +02:00
Manuel Thalmann 32dd1ac1dc Fix incorrect package check 2024-08-07 23:17:07 +02:00
Manuel Thalmann c33ad5c306 Refactor default winget parameters 2024-08-07 22:56:42 +02:00
Manuel Thalmann 671fec827d Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann 0812a6ae02 Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
Manuel Thalmann e596202af3 Resolve dependency loop 2024-08-07 21:54:58 +02:00
Manuel Thalmann 8420cd4299 Remove unnecessary statement 2024-08-07 21:53:26 +02:00
Manuel Thalmann 39b632bd12 Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann e7db1a0de7 Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann f3a018a549 Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann 2a043a0f35 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 862ab3c42b Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann ee2bd12a29 Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann d28a152eb2 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00