Commit graph

223 commits

Author SHA1 Message Date
Adam Demasi
217d582ca4
Implement glassy Aero wizard header 2024-09-15 02:38:51 +09:30
Adam Demasi
4565d97e01
Make most of the project build as pure C 2024-09-12 15:00:25 +09:30
Adam Demasi
d5599538d5
Clean up package checking, use URL prefixes in Patches.ini 2024-09-12 15:00:25 +09:30
Adam Demasi
6809f7ba8c
Link to WUR when run on an incompatible OS 🤝 2024-09-12 14:59:57 +09:30
Adam Demasi
d5881502b4
Merge pull request #206 from renodr/fix-CI-and-w7
Build Fixes, CI Improvements, and Windows 7 fixes
2024-09-09 11:12:58 +09:30
Adam Demasi
ee599b673e
Split ActiveX and server into separate install sections 2024-09-08 14:07:21 +09:30
Adam Demasi
9934aaf6aa
Reduce size of launcher by using WUErrors table from main dll 2024-09-07 15:06:06 +09:30
Adam Demasi
151ee33d82
Move non-ActiveX responsibilities to a launcher exe 2024-09-07 15:03:41 +09:30
Adam Demasi
31df365609
Force DPI awareness in dllhost 2024-09-02 00:45:52 +09:30
Adam Demasi
3cfd266d23
Organise constants 2024-08-30 20:31:15 +09:30
Adam Demasi
76d46dfd5a
Skip runonce when service pack installation is ongoing
If we continue runonce while the service pack still has packages pending
install, we end up running the service pack installer again, and for whatever
reason this means we never get set up for runonce again. So we'll just
reconfigure runonce and quit straight away, knowing winlogon will let the
install continue, and reboot back to us again.

The downside is this prevents winlogon from displaying the "Installing Service
Pack" progress screen, instead leaving the user at an empty black SYSTEM
desktop. Not sure what to do about that yet.
2024-08-30 20:25:56 +09:30
Adam Demasi
ced5ee753c
Moar power 2024-08-26 01:32:10 +09:30
Adam Demasi
98d803eb53
Select XP 2002 SP3/2003 SP2 if selecting activation 2024-08-26 01:32:10 +09:30
Adam Demasi
e8d91add0c
Test Windows 7/8.1 to 10 upgrade 2024-08-26 01:32:09 +09:30
Adam Demasi
e15b20c99a
Disable Windows 8+ first logon animation temporarily 2024-08-26 01:32:09 +09:30
Adam Demasi
eaf0ddadf6
Add warning when OS build number is unexpected 2024-08-26 01:32:09 +09:30
Adam Demasi
2ce629b02f
Clean up ConfigureCrypto 2024-08-26 01:32:09 +09:30
Adam Demasi
3ca493da21
Clean up Exec/Install macros a little bit 2024-08-26 01:32:08 +09:30
Adam Demasi
1c06081766
Hide FirstUxWnd and enable Aero Basic
Because… reasons I wasted a few hours before I realised, this needs to be done
from a native process, and not a WOW process. (Who could have guessed
undocumented internal APIs have unexpected behavior?!) So this introduces an
x86_64 build of nsisplugin, whose sole responsibility is to be callable by
rundll32.

Also hides FirstUxWnd, added in Windows 7, which displays the “Setup is
preparing your computer for first use” message (7) or boot logo (8+).
2024-08-26 01:32:08 +09:30
Adam Demasi
6a38213429
Don't use SHA2 key to assume all SHA2 patches are present
Existing installs that received KB4474419, but not KB4490628 or KB3138612, could
be left with an old broken servicing stack.
2024-08-26 01:32:08 +09:30
Adam Demasi
87a3cd58ba
Clean up duplication of utility functions 2024-08-26 01:32:08 +09:30
Adam Demasi
910a9c2f1a
Fix hresult message having trailing \r\n 2024-08-26 01:32:07 +09:30
Adam Demasi
5c01220156
Switch to using winlogon setup mode for runonce 2024-08-26 01:32:07 +09:30
Douglas R. Reno
5ff3a937e4 Update the CI to use Version 2 of the toolchain.
The new version contains the widl command
2023-12-01 18:36:48 -06:00
Douglas R. Reno
c89f6e9c71 DownloadVista7.nsh: use the correct KB number for KB4490628 2023-11-21 22:18:53 -06:00
Douglas R. Reno
ceb3b8c630 build.yml: Move the 'export PATH=' statement down to before we run 'make'. 2023-11-21 22:05:17 -06:00
Douglas R. Reno
ae38802234 build.yml: Update the CI to use a custom-built version of MinGW.
This works around the segmentation fault that occurs when linking with
the version shipped with Ubuntu 22.04.
2023-11-21 21:52:56 -06:00
Douglas R. Reno
a5dfe5d47a setup/Makefile: Change to using a glob instead of a $(wildcard) statement.
This allows the copy to function correctly into the codebase/ directory.
2023-11-21 21:34:16 -06:00
Douglas R. Reno
90a76cd65f setup.nsi: Remove an extra debugging module from a previous commit.
This was put in place to help with determining the cause of the inverted
logic in the Windows XP activation check, but for a normal build isn't
needed anymore.

