Commit graph

100 commits

Author SHA1 Message Date
Timothy Sutton
965bfedf4c update changelog 2022-11-09 18:16:54 -05:00
Timothy Sutton
986765e25f typo 2022-11-09 18:16:44 -05:00
Timothy Sutton
e4dce79673 master -> main, CI on push 2022-11-09 18:09:01 -05:00
Timothy Sutton
2073086d71 No longer use /usr/bin/python for shebang 2022-11-09 18:07:43 -05:00
Timothy Sutton
0db4e9dbf0
Requests for 7zip (#76)
* Add option in downloadFile to use requests, so it'll pull in certifi

* Add requirements for requests, freeze all deps
2022-11-09 18:04:58 -05:00
Timothy Sutton
35b074b451
GitHub Actions (#62) 2022-11-09 15:30:13 -05:00
Timothy Sutton
90c7eb00f6
Merge pull request #74 from timsutton/update-packaging
Updates for 0.2.5
2022-11-07 08:34:34 -05:00
Timothy Sutton
d1361f706c Update CHANGELIST 2022-11-07 08:33:24 -05:00
Timothy Sutton
62ed4c71a6 Add --version option
- bump version to 0.2.5
- update Windows build script with reference to newer PyInstaller
2022-11-07 08:30:23 -05:00
Timothy Sutton
a66ade95a9 Bump 7-zip version to 2201 2022-11-06 20:40:59 -05:00
Timothy Sutton
fa6d26b49f
Merge pull request #30 from aweichman/master
Updating for linux.
2021-04-26 10:19:23 -04:00
Timothy Sutton
78e0a493a0
Merge pull request #51 from aaronkennedy/master
Update default sucatalog to Big Sur
2021-04-26 10:05:25 -04:00
Aaron Kennedy
2a6d65692a Update default sucatalog to Big Sur 2021-04-25 15:09:06 +10:00
Timothy Sutton
e7922c7d32
Merge pull request #39 from theaquamarine/powershell
PowerShell port of script
2019-12-14 13:34:46 -05:00
Timothy Sutton
06e23d3a93
Merge pull request #32 from makusu2/master
Support for System32 subdirectories
2019-08-29 19:58:33 -07:00
blue
fbe42d25d8 Rename PowerShell version to brigadier.ps1
Matches python/exe version, plus it doesn't just Get-Bootcamp.

Also updates examples.
2019-07-27 14:42:36 +01:00
blue
3749683a80 Add Comment Based Help to PowerShell version
Also updates the default download URLs for catalog/7zip to current.
2019-07-27 14:42:35 +01:00
blue
856c671207 Use CIM cmdlet, trim whitespace 2019-06-16 16:54:14 +01:00
blue
0c813c9ab4 Support ProductID filtering 2019-06-16 16:50:18 +01:00
blue
455550864c Fix 7-Zip install code 2019-06-16 16:17:37 +01:00
blue
9600a25266 Simplify extraction 2019-06-16 16:14:24 +01:00
blue
6d7020e8ea Don't redownload package if already done
Match file found against size from catalog, warn if it doesn't match.
2019-06-16 15:56:04 +01:00
blue
3b240d6fab Always clean up working directory 2019-06-16 15:55:25 +01:00
blue
5d0b7dff4e Stop download if final destination exists
Python automatically deletes it, but that seems unwise? Warn instead.
2019-06-16 15:54:28 +01:00
blue
51c0e0c301 Change save locations to act more like Python
Script will now download and unpack in $env:Temp and output final result
to $pwd\BootCamp-$Version like Python Script

Python uses a randomly generated directory in temp, but use a
predictable one to allow us to check if .pkg is already downloaded and
skip if so.
2019-06-16 15:30:53 +01:00
blue
344de3b871 Handle not finding any matching ESDs 2019-06-16 14:44:16 +01:00
blue
561ec98741 Add progress messages during usage
With $ProgressPreference = "SilentlyContinue" set, the script often
looks like it's hung. Inform the user what's going on more often,
particularly for slow actions.
2019-06-16 14:44:16 +01:00
blue
a55697dadc Use System.Version for version comparisons 2019-06-15 18:55:32 +01:00
blue
4fb8a3e54d Make ESD matching a bit easier to follow
Also add ESD version to package info
2019-06-15 18:55:24 +01:00
blue
d2e5319176 Simplify selecting which ESD to download
No need to pick newest manually, just sort the list by date.

Also builds a hash table of package's properties rather than just
looking for a string ending in '.pkg'
2019-06-15 18:53:31 +01:00
nathanmcnulty
e0d3a79951 Merge in changes from Get-Bootcamp script in #24
A version of the script is in a comment on #24, merge in differences.
https://github.com/timsutton/brigadier/issues/24#issuecomment-295011284
2019-06-15 14:24:32 +01:00
blue
43592ade61 Remove Install-Bootcamp.ps1
Redundant file, replaced by Get-BootCamp.ps1; commits kept for history.
(see a3291851eef98ee247194b1ddd1126fe92ae012a)
2019-06-09 19:42:03 +01:00
nathanmcnulty
acbe9c2a1e Initial commit of working script
Changed from the previous Install-Bootcamp.ps1 file as the default behavior now follows Tim's script in more areas. By default, this will now download the Bootcamp installer to the desktop rather than installing by default (hence Get- instead of Install-). It now requires the -Install argument to actually perform the installation.
2019-06-09 19:41:46 +01:00
nathanmcnulty
33c77bdb7b First revision of working script
Changed to BITS transfer for performance, removed dmg2img dependency,
fixed a couple of errors, and moved BootCamp extract to root of drive to
fix issues with DISM commands that Apple hardcoded to use
C:\$WinPEDriver$ as source for WinRE injection
2019-06-09 19:41:46 +01:00
nathanmcnulty
4def8e51dc Finish basic code
This should be functioning. Still need to test and validate on a Mac.
Once working, will add in additional params.
2019-06-09 19:41:46 +01:00
nathanmcnulty
b4ef22bd98 Initial commit
Left off on parsing the sucatalog and dist files to select the right PKG
2019-06-09 19:41:46 +01:00
Pitts
733e8d50ef Check for if PWD is in a folder inside System32 (not just System32 itself), since many sysprep scripts will be executing out of an inner folder 2018-10-12 10:29:39 -04:00
Adam
49a9878890 Updating for linux. 2018-07-11 16:58:44 -07:00
Timothy Sutton
c38e1beb71 Update docs and declare 0.2.4 2016-03-24 11:17:20 -04:00
Timothy Sutton
61ff50be83 No more dmg2iso 2016-03-19 00:37:13 -04:00
Timothy Sutton
70e0f8443b Update CHANGELIST 2016-03-07 16:02:09 -05:00
Timothy Sutton
acc7e64964 Bump to version 0.2.3 2016-03-07 15:57:13 -05:00
Timothy Sutton
6e856bada5 Update 7-Zip to 15.14 2016-03-07 15:55:48 -05:00
Timothy Sutton
6aad8ecf6d Update default sucatalog to El Cap 2016-03-07 15:55:05 -05:00
Timothy Sutton
ffef49cd0c Merge pull request #14 from macjustice/master
Change msiexec flag to prevent modal dialog
2016-03-07 11:26:14 -05:00
Timothy Sutton
5255c88ef4 README update about the broken state of things 2015-09-28 14:33:06 +02:00
Timothy Sutton
5451ce920d Merge pull request #18 from flammable/master
Changes example plist to 10.10 catalog.
2015-08-27 19:01:28 -04:00
Mike Solin
80cbc3458b Changes example plist to 10.10 catalog. 2015-08-27 17:32:53 -04:00
Mac Justice
b99e987d7e Change msiexec flag to prevent modal dialog
In testing Brigadier with W8.1, we found that the modal created by msiexec was halting execution. Following TechNet's msiexec docs (linked below), we found that /qb or another UI level that didn't include a modal dialog would complete successfully.

https://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx#BKMK_SetUI
2015-07-07 17:48:37 -07:00
Timothy Sutton
db28598889 Prettier changelog 2015-06-04 11:13:56 -04:00