Commit graph

336 commits

Author SHA1 Message Date
Manuel Thalmann b358ea11e4 Reorder statements properly 2023-07-15 11:36:41 +02:00
Manuel Thalmann f54098018b Add marvell ethernet driver 2023-07-15 11:35:07 +02:00
Manuel Thalmann 0106e2c233 Rename driver installation function 2023-07-15 11:33:42 +02:00
Manuel Thalmann 26d46a548b Add a script for installing asus packages 2023-07-15 11:33:05 +02:00
Manuel Thalmann e3ff428620 Allow driver installation during setup 2023-07-14 09:24:13 +02:00
Manuel Thalmann 9d0a6565b6 Remove unnecessary statement 2023-07-13 19:35:19 +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 e99cf3183e Add EOL to the end of all files 2023-07-12 22:44:20 +02:00
Manuel Thalmann ba1d95d1e6 Add she-bang to all files 2023-07-12 22:37:31 +02:00
Manuel Thalmann 2a65445e5a Try automating osu!lazer installer 2023-07-12 18:23:59 +02:00
Manuel Thalmann be68e8363a Automatically download TrackMania United setup 2023-07-12 18:11:55 +02:00
Manuel Thalmann 815935afff Reorder steps of windows restoration 2023-07-12 18:05:38 +02:00
Manuel Thalmann 85380d3a28 Install Firefox before anything else 2023-07-11 22:25:05 +02:00
Manuel Thalmann 7037f7cc10 Prevent restoration context from being overwritten 2023-07-11 18:22:14 +02:00
Manuel Thalmann 4387241907 Fix non-functioning code 2023-07-10 21:22:31 +02:00
Manuel Thalmann f81ccaff85 Refactor the determination of the nextcloud path 2023-07-03 22:54:30 +02:00
Manuel Thalmann a8dccbd6cc Enable UAC on cleanup 2023-07-03 14:35:16 +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
Manuel Thalmann dbc3eeef42 Move UAC handling to context 2023-07-03 13:44:51 +02:00
Manuel Thalmann 84871b2ee0 Fix incorrect order of commands 2023-07-03 13:43:58 +02:00
Manuel Thalmann 0cfea82920 Clean up after restoration 2023-07-03 13:24:36 +02:00
Manuel Thalmann 4fc1a6a2c1 Fix typo 2023-07-03 12:44:36 +02:00
Manuel Thalmann 88cca9c32c Relocate windows installation partition 2023-07-03 12:37:02 +02:00
Manuel Thalmann d52de2f40a Suppress unnecessary errors 2023-07-03 01:14:34 +02:00
Manuel Thalmann 1e6aec1e30 Fix typo 2023-07-03 01:10:44 +02:00
Manuel Thalmann 430dc33ed5 Change order of operations when editing sync 2023-07-03 00:59:11 +02:00
Manuel Thalmann 72a943a784 Ensure content is being read before written 2023-07-03 00:58:21 +02:00
Manuel Thalmann 95e8ce6992 Refactor manipulation of nextcloud sync file 2023-07-03 00:47:21 +02:00
Manuel Thalmann 20debdc1ac Fix syntax error 2023-07-03 00:35:40 +02:00
Manuel Thalmann 16a5ea110f Try fixing the Add-Content command 2023-07-03 00:15:11 +02:00
Manuel Thalmann 525df4f072 Fix potential typo 2023-07-03 00:02:00 +02:00
Manuel Thalmann a3ace6746a Remove unnecessary desktop shortcuts 2023-07-02 23:31:56 +02:00
Manuel Thalmann a9ef2bfb04 Try fixing the nextcloud sync creation 2023-07-02 23:29:58 +02:00
Manuel Thalmann 6e9ce12a41 Refactor string substitution 2023-07-02 21:49:00 +02:00
Manuel Thalmann d13527be19 Fix logic of setting up syncs 2023-07-02 20:45:25 +02:00
Manuel Thalmann 200f2a3e62 Activate features if not enabled 2023-07-02 19:00:25 +02:00
Manuel Thalmann 9395b68677 Ignore checksums during the RetroArch installation 2023-07-02 18:57:10 +02:00
Manuel Thalmann dac2fdc6f5 Only process osu! settings if existent 2023-07-02 18:46:06 +02:00
Manuel Thalmann 659ac771ee Add missing Pop-Location statement 2023-07-02 18:45:38 +02:00
Manuel Thalmann d212530a56 Remove downloaded TMUF installer 2023-07-02 18:22:02 +02:00
Manuel Thalmann dfa1b0a3c7 Set a default value for the TMUF exe 2023-07-02 18:05:48 +02:00
Manuel Thalmann cfa93052f8 Install missing features for TrackMania 2023-07-02 18:05:06 +02:00
Manuel Thalmann 519a52d06c Allow unawaited installation of winget packages 2023-07-02 17:55:42 +02:00
Manuel Thalmann 2ce14a841e Enforce the activation of DirectPlay 2023-07-02 17:53:28 +02:00
Manuel Thalmann 0f39ccbfb6 Kill Nextcloud while editing config 2023-07-02 17:38:44 +02:00
Manuel Thalmann 441399b90c Add install statements for code editors 2023-07-02 16:46:58 +02:00
Manuel Thalmann 9deb36410a Install game launchers 2023-07-02 16:18:58 +02:00
Manuel Thalmann 434519ea58 Execute Visual Studio restoration 2023-07-02 16:15:08 +02:00
Manuel Thalmann 4f82b916dd Add a script for restoring Visual Studio 2023-07-02 16:14:10 +02:00
Manuel Thalmann fbee8dcac5 Fix non-functioning script 2023-07-02 16:07:47 +02:00
Manuel Thalmann 0788320b9b Add a script for restoring reWASD 2023-07-02 16:05:04 +02:00
Manuel Thalmann 3d4a296ca5 Add a script for installing RetroArch 2023-07-02 15:58:36 +02:00
Manuel Thalmann a43fbad3d1 Add a script for adding nextcloud sync 2023-07-02 15:44:47 +02:00
Manuel Thalmann 53b51960b1 Add script for restoring putty 2023-07-02 15:16:24 +02:00
Manuel Thalmann 0024a5a7ee Add a script for installing osu!lazer 2023-07-02 15:12:56 +02:00
Manuel Thalmann 0e3e5b8dbc Add script for installing osu! 2023-07-02 14:42:17 +02:00
Manuel Thalmann e538e16641 Add a script for installing ManiaPlanet 2023-07-02 14:00:33 +02:00
Manuel Thalmann c4f1a7a7fa Add a script for installing TrackMania United 2023-07-02 13:58:23 +02:00
Manuel Thalmann 6aceec31ae Add log messages 2023-07-02 13:53:19 +02:00
Manuel Thalmann 066d1b50c7 Add a script for installing TrackMania Nations 2023-07-02 13:50:19 +02:00
Manuel Thalmann 4388487e13 Refactor nextcloud installation check 2023-07-01 04:33:07 +02:00
Manuel Thalmann e5bd41003b Add step for restoring LGHUB 2023-06-30 14:24:51 +02:00
Manuel Thalmann 35b093c4e1 Add log messages for all installation steps 2023-06-30 14:23:20 +02:00
Manuel Thalmann 2b1440c395 Show info if backup archive does not exist 2023-06-30 14:15:48 +02:00
Manuel Thalmann 45d82ddfd9 Add a script for restoring LGHub 2023-06-30 14:10:31 +02:00
Manuel Thalmann 6ebfc4a889 Restart computer after setting up Nextcloud 2023-06-30 14:01:07 +02:00
Manuel Thalmann 2706890b75 Ensure Let's Encrypt certificates work 2023-06-30 13:58:28 +02:00
Manuel Thalmann aee240eefa Wait for user to log in to nextcloud 2023-06-30 13:18:12 +02:00
Manuel Thalmann ed2cac87ca Add step for installing Nextcloud 2023-06-30 13:17:00 +02:00
Manuel Thalmann af0dbf7752 Remove unnecessary file when installing git 2023-06-30 13:11:08 +02:00
Manuel Thalmann 92567b7cd4 Create separate script for handling app backups 2023-06-30 12:24:12 +02:00
Manuel Thalmann 681fb26a46 Rename powershell command 2023-06-30 12:19:54 +02:00
Manuel Thalmann ce06429ba6 Remove unnecessary config values 2023-06-30 12:01:18 +02:00
Manuel Thalmann 37a97f31fa Delete auto login task 2023-06-30 11:58:16 +02:00
Manuel Thalmann d4a4e85adb Fix deletion of unnecessary tasks 2023-06-30 11:57:50 +02:00
Manuel Thalmann b82e23e57f Remove stage reference after removing admin account 2023-06-30 11:54:32 +02:00
Manuel Thalmann 9d147090d9 Fix further typos 2023-06-30 04:47:31 +02:00
Manuel Thalmann a929310f77 Fix typo 2023-06-30 04:36:28 +02:00
Manuel Thalmann c90fd19b43 Refactor removal of configuration values 2023-06-30 04:34:40 +02:00
Manuel Thalmann 50c5c727dd Remove admin account in a separate stage 2023-06-30 04:29:59 +02:00
Manuel Thalmann ac1bd17c15 Fix broken query 2023-06-30 04:26:19 +02:00
Manuel Thalmann 118f6b9a4f Set proper boundaries for event numbers 2023-06-30 03:40:04 +02:00
Manuel Thalmann 3200438721 Fix typo 2023-06-30 03:38:18 +02:00
Manuel Thalmann a26e53a4a7 Fix broken statement 2023-06-30 02:49:00 +02:00
Manuel Thalmann 52008c5eb7 Fix incorrect function call 2023-06-30 02:40:15 +02:00
Manuel Thalmann b6a4b41d1a Fix writing of registry config values 2023-06-30 02:34:52 +02:00
Manuel Thalmann ca48076167 Persist custom acl 2023-06-30 01:57:45 +02:00
Manuel Thalmann 7fbd17215e Fix regedit access rights 2023-06-30 00:55:42 +02:00
Manuel Thalmann cd19ae771b Prompt for continuation on error 2023-06-29 20:33:56 +02:00
Manuel Thalmann 1defca4bcd Allow anyone to edit config 2023-06-29 20:02:12 +02:00
Manuel Thalmann f9e193524d Add code for enabling autologin 2023-06-29 20:01:54 +02:00
Manuel Thalmann 736d25f1a8 Allow registering multiple scheduled tasks 2023-06-29 19:40:54 +02:00
Manuel Thalmann 8606cd441a Dynamically determine task triggers 2023-06-29 19:24:42 +02:00
Manuel Thalmann 594f08e994 Store task name in function 2023-06-29 19:18:50 +02:00
Manuel Thalmann 03aea1e4e6 Detect current step using stages 2023-06-29 19:13:33 +02:00
Manuel Thalmann 01d4e3dafa Add method for removing the current stage 2023-06-29 19:13:17 +02:00
Manuel Thalmann 09b031ff92 Mute unwanted output 2023-06-29 19:11:41 +02:00
Manuel Thalmann 33d7d4834c Add a method for removing config values 2023-06-29 19:11:16 +02:00
Manuel Thalmann bf6700ae2f Add methods for getting or setting the current stage 2023-06-29 19:08:05 +02:00
Manuel Thalmann a8cdefd3d3 Rename misleading functions 2023-06-29 19:05:22 +02:00
Manuel Thalmann 73136bbf60 Allow storing settings using the context 2023-06-29 19:03:31 +02:00
Manuel Thalmann 171ad324b5 Rearrange UAC disablement 2023-06-29 17:29:42 +02:00
Manuel Thalmann 11e66ebc45 Reorder UAC disablement steps 2023-06-29 17:27:00 +02:00
Manuel Thalmann a96b4d6908 Re-enable RunOnce creation for new users 2023-06-29 15:05:06 +02:00
Manuel Thalmann c3f23e7e52 Add missing argument to SchTasks 2023-06-29 14:22:21 +02:00
Manuel Thalmann 1ae3f1f4b3 Refactor UAC enablement 2023-06-29 04:05:12 +02:00
Manuel Thalmann 7646cf7aae Forcefully shut down computer 2023-06-29 02:57:10 +02:00
Manuel Thalmann 77f8a1a03f Fix non-functioning scheduled task 2023-06-29 02:54:31 +02:00
Manuel Thalmann dfb723412a Fix incorrect script 2023-06-29 02:54:09 +02:00
Manuel Thalmann 039fb2a23e Fix quotation 2023-06-29 02:53:54 +02:00
Manuel Thalmann 29fa937e5f Reboot computer after preparation 2023-06-29 02:24:46 +02:00
Manuel Thalmann bc30ac9902 Try fixing UAC properly 2023-06-29 01:51:30 +02:00
Manuel Thalmann a7d203ff7c Clean up environment after personal user creation 2023-06-28 22:50:59 +02:00
Manuel Thalmann a241bba29a Add script for enabling autologin 2023-06-28 22:50:39 +02:00
Manuel Thalmann 7af7e8b15d Disable local admin during setup 2023-06-28 22:36:40 +02:00
Manuel Thalmann cc0e11860c Add a method for cleaning up artifacts during setup 2023-06-28 22:28:22 +02:00
Manuel Thalmann 1127a4e431 Add log messages 2023-06-28 22:10:23 +02:00
Manuel Thalmann f0cccee8e0 Change name of UAC disabler 2023-06-28 22:08:20 +02:00
Manuel Thalmann c7f514dd67 Disable scheduled task registration 2023-06-28 22:07:18 +02:00
Manuel Thalmann 082f7d990e Add missing semicolon 2023-06-28 22:06:46 +02:00
Manuel Thalmann abaf36b09d Refactor creation of scheduled task action 2023-06-28 22:06:35 +02:00
Manuel Thalmann f652689ff8 Force Scheduled Task Unregistration 2023-06-28 21:20:59 +02:00
Manuel Thalmann 27813bd1e9 Remove unnecessary statement 2023-06-28 13:43:20 +02:00
Manuel Thalmann 50b8511e9e Clean up handles during reg key handling 2023-06-28 13:40:56 +02:00
Manuel Thalmann 16eb9a01b0 Mute console output 2023-06-28 12:35:06 +02:00
Manuel Thalmann a926620e6d Fix incorrect code statement 2023-06-28 12:32:46 +02:00
Manuel Thalmann 4164a98600 Enable UAC during Microsoft Account login 2023-06-28 11:48:08 +02:00
Manuel Thalmann 99cab3f11c Rename user using PowerShell function call 2023-06-27 00:57:24 +02:00
Manuel Thalmann 2b423612c6 Rename user using wmic 2023-06-26 02:14:44 +02:00
Manuel Thalmann b36d4d5181 Allow disabling auto admin login 2023-06-25 18:48:13 +02:00
Manuel Thalmann 5e2fde00ad Disable auto login after user creation 2023-06-25 18:26:06 +02:00
Manuel Thalmann a92e413623 Add scripts for handling auto login 2023-06-25 18:25:52 +02:00
Manuel Thalmann 6700e4f318 Exit script after rebooting 2023-06-25 18:11:56 +02:00
Manuel Thalmann 6481c9898b Restart computer after creating personal user 2023-06-25 18:11:30 +02:00
Manuel Thalmann 232c6d1de4 Remove RunOnce key on deregistering 2023-06-25 18:10:23 +02:00
Manuel Thalmann 284dba9fc3 Unload registry hive after editing 2023-06-25 18:09:47 +02:00
Manuel Thalmann 9990fce5ab Create RunOnce key if inexistent 2023-06-25 18:05:55 +02:00
Manuel Thalmann 1843f455e8 Fix incorrect default user path 2023-06-25 17:57:23 +02:00
Manuel Thalmann 62968784d4 Fix key name for reg load 2023-06-25 17:57:06 +02:00
Manuel Thalmann 2c05bda390 Fix incomplete command 2023-06-25 17:02:44 +02:00
Manuel Thalmann 25d2353233 Fix registry editing commands 2023-06-25 17:01:38 +02:00
Manuel Thalmann 4dbbd1993f Fix non-functioning code 2023-06-25 16:54:10 +02:00
Manuel Thalmann 1eee5e69db Refactor registry value handling 2023-06-25 16:48:21 +02:00
Manuel Thalmann 6546f7b929 Return path to RunOnce key instead of item 2023-06-25 16:45:33 +02:00
Manuel Thalmann 9fbdc118d4 Fix non-functioning code 2023-06-25 16:33:04 +02:00
Manuel Thalmann a13b9f4cd1 Fix resolving of the RunOnce key 2023-06-25 16:28:12 +02:00
Manuel Thalmann df37f30eab Fix broken code statement 2023-06-25 16:14:08 +02:00
Manuel Thalmann 05478a43ef Allow parameterless handling of reboot registration 2023-06-25 15:36:58 +02:00