87 Commits

Author SHA1 Message Date
Pete Batard
2ee5f896d3 Add UEFI Shell bootable ISO downloads 2021-08-24 16:43:44 +02:00
Pete Batard
b7331f7873 Fix download of Windows 10 1507
* This versions uses weird SkuIds ('FQC-08932', 'FQC-08929', ...) that aren't integers...
* Closes pbatard/rufus#1769
2021-08-19 22:48:59 +02:00
Pete Batard
6160db3c66 Improve download handling for commandline
* Report the download size and handle errors
* Also improve exit code and verbosity handling
2021-08-15 13:44:38 +02:00
flx5
8b40c85d76 Add Commandline support
* Also fix a regression introduced by previous commit
* Closes #15
* Closes #24
2021-08-07 23:32:09 +02:00
Pete Batard
f70836e6c1 Split stages into separate function calls
* This is based on work done by flx5 in branch https://github.com/flx5/Fido
2021-08-06 22:39:34 +02:00
Pete Batard
af17001505 Add Windows 7 en-US ISO downloads
* Because why not?
2021-06-10 11:42:44 +01:00
Pete Batard
43adf47d5d Sign our script
* Because why not, and some folks might have policies where this could help.
2021-05-26 17:32:36 +01:00
Pete Batard
99f6f246b8 Add Windows 10 21H1 19043.985 builds
* https://support.microsoft.com/en-us/topic/windows-10-update-history-1b6aac92-bf01-42b5-b158-f80c6d93eb11
2021-05-22 17:34:07 +01:00
Pete Batard
36e9b4420c Remove DisableFirstRunCustomize related options
* No longer needed, since we are not invoking IE behind the scenes any more.
* Also update "fake" Firefox version range.
2021-05-22 13:35:51 +01:00
Pete Batard
6d630f83f2 Switch to basic parsing everywhere and perform our own DOM handling
* Addresses #19
* Also fix PowerShell 7.1.3 warnings
2021-05-13 14:10:12 +01:00
Pete Batard
ee0393cb74 Update version and copyright year 2021-01-30 02:55:42 +00:00
isos4all
a8abb94a16 Add Windows 10 20H2 19042.631 builds
* Microsoft updated 20H2 in December. Make sure we enable those downloads too.
* Closes #21
2021-01-30 02:53:59 +00:00
Pete Batard
15a48fe24f Fix script failure with PowerShell 7.x
* Won't help though, since Microsoft forcibly removed the ability to
  parse HTML in newer PowerShell, which we need...
* Also fix session variable not being set.
* Closes #19
2020-11-16 17:26:11 +00:00
Pete Batard
e0c1015ade Add Windows 10 20H2 19042.508 builds 2020-10-21 14:58:08 +01:00
Pete Batard
46c399ecd7 Add Windows 10 20H1 19041.264 builds
* Also enable going back on error
2020-05-27 22:13:51 +01:00
Pete Batard
aa378cad13 Fix handling of ' ' in product name
* Some locales (e.g. Russian) will return something like "Windows 10"
  for the product name which threw our JSON conversion off
* Also fix a typo
* Closes #12
2019-11-23 21:52:04 +00:00
Pete Batard
3c4fafa207 Add Windows 10 19H2 18363.418 builds 2019-11-12 22:57:50 +00:00
Pete Batard
a405ebf79c Add Windows 10 19H1 18362.356 builds
* Since Microsoft now appears to do "refreshes" of refresh versions...
* This is *NOT* 19H2, which has not been officially released as an ISO yet.
2019-10-30 12:39:56 +00:00
Pete Batard
e4645bfabc Add Windows 10 19H1 releases 2019-05-23 14:41:23 +01:00
Pete Batard
9769ff8a16 Fix a typo 2019-04-13 16:32:57 +01:00
Pete Batard
cedf215a9d Enable Chinese/Korean additional downloads according to locale
* Also remove downloads that don't appear to work such as COEM and Windows 8 LE
* Also ensure that error messages from Microsoft's response are used on error
  and are properly translated to UTF-8
