Commit graph

933 commits

Author SHA1 Message Date
Manuel Thalmann dc7fe9f418 Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
Manuel Thalmann d23bcac5d2 Force computer reboots 2024-08-09 04:42:55 +02:00
Manuel Thalmann 3f3799add0 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
Manuel Thalmann 9d662fbce5 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 43f7672df3 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 839e0ccaaf Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann a2fa8bb699 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann 53730a9a52 Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann 49e8a3fd43 Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann 7ab68a71ba Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann 5e0f528616 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann bcc1536b22 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann f38794c3c0 Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann c68ce2b4e3 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 3fad7125f7 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann 8f43f82e5f Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann 456fe11ab5 Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann 85288488f9 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann ebf7408858 Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 66786ad5cd Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 565f5f927e Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 2ea5578a54 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann 5d7022f981 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann 01c90615ef Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann 31eb506bc8 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann f82b43c057 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 141b5061ed Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann c08052998c Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 26ed09b13b Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann 97efefcbf0 Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann f665b3e1f7 Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann 30f1b9323c Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann d059374124 Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann b02c63adb2 Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann a147c2d8ea Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann 2223123808 Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann 823909a847 Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann 3ccf3b43a7 Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann 9d205f353a Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann cc05ba4fed Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann 41cf18bd81 Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann 40a983dc65 Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann 03460b7e44 Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann fcbbc12a63 Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann d29c6f1c45 Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann 1010b795bb Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann 0d1dbda873 Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann a532df391a Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann 219e991d45 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann 6f4a22b5aa Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann 933402144d Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann bb9eb99a36 Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann e32d97ec51 Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 036d2a8338 Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann 30638e42f1 Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann a667593dbb Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann 438bbb911e Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann d90e3bb437 Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann cebc95eae9 Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann 2f0198257e Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann aa295bae1c Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann 6ffc02ad16 Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann 6de06321ca Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann 9b8ba848f6 Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann 7532873c6c Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann 770445ea95 Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann 3e57070f4e Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann 8b921112e2 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann 6ca8369d08 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann 979e77a95d Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann 81db7a4bca Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann 46c30157a0 Execute winget script in a module 2024-08-07 13:36:47 +02:00
Manuel Thalmann d6f58f3185 Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann a1c094dba5 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann 82a365a14a Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann cd822fc916 Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 35867a0016 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann ff48173d0d Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann 143b4d86fb Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
Manuel Thalmann 4a5c658315 Silence unnecessary output 2024-08-06 17:07:57 +02:00
Manuel Thalmann 9cbf51fe45 Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
Manuel Thalmann 44d4bdb7ec Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann 76a9004e3c Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann 92d041c327 Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann 1521de74cb Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann 9a83325ff4 Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann 5d16278931 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 5ad6fa685b Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann a20956ac7d Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann c7a982cecc Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
Manuel Thalmann 110da58eae Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 35a03d27ca Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann 3c7ee2c4c1 Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann 304a99ce68 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann a2136a0dc0 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann b8bd928029 Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann 8cecf2d724 Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann 2654ba7629 Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann ecd9027e4c Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann 3a28990a98 Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann 8d6b1b8baf Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann 6dfc060a4e Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann d079f853bc Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 94c7df6913 Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 9c84539b2f Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann cf926260df Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann 85dc2a8c48 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann e5a3bdd0b8 Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann b62adc9f9a Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann ea6f8d3dfe Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann e52a389b0b Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 2d58aece66 Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann 59b2a47fd1 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann 88f24b9752 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann f389aee193 Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann 89aaa40b19 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 6e98ce7777 Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann fb925692ae Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann f5685f051a Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann c7af9c8a3c Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann 3b66106a0c Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann db3b109c0c Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann 4e62179e74 Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 8624596e2e Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann 8f8f455e84 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 17237a0d67 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann a584d864af Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann a39174fe48 Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann 4d3dd0ba33 Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann 8a41a75527 Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann f109ab9d7e Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann c4dc9d40f7 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann 4c11b787ae Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann a44a5413fb Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 4e489f4076 Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann 625b9f3d03 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 5e186fb9dd Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann edf4a57c0f Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann fe79e4b13a Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 4f1d032a2a Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann a9d0ef43e2 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 46c4caa76e Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann f330b1f9a3 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann af552af3cc Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann fc60e85a48 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann bf3cde37e3 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 0656dc18fa Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann e9f5f1571f Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 638cbd454e Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 5ed546f559 Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00