We may want to consider adding this back in in the future though, but for
now I'm removing this since it breaks the build.
2023-11-21 21:31:10 -06:00
Adam Demasi
69b66071e6
1.9 2023-11-21 13:43:18 +10:30
Adam Demasi
95d3bfa4c8
Extra readme note about VS's upgrade prompt 2023-11-21 13:43:18 +10:30
Adam Demasi
0ce1ac8cba
Fix Home Server 2011 showing up when 7 SP1 is already installed 2023-11-21 13:43:18 +10:30
Adam Demasi
9796bda2da
We do need to pass these flags to AddService2 2023-11-21 13:43:18 +10:30
Adam Demasi
1c6cafa56d
Add clean rules, add plugin signing, add codebase cab to the build 2023-11-21 13:43:18 +10:30
Adam Demasi
387b497752
Don't even do predownload at all on runonce 2023-11-21 13:43:18 +10:30
Adam Demasi
16529c04ef
Only pass firstrun flag when it's actually the very first run 2023-11-21 13:43:18 +10:30
Adam Demasi
c17cd8fc7c
Clean up unused patch 2023-11-21 13:43:17 +10:30
Douglas R. Reno
b8ac9df26a
Add support for Windows Home Server 2011 by fixing WUA and bugs (#152)
This installs Update Rollup 4, which resolves some problems with Windows
Update failures with previous WHS updates. In addition, it fixes a data
corruption bug that should be resolved on fresh installations.

The PowerPack updates for WHS 2007 are still available and seem to not
be required for Windows Update since the WUA issues were resolved in
previous commits.

Fixes #134
2023-11-21 13:43:16 +10:30
Adam Demasi
21af85c2fe
Avoid unnecessary push/pop in SetFont and SetControlColor 2023-11-20 03:22:09 +10:30
Adam Demasi
74b6b97c94
Add some output stuff to gitignore 2023-11-20 03:22:09 +10:30
Adam Demasi
f524e01d1e
Use a different approach for ActiveX flag prereqs check 2023-11-20 03:22:09 +10:30
Adam Demasi
41a7ddf728
Fix XP activation check logic being inverted 2023-11-20 03:22:09 +10:30
Adam Demasi
4b0f30322b
Add note about ActiveX being optional on Windows 7 - 8.1 2023-11-20 03:22:09 +10:30
Adam Demasi
2bcaaca1bf
Link the plugin against msvcrt.dll to reduce file size 2023-11-20 03:22:08 +10:30
Adam Demasi
60fc2ffda0
Update build instructions to reflect build env changes 2023-11-20 03:22:08 +10:30
Adam Demasi
799d3814ec
Replace w7tbp with our own cleaned up implementation 2023-11-20 03:22:08 +10:30
Douglas R. Reno
ea02908d46
Install the proper Service Pack and WUA for Windows XP Embedded (#147)
Fixes #73
2023-11-20 03:22:08 +10:30
Adam Demasi
3621e993f9
Make better use of functions and variables to reduce NSIS program size 2023-11-20 03:22:07 +10:30
Adam Demasi
643435cf62
Trying out adding an ActiveX codebase installer 2023-11-18 14:21:10 +10:30
Adam Demasi
b240f7f18f
Switch plugin from C++ to C to avoid the cost of the C++ runtime 2023-11-18 14:21:09 +10:30