Commit graph

276 commits

Author SHA1 Message Date
Manuel Thalmann 0817849ef1 Unser POSH_THEME variable during installation 2024-03-24 02:51:22 +01:00
Manuel Thalmann 3d10553d9a Make more descriptive prompt 2024-03-24 02:10:45 +01:00
Manuel Thalmann 745157dbc0 Fix accessability of variables 2024-03-24 02:06:16 +01:00
Manuel Thalmann b3b99fe422 Fix syntax errors 2024-03-24 02:04:43 +01:00
Manuel Thalmann 060ae06753 Fix inaccessible variable 2024-03-24 01:59:39 +01:00
Manuel Thalmann fed96c7cdf Update code accordingly 2024-03-24 01:10:44 +01:00
Manuel Thalmann 77d779be02 Fix invalid syntax 2024-03-23 23:26:22 +01:00
Manuel Thalmann 29d74b3a27 Fix infinite loop 2024-03-23 22:38:11 +01:00
Manuel Thalmann 04e8ae1197 Refactor switch statements 2024-03-23 21:51:19 +01:00
Manuel Thalmann 67fc0770f3 Ensure prerequisites are installed at the very beginning 2024-03-23 17:53:43 +01:00
Manuel Thalmann 19900bac81 Pause scripts on errors 2024-03-23 17:32:45 +01:00
Manuel Thalmann ba5c46a884 Silence unnecessary errors 2024-03-23 17:31:16 +01:00
Manuel Thalmann 9fad7ed0de Print a warning concerning backup preservation 2024-03-23 16:34:08 +01:00
Manuel Thalmann d6cb9c5f70 Log further messages 2024-03-23 15:59:55 +01:00
Manuel Thalmann 60f090349c Lead user through the setup properly 2024-03-23 15:57:25 +01:00
Manuel Thalmann 6d02e1bcb9 Rename user stages 2024-03-23 15:54:15 +01:00
Manuel Thalmann 7c1befdef4 Refactor user creation process 2024-03-23 15:54:09 +01:00
Manuel Thalmann 04c6ef125f Refactor user creation script 2024-03-23 15:47:31 +01:00
Manuel Thalmann 0246633c68 Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann f1310bafdf Set the user name by default 2024-03-23 15:29:37 +01:00
Manuel Thalmann 6fcb7fb4a8 Represent numbers as hex if applicable 2024-03-23 15:27:40 +01:00
Manuel Thalmann 9bfb2f200a Install prerequisites during backups 2024-03-23 15:16:12 +01:00
Manuel Thalmann 5245bb9007 Install Windows based on installation stages 2024-03-23 15:09:58 +01:00
Manuel Thalmann f6baf1a9dc Install script prerequisites automatically 2024-03-23 14:29:59 +01:00
Manuel Thalmann c5a401f7eb Refactor Windows setup scripts 2024-03-23 13:45:15 +01:00
Manuel Thalmann c3ce9c0ba9 Remove unnecessary parameters 2024-03-23 01:45:14 +01:00
Manuel Thalmann b95499730d Remove unnecessary script calls 2024-03-23 01:34:22 +01:00
Manuel Thalmann 4c66d01f00 Call Scheduled Tasks using scripts 2024-03-23 01:27:49 +01:00
Manuel Thalmann 98acbc4817 Remove new line characters from scheduled tasks 2024-03-23 00:57:44 +01:00
Manuel Thalmann d66254ec89 Fix typos 2024-03-23 00:29:34 +01:00
Manuel Thalmann b1d9915786 Fix broken scheduled tasks 2024-03-23 00:10:12 +01:00
Manuel Thalmann 5d914ce33f Refactor the creation of scheduled tasks 2024-03-22 18:28:37 +01:00
Manuel Thalmann de8999c361 Fix run condition 2024-03-22 16:15:37 +01:00
Manuel Thalmann 5290d3283a Replace C# invocations with Invoke-Command 2024-03-22 15:25:00 +01:00
Manuel Thalmann 5e6eebf8ad Fix non-functioning events 2024-03-22 14:51:17 +01:00
Manuel Thalmann 30f98c4cb1 Wait for wmi event using powershell 2024-03-22 12:19:05 +01:00
Manuel Thalmann 5f02a650ad Await custom scheduled tasks 2024-03-22 10:59:24 +01:00
Manuel Thalmann ba058911e9 Store scheduled task in separate scripts 2024-03-22 10:32:53 +01:00
Manuel Thalmann d649525722 Drop use of redundant constant value 2024-03-22 10:20:03 +01:00
Manuel Thalmann 9ab5e776d9 Move user creation script 2024-03-22 09:26:54 +01:00
Manuel Thalmann 6aaff564cc Add missing import 2024-03-21 17:21:02 +01:00
Manuel Thalmann 875120ccff Inquire on errors 2024-03-21 16:27:57 +01:00
Manuel Thalmann bfad7f1228 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +01:00
Manuel Thalmann b1aa93d420 Create proper relative paths by default 2024-03-21 16:05:55 +01:00
Manuel Thalmann a8a144c147 Install aliae initially 2024-03-21 13:35:21 +01:00
Manuel Thalmann 181a82fd24 Streamline PowerShell profile installation 2024-03-21 00:29:09 +01:00
Manuel Thalmann ce44de21d7 Remove redundant script 2024-03-20 23:57:24 +01:00
Manuel Thalmann 8339cb3006 Detect entrypoint automatically 2024-03-16 01:04:56 +01:00
Manuel Thalmann cd6d5fcd9b Fix broken installer call 2024-03-13 22:30:14 +01:00
Manuel Thalmann 86aa29b66c Fix installation of winget 2024-03-13 21:56:48 +01:00
Manuel Thalmann 39ba5f63bc Fix incorrect script path 2024-03-13 20:57:46 +01:00
Manuel Thalmann 2f4222ecdb Fix incorrect winget installation statement 2024-03-13 20:07:38 +01:00
Manuel Thalmann d67a1d5be9 Run winget installation using pwsh 2024-03-13 19:35:06 +01:00
Manuel Thalmann 7b11234ea2 Install winget using the script 2024-03-13 09:35:27 +01:00
Manuel Thalmann 20acebbc7e Fix order of execution in setup script 2024-03-11 18:10:37 +01:00
Manuel Thalmann e6d2a3189d Silence unnecessary output 2024-03-11 17:46:51 +01:00
Manuel Thalmann 34346ebfbd Fix typo 2024-03-11 17:45:15 +01:00
Manuel Thalmann 48a1913401 Include Unattend settings in PortValhalla 2024-03-11 17:32:47 +01:00
Manuel Thalmann 140071c493 Install winget only if necessary 2024-03-11 17:08:53 +01:00
Manuel Thalmann b107cdc562 Improve text related to Autologin enablement 2024-01-17 14:08:31 +01:00
Manuel Thalmann 02f585af95 Change format of ooeb boot command 2023-12-07 17:41:33 +01:00
Manuel Thalmann 8bceb30872 Install most recent version of winget during installation 2023-09-27 18:36:17 +02:00
Manuel Thalmann 967206e14f Allow specifying custom app installer function 2023-09-27 12:32:27 +02:00
Manuel Thalmann 4300575df6 Set Windows to store UTC time 2023-08-14 01:32:57 +02:00
Manuel Thalmann 4dc661f352 Remove non-functioning statements 2023-08-07 01:24:08 +02:00
Manuel Thalmann 9b59884ef6 Copy Region & Language settings during setup 2023-08-05 04:11:43 +02:00
Manuel Thalmann 95fc7f1e84 Fix incorrectly named parameter 2023-08-04 01:33:42 +02:00
Manuel Thalmann 54f7a98621 Install working version of Selenium.WebDriver 2023-08-04 01:13:58 +02:00
Manuel Thalmann 08fd0e3069 Don't split resulting backup file 2023-08-02 12:56:40 +02:00
Manuel Thalmann dc3a3d5d0a Split full backup in 4GB parts 2023-08-01 20:32:58 +02:00
Manuel Thalmann cd0d55d707 Split resulting archive 2023-08-01 19:01:12 +02:00
Manuel Thalmann c5bbb55f29 Re-enable deletion after backup 2023-08-01 17:22:48 +02:00
Manuel Thalmann 1bf80bfd19 Disable the -sdel switch 2023-08-01 14:01:35 +02:00
Manuel Thalmann b7fb6de569 Remove all unwanted installation artifacts 2023-08-01 13:24:08 +02:00
Manuel Thalmann 934742f023 Remove files project after restoration 2023-08-01 13:15:34 +02:00
Manuel Thalmann 905733fff3 Delete files after backup 2023-08-01 13:13:38 +02:00
Manuel Thalmann 21fd4093df Allow archives to not be split 2023-08-01 12:48:27 +02:00
Manuel Thalmann 00262f3625 Disable the -sdel option of 7zip 2023-07-31 00:41:35 +02:00
Manuel Thalmann 6316b30e84 Clean up computer after creating backup 2023-07-29 21:16:42 +02:00
Manuel Thalmann 4031d0b0f1 Fix grammatical error 2023-07-29 11:07:52 +02:00
Manuel Thalmann e3e998a4a4 Prevent sleep mode for all actions 2023-07-29 03:37:43 +02:00
Manuel Thalmann 3578bf6407 Allow the prevention of sleep mode 2023-07-29 02:58:00 +02:00
Manuel Thalmann 40788f3d98 Add Oh My Posh to windows 2023-07-27 02:57:35 +02:00
Manuel Thalmann c522ed9350 Add Terminal-Icons 2023-07-27 02:36:31 +02:00
Manuel Thalmann c851336400 Add posh-git to Windows installations 2023-07-27 02:22:09 +02:00
Manuel Thalmann b44c8833b5 Add ability to load PowerShell profile files 2023-07-27 01:59:03 +02:00
Manuel Thalmann ee4434f91a Fix possible non-existent variable 2023-07-26 14:56:17 +02:00
Manuel Thalmann 7cf1d9c599 Add a step for setting up software with app associations 2023-07-26 13:44:05 +02:00
Manuel Thalmann 892aa46f12 Install software before setting associations 2023-07-26 00:15:51 +02:00
Manuel Thalmann f135727dc2 Set default programs before creating user 2023-07-25 18:52:03 +02:00
Manuel Thalmann 62224f1ab0 Silence unnecessary console output 2023-07-19 23:19:05 +02:00
Manuel Thalmann fa035a29b2 Install chocolatey profile for all future users 2023-07-19 14:33:06 +02:00
Manuel Thalmann c098b6060c Move NuGet provider installation to prerequisites 2023-07-19 09:41:22 +02:00
Manuel Thalmann dffb937078 Perform initial configuration before anything else 2023-07-19 01:16:25 +02:00
Manuel Thalmann d537ba87a5 Add NetFx3 as a prerequisite 2023-07-18 23:33:53 +02:00
Manuel Thalmann bfff046e4d Ignore exceptions during updates 2023-07-18 21:57:08 +02:00
Manuel Thalmann 82c05c2121 Replace incorrect software 2023-07-17 21:57:01 +02:00
Manuel Thalmann 58622be1b1 Set icons to a bearable size 2023-07-17 16:02:33 +02:00
Manuel Thalmann 0a37ec388d Add AutoIt as a prerequisite 2023-07-17 00:17:15 +02:00
Manuel Thalmann 368ccbdf28 Enable ssh-agent on windows by default 2023-07-16 15:50:56 +02:00