Commit graph

65 commits

Author SHA1 Message Date
Alan Mason
cd3f3ed8d3 Always more cleanup 2017-12-01 12:02:05 -08:00
Alan Mason
90c4189942 Updated winpe_menus.py & cleanup
* Removed "Windows Family" logic
  * Win7 will now have recovery tools setup
* Added format_disk()
2017-12-01 11:05:40 -08:00
Alan Mason
deb7c76ffb windows_setup.py done 2017-12-01 10:12:59 -08:00
Alan Mason
33924c183e Updated find_windows_image() & setup_windows()
* Merged File and Ext dict entries
* Using psutil instead of mountvol
2017-12-01 09:59:19 -08:00
Alan Mason
c09d7ab603 updated functions\backup.py 2017-11-30 23:06:41 -08:00
Alan Mason
c951380482 functions\disk.py done 2017-11-30 23:06:23 -08:00
Alan Mason
a0460d6a82 updated select_disk() 2017-11-30 22:35:16 -08:00
Alan Mason
6903078ee0 updated prep_disk_for_formatting() 2017-11-30 22:19:31 -08:00
Alan Mason
fbedd79aa3 updated scan_disks()
* Renamed from get_attached_disk_info()
2017-11-30 22:10:45 -08:00
Alan Mason
e9ff02375f More letter updates 2017-11-30 21:52:51 -08:00
Alan Mason
deb1e8f4fd Volume letter updates
* Added reassign_letter()
  * Attempts to reassign a volume to better ensure predictable letters
  * i.e. Local Windows source volume letter == 'I'
* Adjusted code to avoid the "hidden" assign_volume_letters() call in select_disk()
2017-11-30 21:33:55 -08:00
Alan Mason
4ed6d41d10 Updated menu / title sections
* Added set_title() which sets window title and global_vars['Title']
* menu_select() will now display global_vars['Title'] above title
  * (If it exists)
  * Bugfix: fixed a few bad calls of menu_select()
2017-11-30 21:08:52 -08:00
Alan Mason
850a1fca73 updated menu_backup() 2017-11-30 20:31:46 -08:00
Alan Mason
b96e5f3be6 updated verify_wim_backup() 2017-11-30 20:31:37 -08:00
Alan Mason
7133089d31 updated select_backup_destination() 2017-11-30 20:03:19 -08:00
Alan Mason
c043c3398d Reordered functions 2017-11-30 19:56:42 -08:00
Alan Mason
67f08c5042 updated prep_disk_for_backup()
* Partition['Image Path'] is set to the full destination path
  * (i.e. ['Image Path'] + '\\' + ['Image File']
  * Partition['Image File'] variable has been removed
* Simplified ['Backup Warnings'] section
* Added fix_path()
  * Replaces unsupported characters/strings with underscores
2017-11-30 19:45:59 -08:00
Alan Mason
45f0b4d2b1 updated backup_partition() 2017-11-30 17:17:00 -08:00
Alan Mason
80cb9b8cea Function separation done.
* Split backup.py into disk & backup
  * disk.py is for lower level disk management
* Renamed functions\data.py's select_disk() to select_volume()
  * Avoid name collision with functions\disk.py's select_disk()
*
2017-11-30 16:40:40 -08:00
Alan Mason
9a3234c822 Simplified Windows share sections 2017-11-30 16:07:51 -08:00
Alan Mason
520cc4bca0 Merge branch 'dev' into python-overhaul 2017-11-30 16:00:27 -08:00
Alan Mason
d54c9da56f Set Notepad++ default font 2017-11-30 15:58:47 -08:00
Alan Mason
b5b03e4dfe Fixed notepad replacement 2017-11-30 15:19:43 -08:00
Alan Mason
a249cdeb7e Adjusted Notepad++ settings 2017-11-30 14:41:29 -08:00
Alan Mason
e136283a71 Added clear_screen() 2017-11-30 14:40:44 -08:00
Alan Mason
dd20cdd36e Renamed X:\WK to X:\.bin
* Allows functions\common.py to be used as-is
2017-11-30 13:40:22 -08:00
Alan Mason
446867b611 Started Python refactoring
# Plan
* Use current WizardKit scripts as the new base
* Split functions into multiple files under Scripts\functions\
* Review menus and menu-flow
* Log everything and open log at end of menu-flows
  * (before returning to the root/main menu)
2017-11-30 13:39:00 -08:00
Alan Mason
7c7008bdda Merge branch 'add-update-tools' into dev 2017-11-28 17:51:12 -08:00
Alan Mason
b689c33c96 Bugfix: Updating over current tools is working 2017-11-28 17:49:32 -08:00
Alan Mason
3e63a50f92 Drivers and Killer Drivers
* Add-WindowsDriver section to include extra drivers in WinPE
* Added Killer Network Driver to the download list
* Bugfix: $Drivers was not set properly
2017-11-28 17:48:52 -08:00
Alan Mason
cf69505c3f Merge branch 'add-update-tools' into dev 2017-11-28 14:59:45 -08:00
Alan Mason
7a58e6e859 Simplified tool downloads 2017-11-28 14:42:42 -08:00
Alan Mason
330b24641f Bugfix: REG_EXPAND_SZ keys now handled correctly 2017-11-28 14:40:43 -08:00
Alan Mason
675ff57f66 Simplified WinPE package installation 2017-11-28 14:39:33 -08:00
Alan Mason
c4ea4fcd24 Script can now download the tools 2017-11-28 02:10:49 -08:00
Alan Mason
bc33a7fcb3 Disable notepad replacement for now 2017-11-28 01:56:27 -08:00
Alan Mason
7ad26a6182 Fix Q-Dir extraction 2017-11-28 01:55:55 -08:00
Alan Mason
7048696367 Added the rest of the tools 2017-11-28 01:16:40 -08:00
Alan Mason
15c9839bec Added update section
* Needs testing
2017-11-27 23:42:15 -08:00
Alan Mason
8a438dce78 Added "Build PE.cmd" & "build_pe.ps1"
* Removed "make.cmd" since the above replace it
* Merged WK folders into a single _include folder
  * This is copied into place for both amd64 and x86
* Using a new method to replace notepad with Notepad++
2017-11-27 20:47:45 -08:00
Alan Mason
97319df29e Updated .gitignore 2017-11-27 20:42:44 -08:00
Alan Mason
e1536850a6 Removed make.cmd 2017-11-27 20:41:53 -08:00
Alan Mason
3ca0ab2079 Added WinPE.jpg 2017-11-27 20:24:17 -08:00
Alan Mason
613f4eee37 build_pe.ps1 updated and working 2017-11-27 20:24:04 -08:00
Alan Mason
23b7dc89ca Updated build_pe.ps1 2017-11-27 18:09:30 -08:00
Alan Mason
44514b2fef Initial PowerShell rewrite done. 2017-11-27 17:04:24 -08:00
Alan Mason
7b12a8ca91 Merged tool settings
Extra files for the tools are now stored in WK\_include and copied into place during the build.
2017-11-27 16:03:51 -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
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