Commit graph

408 commits

Author SHA1 Message Date
Alan Mason
e7dd6a1b54 PowerShell 6 on Win7 failed to build
Start-Process "" -Wait doesn't wait preventing proper extraction of tools.
See these issues:
* https://github.com/PowerShell/PowerShell/issues/2091  (Main issue)
* https://github.com/PowerShell/PowerShell/issues/3747
* https://github.com/PowerShell/PowerShell/pull/4463
2017-11-27 13:29:06 -08:00
Alan Mason
0c5912d345 Enable debug mode in PowerShell via %DEBUG% 2017-11-27 11:23:27 -08:00
Alan Mason
87ac27b5cc Moving to a new style guide for PowerShell scripts
Using this: https://poshcode.gitbooks.io/powershell-practice-and-style/
2017-11-26 14:42:27 -08:00
Alan Mason
1e41954f62 Added Build PE.cmd launch script
* Checks for elevation and relaunches script if necessary
* Checks for WADK installation and loads DandISetEnv.bat
  * This sets the proper variables
* Runs PowerShell in the same window to preserve DandI vars
2017-11-26 14:15:09 -08:00
Alan Mason
546dc77f03 v1.0.1 - WizardHat 2017-11-25 16:33:53 -08:00
Alan Mason
7a1616c8a7 Updated build_kit.ps1 2017-11-25 16:32:07 -08:00
Alan Mason
b8a088d3b6 2017-11: Retroactive Updates
* Network drivers disabled (for now until the sigs are manually verified)
* Replaced Notepad2-Mod with Notepad++
2017-11-24 21:15:32 -08:00
Alan Mason
1e02eb44a5 2017-08: Retroactive Updates
* Faster WIM creation
  * (Removed compression)
2017-11-24 21:13:50 -08:00
Alan Mason
50d53beef6 2017-04: Retroactive Updates
* Adjusted data loss waning
2017-11-24 21:12:54 -08:00
Alan Mason
827f9bce6a 2017-03: Retroactive Updates
Fixed using local windows images

* Bugfix: remove_volume_letters() was not preserving the "keep" letter
  * First issue: if keep==None then it would crash
  * Second issue: The passed keep value was outdated (See bugfix below)
* Bugfix: undesired call of assign_volume_letters()
  * prep_disk_for_formatting() resets the volume letters thus breaking local installs
  * By moving find_windows_image() to be called afterwards this is fixed but perhaps another refactor is in order?
2017-11-24 21:11:56 -08:00
Alan Mason
1da75165f9 2017-02: Retroactive Updates
* The working dir should now be X:\WK
  * Useful when quiting out of python to troubleshooting
* Safer setup and formatting cleanup
  * Backup summary is now more detailed
  * Setup messages now more closely match the backup messages
  * More checks are done during under format_gpt() and format_mbr()
  * Setup specific functions have been refactored for easier reading
* ConEmu settings update
  * No longer minimizes to the systray
    * This helps to prevent locking yourself out of the console
  * Added new color schemes
* Bugfixes and Formatting
  * Install Windows has been renamed Setup Windows to match function names
  * Setup Windows summary screen is more detailed now
  * Setup Windows drive formatting auth questions are now at the end
    * Also reworded warning
  * Bugfix: all regex calls now case insensitive.
    * i.e. You can answer yes with 'y' or 'Y' or 'Yes' now
2017-11-24 21:09:57 -08:00
Alan Mason
e05d2ce862 2017-01: Retroactive Updates
* Added get_volumes()
  * This makes Assign/Remove letters sections more readable
* Adjusted WinPE launch settings
  * Should now chdir to X:\WK
  * Added menu.cmd for easier (re)launching of menu
    * i.e. just type `menu`
* Enabled  user to return to the main menu after a major crash
* make.cmd: Changed iso names to match the Linux build names
* Refactored backup imaging code
  * More readable
  * More consistent variable naming
  * Moved classes and abort function to functions.py
* Refactored disk/partition info sections
* Refactored Windows Setup sections
  * Much more readable menu section
  * Majority of code moved to functions.py
  * More consistent variable naming
  * Boot mode detection now a callable function
  * Expanded WinRE section to match current recommended setup
    * WinRE is now setup for Legacy setups running Win8+
    * Problems during setup will again be reported as errors instead of warnings
  * Verify source windows images and abort if invalid
    * Allows for earlier aborts which will reduce wasted time
* Reordered functions to be in alphabetical order
* Updated tools
  * Enabled file/folder size display in Q-Dir
  * Switched back to the standard ConEmu (instead of the Cmder build)
  * Updated scripts for Python 3.6
    * This version has a different sys.path so the import code was adjusted
  * REMOVED Explorer++
  * REMOVED HWMonitor

* Bugfix: fixed discrepancies between x32 & x64
* Bugfix: relaunching the menu now stays in the current window
2017-11-24 21:08:39 -08:00
Alan Mason
93250b22ed 2016-10: Retroactive Updates
* HWiNFO added
* Q-Dir added
  * Perhaps a replacement for Explorer++
2017-11-24 21:07:03 -08:00
Alan Mason
8cf135d9eb 2016-09: Retroactive Updates
* Added WIM backup image verification phase
* WIM backup images now created much faster
  * This was done by not creating the extra integrity information
* Readded support for swm files
* ComEmu will now open in fullscreen mode without the titlebar
2017-11-24 21:05:40 -08:00
Alan Mason
29c1870957 2016-08: Retroactive Updates
## Major Update ##

* Converted all scripts to Python
* Replaced ConEmu with ConEmu-maximus5 from cmder
* Adjusted the menu so that entries are still aligned for lists of 10+
  * This applies to both numbered and lettered entries
