Adam Demasi
552c1bd418
Have reboot be done by the elevation helper
...
IE with low integrity doesn't seem to be able to get the shutdown privilege
(with good reason, I suppose). Do that from the elevated helper instead,
assuming one has been created. If not, just try doing it from the browser
anyway.
2024-12-12 00:27:29 +10:30
Adam Demasi
92e9514723
Shut down on Vista+ using InitiateShutdown()
...
This allows us to pass `SHUTDOWN_INSTALL_UPDATES`, which seems pretty important.
2024-12-12 00:04:51 +10:30
Adam Demasi
c139ecd196
I think we're meant to call CoInitializeEx() on launcher startup
2024-12-11 23:58:01 +10:30
Adam Demasi
02b09374b6
Cleanup bits
2024-12-11 23:55:33 +10:30
Adam Demasi
9494e9b8c1
Oops
2024-12-11 23:54:58 +10:30
Adam Demasi
8d1c727da6
Avoid IE medium integrity elevation request prompt
...
This prompt is showing up when the user clicks to open the WU options dialog,
when the site is not in the trusted zone. We can work around this by moving this
logic to the launcher, then marking LegacyUpdate.exe as trusted.
2024-12-11 16:47:29 +10:30
Adam Demasi
f0b70bf5f1
We aren't using nsis-pluginapi
2024-12-11 16:31:48 +10:30
Adam Demasi
2beb061e7d
Configure IE trusted site in both HKLM and HKCU
...
IE11 seems to ignore it when it's found in HKLM?
2024-12-11 16:31:13 +10:30
Adam Demasi
6b1cff11b7
Move BecomeDPIAware() to Compat.h
2024-12-11 16:29:33 +10:30
Adam Demasi
83b5916f28
Update readme with more (current) info
2024-12-11 16:29:05 +10:30
Adam Demasi
56b8166207
Remove obsolete updroots extract, fix vscollect logic
2024-11-13 23:53:11 +10:30
Adam Demasi
7a6ba19cb0
Fix url for Itanium KB4490628
2024-11-13 23:23:59 +10:30
Douglas R. Reno
c9a81b9699
Merge pull request #298 from renodr/renodr-winxp-server2k3-x64-activation-fix
...
Fix the activation check on XP and Server 2003 x64
2024-11-10 22:43:24 -06:00
Douglas R. Reno
bb35dc5ad7
Fix the activation check on XP and Server 2003 x64
2024-11-10 22:29:02 -06:00
Douglas R. Reno
adbbf6964b
Merge pull request #273 from renodr/renodr-new-CI-update-oct2024
...
Update the CI to the new toolchain update for October 2024
2024-11-10 22:27:55 -06:00
Douglas R. Reno
b6bfcfd316
Merge pull request #297 from renodr/renodr-fix-build-failure-IsXP2003
...
Fix a build failure due to a missing include
2024-11-10 22:27:31 -06:00
Douglas R. Reno
1a841a1c61
Fix a build failure by including the VersionInfo.h header.
...
Without this, we don't have the IsWinXP2003 macro, so we'll get a build failure.
2024-11-10 22:11:53 -06:00
Douglas R. Reno
894a565459
Fix up the URLs for the toolchain tarballs
2024-11-10 21:54:42 -06:00
Adam Demasi
93fdbe32f9
Be extra careful again about not finding WUA
2024-10-24 23:32:24 +10:30
Adam Demasi
52c46cd21b
Handle special case for Storage Server 2003 product name ( #243 )
2024-10-24 17:20:38 +10:30
Adam Demasi
364a05168b
Use compile-time rather than runtime checks in some macros
2024-10-24 17:20:37 +10:30
Adam Demasi
6f6f84dbb8
Add verbose logs
2024-10-24 17:20:37 +10:30
Adam Demasi
f0d8477987
Fix UAC dialog icon
2024-10-24 17:20:37 +10:30
Adam Demasi
2cdff22c79
Add startup function that hardens dll search paths
2024-10-24 17:20:37 +10:30
Adam Demasi
40eb029ef6
Switch to using GDI+
2024-10-24 17:20:36 +10:30
Adam Demasi
7e42c3a33b
Maybe workaround for WUA being downloaded wrongly on Windows 7
2024-10-23 10:45:50 +10:30
Adam Demasi
e5c90a3a19
Draw native AeroWizard title bar and command area backgrounds
2024-10-23 03:12:40 +10:30
Adam Demasi
8da3aeff39
Support Windows 10 dark mode, Windows 11 Mica blur
2024-10-23 03:12:40 +10:30
Adam Demasi
ef8d218771
Don't UPX-compress debug builds
2024-10-22 18:41:34 +10:30
Adam Demasi
3c013df88a
Fix funny blank lines that will bug me
2024-10-22 18:41:08 +10:30
Adam Demasi
e8c0308c37
Handle updating root certs ourselves
...
Eliminates dependency on updroots.exe, and way faster too.
2024-10-22 18:39:53 +10:30
Douglas R. Reno
7fd7a1f833
Continue even if unzip fails since there's nothing to decompress.
...
Hoping this gives us a clue as to why VS is failing.
2024-10-17 12:45:29 -05:00
Douglas R. Reno
eb5b2a9b54
Remove components from .vsconfig that are already included in the image
...
See
https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
for a list of components that are included. I'm trying to remove
variables to determine why Visual Studio isn't being setup correctly
2024-10-17 12:35:14 -05:00
Douglas R. Reno
6f4bba99d5
Comment out the instructions for exiting 1 from a Visual Studio install
...
failure.
If we need this, I'll debug it further and add it back in, but let's see
what kind of output we get otherwise.
2024-10-17 12:22:45 -05:00
Douglas R. Reno
c73358d665
Fix a logic bug in the CI
2024-10-17 11:52:38 -05:00
Douglas R. Reno
53d49c550e
Use another approach for determining if Visual Studio installed.
...
The version of Bash included with Ubuntu 22.04 has a bug with
redirections that I forgot about. What was there in the last commit was
syntatically correct and works fine locally, but not up in CI, so let's
try another approach.
2024-10-17 11:49:06 -05:00
Douglas R. Reno
71447018c5
Use a new approach for determining if the Visual Studio install failed.
...
Without this, we'll end up with unzip being unable to extract a ZIP file
if there are no logs (i.e. if the installation was successful), and as a
result we'll get a CI failure.
2024-10-17 11:34:53 -05:00
Douglas R. Reno
e4a44db2f0
Undo the CI hack in the Makefile for the launcher
...
This will allow a 64-bit copy of LegacyUpdate to be produced again, and
should help us determine if the problem that we're running into with CI
exists with the custom toolchain.
2024-10-17 11:20:30 -05:00
Douglas R. Reno
43000ceebe
Update the toolchain used in the CI to GCC 14.2.0, and add an x86_64
...
version.
Check out https://github.com/LegacyUpdate/mingw-for-legacy-update for
some basic information on how this was done.
We're doing this to work around segmentation faults in the versions of
MinGW/GCC provided by Ubuntu 22.04 in the CI system.
2024-10-17 11:18:59 -05:00
Douglas R. Reno
c2dca16f43
Add unzip to the programs installed by the CI
...
When the installer for Visual Studio fails, we're calling unzip to
decompress the logs. However, unzip isn't provided by default anymore
with Ubuntu, so we'll need to install it from apt first to avoid a
command not found error (and to get the ouptut that we're looking for)
2024-10-17 11:10:39 -05:00
Adam Demasi
06088da68d
Super final stuff
2024-10-14 04:13:58 +10:30
Adam Demasi
c171376516
Use thin divider lines under Aero
2024-10-14 03:54:22 +10:30
Adam Demasi
0c8500e03d
Switch to System.dll compatible with i486
2024-10-14 02:58:36 +10:30
Adam Demasi
9fa890ceed
Fix returning error when on registration fallback
2024-10-14 02:55:36 +10:30
Adam Demasi
8c45696954
Let's try yet another approach to the browser hwnd thing
2024-10-14 02:55:09 +10:30
Adam Demasi
5fd4dff7b8
Instead of doing funny stuff, just assume 0 is unexpected
2024-10-14 01:38:31 +10:30
Adam Demasi
c15edda0e5
Detect NNN4NT5
2024-10-14 01:26:09 +10:30
Adam Demasi
b542a45ebf
Filter out WOW64 flags Win2k doesn't like
2024-10-14 00:43:49 +10:30
Adam Demasi
9ab855367d
Try fallback with regsvr32 if direct registration fails
...
Works around #265 , sort of.
2024-10-14 00:41:56 +10:30
Adam Demasi
675278e0b6
Scale wallpaper to fit display
2024-10-14 00:37:49 +10:30