2019-03-21 16:06:07 +00:00
Pete Batard
dd73cef3b4 Fix Invalid JSON primitive error when Simplified Chinese locale is used
* Closes #7
* Also make sure our console output uses UTF-8
* Also harmonize the listing of all the Windows 10 releases
2019-03-19 12:52:12 +00:00
Pete Batard
9c19e1c671 Speed up initial UI display by performing query locale check in stage 1
* UI display should now only be constrained by the time it takes to launch PowerShell
2019-03-18 11:09:54 +00:00
Pete Batard
bc488df01a Remove debug output and fix Readme 2019-03-16 23:48:39 +00:00
Pete Batard
775f80631e Fix x64 detection, Win7 PowerShell 3.0 prompt and other issues
* .Contains() cannot be used with PowerShell 2.0 (Win7 default), which prevents
  the prompt that asks users to install PowerShell 3.0 from being displayed...
* Fix LTR display of Windows Releases for RTL languages.
* $env:PROCESSOR_ARCHITECTURE reports the architecture of the PowerShell runtime
  rather than the one from the OS, meaning that when executed in 32-bit mode on
  a 64-bit system (like with Rufus) it will report X86 instead of AMD64.
  Use [Environment]::Is64BitOperatingSystem instead.
* Closes #5
2019-03-16 23:30:58 +00:00
Pete Batard
5f246fc1c1 Use our GUID for the session-id and remove the need for initial JS execution
* Credits go to whatever127 for the suggestion
* Also ensure that the "Please wait..." message displays for all server queries
* Closes #6
2019-03-16 17:13:05 +00:00
Pete Batard
6f8c9cb6ed Improve localization handling
* Fix XML conversion error when localized language data contains escaped characters
* Fix connection error when requested locale is not handled by Microsoft's servers
* Also simplify Arch detection and return codes
* Closes #2
* Closes #3
2019-03-13 00:40:47 +00:00
Pete Batard
4cebdef31a Use translated messages for the PS 3.0 prompt
* Also use "Close" instead of "Cancel" for the initial 'Back' button
2019-03-12 13:58:06 +00:00
Pete Batard
bd9475773c Improve compatibility with vanilla Windows platforms
* Add a notice about PowerShell 3.0 being required.
* Enable script to run on platforms without Microsoft.mshtml assembly.
* Add a -DisableFirstRunCustomize option to prevent an exception when
  the script is run on a platform where IE has never been launched.
* Also display a notice about Microsoft anti bulk download
2019-03-11 17:24:22 +00:00
Pete Batard
c6ac4acc4a Fix dialog not appearing on top when launched
* For ye who might be looking for this important piece of information:
  In System.Windows.Windows, the equivalent of System.Windows.Forms.Add_Shown()
  is System.Windows.Windows.Add_Loaded(). You can thank me later...
2019-03-06 18:11:12 +00:00
Pete Batard
ef9e43d1eb Remove testing/debug options and simplify parameter handling
* Also let external app close cookie prompt when a pipe is provided
  and use a more explicit Continue/Back scheme for button labels.
* Also add signature script
2019-03-05 12:19:30 +00:00
Pete Batard
efb7e7f03a Add an option to download with browser 2019-02-28 11:59:45 +00:00
Pete Batard
0482b66e3d Finalize script 2019-02-21 19:02:46 +01:00
Pete Batard
167569c043 Don't display special Korean/Chinese versions by default
* Also simplify some of the script
2019-02-20 16:08:57 +01:00
Pete Batard
3e56db88fa Add change button and improve localization handling 2019-02-19 12:21:11 +01:00
Pete Batard
39ea6dacf9 Add more products and clean things up 2019-02-11 17:19:46 +01:00
Pete Batard
b90569a1eb Rename to Fido and improve default dropdown selection 2019-01-16 01:37:24 +00:00