Commit graph

1873 commits

Author SHA1 Message Date
Manuel Thalmann 1701213a77 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
Manuel Thalmann 2034f5c9f6 Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
Manuel Thalmann 4e97645eea Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann 050221da47 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 16560270a7 Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
Manuel Thalmann 38c37c3564 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
Manuel Thalmann 0605d9bcb0 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 48279e13ad Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
Manuel Thalmann 51f352f095 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann fab0da1d65 Fix potential CRC errors 2024-08-14 18:46:42 +02:00
Manuel Thalmann 1fbc33cf88 Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
Manuel Thalmann d37cd11acd Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann 9c7729ce56 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
Manuel Thalmann b1e4560337 Install Wave Link first 2024-08-11 18:27:16 +02:00
Manuel Thalmann 8ad456c0a3 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann b4be84c827 Fix incorrect script path 2024-08-10 20:37:10 +02:00
Manuel Thalmann a2aefa515c Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
Manuel Thalmann b48821eeff Retrieve registry value properly 2024-08-10 19:26:53 +02:00
Manuel Thalmann f5d971922a Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann bc8f73b185 Remove unnecessary code 2024-08-10 15:24:15 +02:00
Manuel Thalmann 6dba078a44 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
Manuel Thalmann 3ad0fcf95e Set user groups properly 2024-08-10 15:23:38 +02:00
Manuel Thalmann 4f2781b154 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
Manuel Thalmann 6ba58ee07e Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
Manuel Thalmann 17939bee8c Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
Manuel Thalmann e2013f8db5 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
Manuel Thalmann d62ea6ffaa Set timezone automatically 2024-08-10 15:17:21 +02:00
Manuel Thalmann 99dd620cc8 Prevent variable overwrite 2024-08-10 15:16:57 +02:00
Manuel Thalmann 9ad16b14fc Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
Manuel Thalmann 8268fdd29d Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann ea53352de6 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 806478db65 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann f20523c43b Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 270854f435 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann f70cad941f Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann a87ea25c15 Remove duplicate code 2024-08-10 05:17:08 +02:00
Manuel Thalmann 5aa19c89e9 Fix typo 2024-08-10 03:57:37 +02:00
Manuel Thalmann 61d610f194 Fix copy paste error 2024-08-10 03:57:26 +02:00
Manuel Thalmann a219a15a5c Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
Manuel Thalmann 091ce4ba61 Fix incorrect script path 2024-08-10 03:13:13 +02:00
Manuel Thalmann 94d6ffe6f9 Fix broken scripts 2024-08-10 01:50:52 +02:00
Manuel Thalmann 89d43c1599 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
Manuel Thalmann 015f7d2901 Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
Manuel Thalmann 4ebf214acc Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann ecb34288cc Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann 9e7ed6e85e Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
Manuel Thalmann bd2dc90463 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
Manuel Thalmann c42b30b52e Change login message 2024-08-09 22:11:12 +02:00
Manuel Thalmann c0748548e1 Set up shared WSL 2024-08-09 16:02:33 +02:00
Manuel Thalmann b034dfd53d Install updates only as admin 2024-08-09 16:02:24 +02:00
Manuel Thalmann 7a99482bc8 Disable boot message only as admin 2024-08-09 16:02:00 +02:00
Manuel Thalmann 505ee2ad34 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
Manuel Thalmann 92e4889417 Fix broken reboot registration 2024-08-09 15:49:36 +02:00
Manuel Thalmann f01409fcd5 Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
Manuel Thalmann a460608b10 Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
Manuel Thalmann c789bd6c72 Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann 29e2703162 Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
Manuel Thalmann ec7fc8dd6e Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
Manuel Thalmann eb6ad4780e Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann b8086193bd Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 25d4810147 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann dee942b881 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann cb2735b909 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann c79d632639 Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann e768c55e58 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann 5e4e7d4939 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann acb22f8a89 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann 849d8387cc Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann c631882854 Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann 62af6e393c Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann 6b7e30c035 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann 37b252d578 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann 91d0d635a1 Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 0a464c90d9 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 40ade7b471 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann 68bec52a7b Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann 10c6f1e155 Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann 0ce23ecc9f Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann e85ab0431f Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann aeca0c1a11 Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 3b5752f214 Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 40e67c23e1 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann aa14dd7beb Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann 30e7c163f2 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann bbbbff7be4 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann 4b9ad41939 Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann ee06982b21 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann 62db17bda2 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 6cd1cbb541 Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 4aec5d4b53 Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann 216d9464a3 Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 9fb7c199d1 Skip scope argument by default 2024-08-08 14:22:13 +02:00
Manuel Thalmann 5f382be97d Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann 8db8dc7a23 Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann 8911b7460b Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann d1f60a12b0 Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann 2943621d6c Apply the error action globally 2024-08-08 14:08:38 +02:00
Manuel Thalmann 6e1322697a Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann 81d0f2de32 Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann 24b43e8410 Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann a0deb0b84b Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann ae3b877c2a Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann ffcda8584d Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann aadc6413ad Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann 8812500285 Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann be4a3228da Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann b2619ea7a6 Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
Manuel Thalmann e296fee797 Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann 995959f958 Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann 198e984bcd Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann 458c46575c Allow custom winget arguments 2024-08-08 04:29:00 +02:00
Manuel Thalmann ddfbe17a49 Improve winget function 2024-08-08 04:28:21 +02:00
Manuel Thalmann e29e36acf7 Add missing function 2024-08-08 04:20:11 +02:00
Manuel Thalmann b92173fa25 Refactor browser scripts 2024-08-08 03:32:03 +02:00
Manuel Thalmann 29b0de86dc Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
Manuel Thalmann 16f3c72eb3 Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
Manuel Thalmann d91beaae7b Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann 31fb0406ca Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann cb3edcfa55 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann a8929f0707 Allow installing modules native only 2024-08-08 02:28:23 +02:00
Manuel Thalmann d0aed26865 Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann dfcd4a910b Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann 5d0c332ab5 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann e3b616200f Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann f04ec8be9c Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann b31b00fc2d Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann 875013b104 Configure user only outside of setup 2024-08-07 23:30:29 +02:00
Manuel Thalmann 1be771628b Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 7fed854044 Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
Manuel Thalmann ec5ccfba2d Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
Manuel Thalmann e9be3db64e Show messages if packages are installed 2024-08-07 23:18:23 +02:00
Manuel Thalmann 64fe00e42f Fix incorrect package check 2024-08-07 23:17:07 +02:00
Manuel Thalmann 834883b5de Refactor default winget parameters 2024-08-07 22:56:42 +02:00
Manuel Thalmann 5e2e43735e Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann dd902e4859 Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
Manuel Thalmann 98db57981c Resolve dependency loop 2024-08-07 21:54:58 +02:00
Manuel Thalmann 3dcaa9b1bc Remove unnecessary statement 2024-08-07 21:53:26 +02:00
Manuel Thalmann 754dc5483c Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann 7770ef04a1 Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann b477870829 Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann a34aa6c143 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 2dfb9d58bf Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann 36336e332d Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann 26ef9a12b9 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann b87117ecd3 Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann 88c765b06e Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann a11646372a Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann fc4215b341 Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann dc2f840018 Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann a541982ac4 Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann 2f950d89ba Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann 63a6c16d99 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann 3304afd2e8 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann 181426ee41 Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann bed24acbe3 Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann 6f93edea54 Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann 6c193590b1 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann d64feb232a Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann 7177fa97ca Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 0b28364280 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann 0be3410151 Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann cf7c776e55 Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
Manuel Thalmann 7df03b263b Silence unnecessary output 2024-08-06 17:07:57 +02:00
Manuel Thalmann faeac1fdb9 Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
Manuel Thalmann 6e3e8eb4b3 Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann 40a422bb8e Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann 48f0097c45 Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann faecb6cd53 Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann e03d0c6630 Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann 4f17c95487 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 6997a800b9 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann 348b1a00bc Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann 6268eab1e5 Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
Manuel Thalmann 901262b8a7 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 2bb3007006 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann 3708aa8e2b Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann b566d63ef2 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann e7ced15185 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann b1544a6a60 Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann 5ba6a48eac Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann 8564396d86 Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann b37815498a Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann e10a91094e Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann 95f65458eb Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann f46d2da997 Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann 1c29cdd89c Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 34108f78d8 Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 5f8b5252ef Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann c0b0cc2556 Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann 6c7bb9c268 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann 985661a91e Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann 8295a41574 Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann 96ba53799e Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 9b6cdd24e5 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 5bb1a19a1f Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann fe11ddf570 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann a2d0c89424 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann f518ea07da Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann 466813fe39 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 9a42fba7f7 Make nix visible to WSL 2024-08-01 18:03:48 +02:00