* Can now select which MiniDump path to load for BlueScreenView
* General disks / volumes
  * Better detection of non-partitioned drives
  * Detect and store the partition MBR Type / GPT GUIDs
    * Added a Partition UID list for better identification of partitions
    * Hide the extra partition details if currently accessible
2017-11-24 21:04:39 -08:00
Alan Mason
cf4092f57b 2016-06: Retroactive Updates
* Don't load PowerShell profiles (-NoProfile)
  * This should reduce the startup time for most actions in WinPE
* MCT Windows 10 isos no longer have "Technical Preview" in the names
* make.cmd script simplified and now removes more language folders
2017-11-24 21:03:11 -08:00
Alan Mason
919c4e73a2 2016-04: Retroactive Updates
* Finished code for 32-bit and 64-bit builds
  * Unified scripts for use under both builds
2017-11-24 21:01:27 -08:00
Alan Mason
6818922ba8 2016-03: Retroactive Updates
* Started work on building 32-bit and 64-bit images
2017-11-24 20:59:32 -08:00
Alan Mason
4ed08ebb9b 2016-02: Retroactive Updates 2017-11-24 20:55:45 -08:00
Alan Mason
41272c03ab 2016-01: Retroactive Updates 2017-11-24 20:50:41 -08:00
Alan Mason
c7b5abb0bc 2015-12: Retroactive Updates 2017-11-24 20:48:55 -08:00
Alan Mason
18c2c4a961 2015-11: Retroactive initial commit 2017-11-24 20:47:02 -08:00
Alan Mason
537973fa90 v1.0.0 - WizardHat
## Major Update ##

* Build Kit.cmd
  * This script will build a fully functional kit requiring only PowerShell 3.0+ be installed prior.
* All launchers are now generated during builds and updates (by update_kit.py)
  * This allows for a much leaner code-base to manage
* Lots of bugfixes, cleanup, and other adjustments.
2017-11-23 20:45:15 -08:00
Alan Mason
d64dcca07d Updated README 2017-11-23 20:21:12 -08:00
Alan Mason
0b4b7a2bbb Saved the update to the wrong file.. 2017-11-23 20:21:01 -08:00
Alan Mason
d8d105c9ae Set core.autocrlf to false
* This should (hopefully) allow for tagged releases to have the correct line endings.
2017-11-23 15:24:53 -08:00
Alan Mason
964ec1e037 Adjusted free_space formatting 2017-11-23 15:13:33 -08:00
Alan Mason
b1fa59c32d Adjusted Activation menu
* If CS: exit_ecript(), else return to menu
2017-11-23 14:55:27 -08:00
Alan Mason
b02a62a917 Updated BIOS activation sections 2017-11-23 14:35:32 -08:00
Alan Mason
dcd5fa1b7a Added VCRedist install script and launcher 2017-11-23 13:54:04 -08:00
Alan Mason
9ba9ece589 Removing Visual C++ 2015 runtimes
* VCRedist 2017 installs as an update for 2015 (http://disq.us/p/1hjcta0)
  * This prevents installing or uninstalling the 2015 versions after installing 2017
  * (Because both 2015 and 2017 use these regkeys: HKEY_LOCAL_MACHINE(Wow6432Node|)\SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0)
2017-11-23 13:43:49 -08:00
Alan Mason
5dda9ea491 FIx BleachBit sections 2017-11-23 12:20:39 -08:00
Alan Mason
70c0868a4c Misc fixes 2017-11-23 12:20:06 -08:00
Alan Mason
0dc01f48cb Updated Notepad++ settings 2017-11-22 22:37:49 -08:00
Alan Mason
db55a6f2f1 Merge branch 'new-update-script' into develop 2017-11-22 22:16:47 -08:00
Alan Mason
2023ac959b Added ConEmu.png
* Placed in the root diretory for easy swapping before building the kit
* Build Kit.cmd copies the file into place
2017-11-22 22:16:30 -08:00
Alan Mason
e711258850 Updated SafeMode Enter & Exit scripts 2017-11-22 21:02:36 -08:00
Alan Mason
98b95cbcb5 Merge branch 'new-update-script' into develop 2017-11-22 20:58:59 -08:00
Alan Mason
9977ddf365 Made Ninite optional in install_sw_bundle 2017-11-22 20:58:42 -08:00
Alan Mason
6250ee8865 Copy Ninite files to Installers during update 2017-11-22 20:56:26 -08:00
Alan Mason
38cb129add Added confirmation to cbs_fix.py 2017-11-22 20:11:31 -08:00
Alan Mason
68aed8ff34 Fixed menus shown by select_disk()
* Also auto-selects the first disk (if it's the only one detected)
2017-11-22 20:11:07 -08:00
Alan Mason
2ddb878b54 Added confirmation to sfc_scan.py
* Should help avoiding undesired scans
2017-11-22 20:06:56 -08:00
Alan Mason
0416f83448 Fixed broken menus 2017-11-22 20:06:08 -08:00
Alan Mason
c78172ede0 Print script titles to start Python scripts 2017-11-22 19:34:17 -08:00
Alan Mason
62b338ac0a Adjusted BlueScreenView launcher 2017-11-22 19:07:57 -08:00
Alan Mason
3be83e1d0a Merge branch 'refactor-launch-cmd' into develop 2017-11-22 19:06:48 -08:00
Alan Mason
1c0b8b6b19 Bugfix: LaunchOfficeSetup
* Forgot to update %OFFICE_SERVER% to %OFFICE_SERVER_IP%
2017-11-22 19:05:55 -08:00
Alan Mason
76a1752454 Merge branch 'develop' into refactor-launch-cmd 2017-11-22 16:48:52 -08:00
Alan Mason
1011fef0ce Missing update to update.py 2017-11-22 16:47:55 -08:00