Commit graph

351 commits

Author SHA1 Message Date
Manuel Thalmann 5b0074bea9 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann 6612b9e7d4 Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann 781d133e7e Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann bba8da3b84 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 86732247b9 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann a6985d7e1b Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann 467b429bd9 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann f228817817 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann 31c30e6854 Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 89183dbeed Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 64c2ba9127 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann d07d4c9057 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann c137952345 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 8d9e9ca3a6 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann ca2a5f23b0 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 852b1c71ce Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 4a34593d83 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 64d4b1d7a4 Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 1922eed510 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 795d50a2a3 Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann f58b7895e4 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
Manuel Thalmann d803c80611 Prevent unnecessary output 2024-03-24 16:56:55 +01:00
Manuel Thalmann c0f20ce64b Ignore inexistent POSH_THEME variable 2024-03-24 03:17:50 +01:00
Manuel Thalmann ac8a58eac8 Unser POSH_THEME variable during installation 2024-03-24 02:51:22 +01:00
Manuel Thalmann bd62c46504 Make more descriptive prompt 2024-03-24 02:10:45 +01:00
Manuel Thalmann 41653e34e6 Fix accessability of variables 2024-03-24 02:06:16 +01:00
Manuel Thalmann c0d8936fc9 Fix syntax errors 2024-03-24 02:04:43 +01:00
Manuel Thalmann ac0b53550e Fix inaccessible variable 2024-03-24 01:59:39 +01:00
Manuel Thalmann ba61657cfe Update code accordingly 2024-03-24 01:10:44 +01:00
Manuel Thalmann afe6626a37 Fix invalid syntax 2024-03-23 23:26:22 +01:00
Manuel Thalmann 8e3152ee03 Fix infinite loop 2024-03-23 22:38:11 +01:00
Manuel Thalmann 76370d1de1 Refactor switch statements 2024-03-23 21:51:19 +01:00
Manuel Thalmann 962b0952ea Ensure prerequisites are installed at the very beginning 2024-03-23 17:53:43 +01:00
Manuel Thalmann fbacb2dcc7 Pause scripts on errors 2024-03-23 17:32:45 +01:00
Manuel Thalmann b1b230972f Silence unnecessary errors 2024-03-23 17:31:16 +01:00
Manuel Thalmann f0d9441a19 Print a warning concerning backup preservation 2024-03-23 16:34:08 +01:00
Manuel Thalmann 4eaef9a7c3 Log further messages 2024-03-23 15:59:55 +01:00
Manuel Thalmann 686efa716d Lead user through the setup properly 2024-03-23 15:57:25 +01:00
Manuel Thalmann cce121656d Rename user stages 2024-03-23 15:54:15 +01:00
Manuel Thalmann 8c404feddf Refactor user creation process 2024-03-23 15:54:09 +01:00
Manuel Thalmann ff0d70493a Refactor user creation script 2024-03-23 15:47:31 +01:00
Manuel Thalmann be49a7d80c Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann a49a926135 Set the user name by default 2024-03-23 15:29:37 +01:00
Manuel Thalmann 1b10d40bbe Represent numbers as hex if applicable 2024-03-23 15:27:40 +01:00
Manuel Thalmann 23fca23cbe Install prerequisites during backups 2024-03-23 15:16:12 +01:00
Manuel Thalmann f55e5ab8b9 Install Windows based on installation stages 2024-03-23 15:09:58 +01:00
Manuel Thalmann c51f1c9367 Install script prerequisites automatically 2024-03-23 14:29:59 +01:00
Manuel Thalmann 81091371e9 Refactor Windows setup scripts 2024-03-23 13:45:15 +01:00
Manuel Thalmann 9ac113cbeb Remove unnecessary parameters 2024-03-23 01:45:14 +01:00
Manuel Thalmann 84db4a0f5e Remove unnecessary script calls 2024-03-23 01:34:22 +01:00
Manuel Thalmann 0dfda96d8a Call Scheduled Tasks using scripts 2024-03-23 01:27:49 +01:00
Manuel Thalmann df32bea183 Remove new line characters from scheduled tasks 2024-03-23 00:57:44 +01:00
Manuel Thalmann 9d1349a7b6 Fix typos 2024-03-23 00:29:34 +01:00
Manuel Thalmann dc4a60658a Fix broken scheduled tasks 2024-03-23 00:10:12 +01:00
Manuel Thalmann 42b9a244ea Refactor the creation of scheduled tasks 2024-03-22 18:28:37 +01:00
Manuel Thalmann 2c1496ca86 Fix run condition 2024-03-22 16:15:37 +01:00
Manuel Thalmann 9d43a84fab Replace C# invocations with Invoke-Command 2024-03-22 15:25:00 +01:00
Manuel Thalmann 8f66dfaafa Fix non-functioning events 2024-03-22 14:51:17 +01:00
Manuel Thalmann 232040dc65 Wait for wmi event using powershell 2024-03-22 12:19:05 +01:00
Manuel Thalmann 5bc0a8eefc Await custom scheduled tasks 2024-03-22 10:59:24 +01:00
Manuel Thalmann 8acfb3b82e Store scheduled task in separate scripts 2024-03-22 10:32:53 +01:00
Manuel Thalmann 55c06764c6 Drop use of redundant constant value 2024-03-22 10:20:25 +01:00
Manuel Thalmann c74be4f8f4 Move user creation script 2024-03-22 10:20:25 +01:00
Manuel Thalmann 855ca38b8c Add missing import 2024-03-21 17:21:02 +01:00
Manuel Thalmann 56480a7a67 Inquire on errors 2024-03-21 16:27:57 +01:00
Manuel Thalmann ca863eb749 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +01:00
Manuel Thalmann 2c30f34c06 Create proper relative paths by default 2024-03-21 16:05:55 +01:00
Manuel Thalmann 9875b20a3a Install aliae initially 2024-03-21 13:35:21 +01:00
Manuel Thalmann 9ac22c8b99 Streamline PowerShell profile installation 2024-03-21 00:29:09 +01:00
Manuel Thalmann 953a1127ac Remove redundant script 2024-03-20 23:57:24 +01:00
Manuel Thalmann f75f8a3fee Detect entrypoint automatically 2024-03-16 01:04:56 +01:00
Manuel Thalmann 1a2b402e2b Fix broken installer call 2024-03-13 22:30:14 +01:00
Manuel Thalmann 246a70521f Fix installation of winget 2024-03-13 21:56:48 +01:00
Manuel Thalmann a5abac1956 Fix incorrect script path 2024-03-13 20:57:46 +01:00
Manuel Thalmann 3648e597d5 Fix incorrect winget installation statement 2024-03-13 20:07:38 +01:00
Manuel Thalmann afa64d591a Run winget installation using pwsh 2024-03-13 19:35:06 +01:00
Manuel Thalmann bf9e0064a3 Install winget using the script 2024-03-13 09:35:27 +01:00
Manuel Thalmann 30e020fe7d Fix order of execution in setup script 2024-03-11 18:10:37 +01:00
Manuel Thalmann 377fa82836 Silence unnecessary output 2024-03-11 17:46:51 +01:00
Manuel Thalmann 81b7991ff3 Fix typo 2024-03-11 17:45:15 +01:00
Manuel Thalmann 0aff5fc54b Include Unattend settings in PortValhalla 2024-03-11 17:32:47 +01:00
Manuel Thalmann 69fa6b1e1c Install winget only if necessary 2024-03-11 17:08:53 +01:00
Manuel Thalmann c6ad6a9a25 Improve text related to Autologin enablement 2024-01-17 14:08:31 +01:00
Manuel Thalmann 11e0f6207c Change format of ooeb boot command 2023-12-07 17:41:33 +01:00
Manuel Thalmann 6a41fd454a Install most recent version of winget during installation 2023-09-27 18:36:17 +02:00
Manuel Thalmann 13207c0d4a Allow specifying custom app installer function 2023-09-27 12:32:27 +02:00
Manuel Thalmann ee9a796e1c Set Windows to store UTC time 2023-08-14 01:33:05 +02:00
Manuel Thalmann de6ff86064 Remove non-functioning statements 2023-08-07 01:24:08 +02:00
Manuel Thalmann fd365543a6 Copy Region & Language settings during setup 2023-08-05 04:11:43 +02:00
Manuel Thalmann 9284a372e7 Fix incorrectly named parameter 2023-08-04 01:33:42 +02:00
Manuel Thalmann a2e0cbe683 Install working version of Selenium.WebDriver 2023-08-04 01:13:58 +02:00
Manuel Thalmann 7889739189 Don't split resulting backup file 2023-08-02 12:56:40 +02:00
Manuel Thalmann b366c32395 Split full backup in 4GB parts 2023-08-01 20:32:58 +02:00
Manuel Thalmann 4f420adb00 Split resulting archive 2023-08-01 19:01:12 +02:00
Manuel Thalmann d4a78bf9e3 Re-enable deletion after backup 2023-08-01 17:22:48 +02:00
Manuel Thalmann 3a7a83c00e Disable the -sdel switch 2023-08-01 14:01:35 +02:00
Manuel Thalmann a9e39e218a Remove all unwanted installation artifacts 2023-08-01 13:24:08 +02:00
Manuel Thalmann cf4a1cca79 Remove files project after restoration 2023-08-01 13:15:34 +02:00
Manuel Thalmann 911417fe62 Delete files after backup 2023-08-01 13:13:38 +02:00
Manuel Thalmann 1b80209d85 Allow archives to not be split 2023-08-01 12:48:27 +02:00
Manuel Thalmann 1b8b60f4cb Disable the -sdel option of 7zip 2023-07-31 00:41:35 +02:00
Manuel Thalmann 3125cd823e Clean up computer after creating backup 2023-07-29 21:16:42 +02:00
Manuel Thalmann 3982fbc32a Remove unnecessary white space characters 2023-07-29 21:13:25 +02:00
Manuel Thalmann 178be42a48 Fix grammatical error 2023-07-29 11:07:52 +02:00
Manuel Thalmann ea590b2201 Prevent sleep mode for all actions 2023-07-29 03:37:43 +02:00
Manuel Thalmann 95760333e0 Allow the prevention of sleep mode 2023-07-29 02:58:00 +02:00
Manuel Thalmann 90a9d8726a Add Oh My Posh to windows 2023-07-27 02:57:35 +02:00
Manuel Thalmann 7fb0aadc1f Add Terminal-Icons 2023-07-27 02:36:31 +02:00
Manuel Thalmann 94796dd5d9 Add posh-git to Windows installations 2023-07-27 02:22:09 +02:00
Manuel Thalmann f7d25bd05a Add ability to load PowerShell profile files 2023-07-27 01:59:03 +02:00
Manuel Thalmann 8369da88a1 Fix possible non-existent variable 2023-07-26 14:56:17 +02:00
Manuel Thalmann 91167bb5f9 Add a step for setting up software with app associations 2023-07-26 13:44:05 +02:00
Manuel Thalmann 4ec03492be Install software before setting associations 2023-07-26 00:15:51 +02:00
Manuel Thalmann 774cce451a Set default programs before creating user 2023-07-25 18:52:03 +02:00
Manuel Thalmann 72797a1397 Silence unnecessary console output 2023-07-19 23:19:05 +02:00
Manuel Thalmann 316753f4ef Install chocolatey profile for all future users 2023-07-19 14:33:06 +02:00
Manuel Thalmann 8f8000f5c0 Move NuGet provider installation to prerequisites 2023-07-19 09:41:22 +02:00
Manuel Thalmann eb36c585c7 Perform initial configuration before anything else 2023-07-19 01:16:25 +02:00
Manuel Thalmann db2b29f85f Add NetFx3 as a prerequisite 2023-07-18 23:33:53 +02:00
Manuel Thalmann 042fab81c5 Ignore exceptions during updates 2023-07-18 21:57:08 +02:00
Manuel Thalmann 1864c2db5d Replace incorrect software 2023-07-17 21:57:01 +02:00
Manuel Thalmann 1660663d2a Set icons to a bearable size 2023-07-17 16:02:33 +02:00
Manuel Thalmann 55b2e6b1df Add AutoIt as a prerequisite 2023-07-17 00:17:15 +02:00
Manuel Thalmann ec1220a9d2 Enable ssh-agent on windows by default 2023-07-16 15:50:56 +02:00
Manuel Thalmann a44dee9522 Simplify overcomplicated path 2023-07-16 15:49:14 +02:00
Manuel Thalmann c262979b69 Remove MSEdge desktop symbol 2023-07-16 15:37:18 +02:00
Manuel Thalmann 102f7a98a9 Add missing parameter 2023-07-16 13:47:12 +02:00
Manuel Thalmann d525253169 Fix typo 2023-07-16 13:12:47 +02:00
Manuel Thalmann b769ac4936 Configure file explorer only once 2023-07-16 12:56:54 +02:00
Manuel Thalmann b91f919fc0 Show file extensions by default 2023-07-16 12:55:23 +02:00
Manuel Thalmann 04e6531ab4 Prevent creation of desktop icon for firefox 2023-07-16 12:39:07 +02:00
Manuel Thalmann 1654869529 Always forcefully restart computer 2023-07-16 11:30:20 +02:00
Manuel Thalmann d04514a34e Always forcefully restart computer as backup plan 2023-07-16 11:21:58 +02:00
Manuel Thalmann dc4c799ddf Fix non-functioning code 2023-07-16 01:27:38 +02:00
Manuel Thalmann 1639af46cf Ignore non-functioning update 2023-07-16 01:22:43 +02:00
Manuel Thalmann 77062347ac Disable unnecessary errors 2023-07-15 22:32:22 +02:00
Manuel Thalmann d1f5575db2 Remove unnecessary statements 2023-07-15 22:19:48 +02:00
Manuel Thalmann 5c3bb49688 Reboot after installing drivers 2023-07-15 21:40:14 +02:00
Manuel Thalmann 9a7588cbe7 Add Firefox as a prerequisite 2023-07-15 19:18:56 +02:00
Manuel Thalmann 087a3aa1d6 Fix non-functioning code 2023-07-15 18:45:44 +02:00
Manuel Thalmann 4771613fb6 Install prerequisites for Selenium 2023-07-15 18:24:26 +02:00
Manuel Thalmann 0106e2c233 Rename driver installation function 2023-07-15 11:33:42 +02:00
Manuel Thalmann e3ff428620 Allow driver installation during setup 2023-07-14 09:24:13 +02:00
Manuel Thalmann a0c38ff179 Install Firefox before nextcloud 2023-07-13 19:03:52 +02:00
Manuel Thalmann 75674303ed Enable choco feature first 2023-07-13 01:30:27 +02:00
Manuel Thalmann ba1d95d1e6 Add she-bang to all files 2023-07-12 22:37:31 +02:00
Manuel Thalmann 815935afff Reorder steps of windows restoration 2023-07-12 18:05:38 +02:00
Manuel Thalmann 7037f7cc10 Prevent restoration context from being overwritten 2023-07-11 18:22:14 +02:00
Manuel Thalmann 7a04a90770 Fix incorrect statement 2023-07-03 14:34:39 +02:00
Manuel Thalmann d7fa93246a Only perform upgrade as an administrator 2023-07-03 14:33:55 +02:00