Commit Graph

5 Commits

Author SHA1 Message Date
Micah R Ledbetter
202851cb2d Make postinstall scripts more robust
(Still having problems, but I'm knocking them out one by one)

- Enable UAC in win81x86
- Throw if my scripts don't pass syntax check BEFORE running Packer
- Make the postinstall scripts more robust in general
- Add more robust Invoke-ExpressionEx, remove Invoke-ExpressionAndLog
- Simplify win-updates.ps1. Don't duplicate code.
- Use scheduled tasks instead of registry keys for running postinstall
  commands after reboots
2015-11-13 18:43:43 -06:00
Micah R Ledbetter
72059d3d80 Big list of changes.
Status:
- ALMOST completely working in win10!
- Escept somehow my RestartRegistryEntry stuff broke?? Fuck

Scripts:
- Test PS syntax of all scripts before running buildlab
- Add Invoke-ScriptblockAndCatch and Write-ErrorStackToEventLog
- Move more bullshit to the slipstream module
- Improve Get-RestartRegistryEntry
- Fix Install-SevenZip
- Fix Compress-WindowsInstall
- Add ability to disable systray icon hiding
- Add ability to disable IE first run customization
- Add Set-PinnedApplication
- Add Set-AllNetworksToPrivate - required for Windows 10

win10 changes:
- Vagrant templates: enable accelerated video, clipboard, d&d
- packerfiles: enable clipboard, d&d
- Autounattend.xml files: enable UAC

Other
- Update documentation
2015-11-11 15:50:37 -06:00
Micah R Ledbetter
8a999fdd58 Reliably start WinRM, support Win10x86, fix other
Big features:

- Reliably start WinRM now!!
- Support Windows 10 x86!

Smaller features

- Improve README
- Don't power off the (virtual) monitor to save power
- Add Invoke-ScriptblockAndCatch and use it in postinstall scripts

Fixes and reorgs:

- Move all the packer stuff inside the packer/ directory
- Break out possibly-nonfunctional slipstream stuff to its own module
- Clean up broken bits in buildlab
- Clean up vestigial bits in wintriallab-postinstall
- Fix lots of broken pieces after encountering them one by one
- Fix RestartAction stuff in autounattend-postinstall
2015-11-02 17:27:46 -06:00
Micah R Ledbetter
776a5f7744 windows-trial-lab:
- Convert everything to spaces (fuck you VS Code)
- Some initial work to stop relying on Get-LabTempDir
- Trying to delete as much code as possible
- Define constants all at the top of the file
- Improve Get-WebUrl
- Improve and simplify architecture handling
- Move some more functions to native Powershell from shellouts
- Add some functions for dealing w/ Windows Updates
2015-10-02 19:39:59 -05:00
Micah R Ledbetter
1230ab9829 Got something working - I can build Win 8.1 x86 boxes!
- Add new script for building the Packer boxes called labbuilder.ps1
- Rearranged the hierarchy (my new script relies on the new hierarchy)
- Working windows_81_x86 folder
- Moved old packer-windows stuff to legacy-packer-windows directory.
  I plan to move it over piece by piece
- Added a script to install 7zip that the other post install scripts can
  depend on
- Fixed compact.bat & vm-guest-tools.bat to use 7zip installer
- Fixed compact.bat to work with 32 bit machines
- Added a readme
2015-09-17 16:56:39 -05:00