Douglas R. Reno
bb35dc5ad7
Fix the activation check on XP and Server 2003 x64
2024-11-10 22:29:02 -06:00
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
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
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
Adam Demasi
c171376516
Use thin divider lines under Aero
2024-10-14 03:54:22 +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
d66604b6b2
Allow TaskbarProgress to run on Vista
2024-10-13 14:05:21 +10:30
Adam Demasi
a234b98ea5
Use our own IsUserAdmin() that works on Win2k
2024-10-13 14:05:20 +10:30
Adam Demasi
9a097ac664
Detect invalid inputs to MessageForHresult
2024-10-13 14:05:20 +10:30
Adam Demasi
885ce2be64
Make progress bar red when install fails
2024-10-13 14:05:19 +10:30
Adam Demasi
a6e0eb8a58
NSIS internally uses status_update & 1
2024-10-13 14:05:19 +10:30
Adam Demasi
23ba2226f2
Scale banner logo with DPI
2024-10-13 14:05:18 +10:30
Adam Demasi
90e49ac64c
Only apply glow on the logo under true Aero
2024-10-08 21:34:51 +10:30
Adam Demasi
d27e779a97
Close IE windows before updating dlls
2024-10-08 02:31:52 +10:30
Adam Demasi
2af8a74b67
Use version macros similar to WinVer.nsh
2024-10-02 20:19:44 +09:30
Adam Demasi
2330eedcf9
Move GetInstallPath() impl to .c
2024-10-02 03:09:26 +09:30
Adam Demasi
cabfa03b16
Use a message table resource for the WU error strings
2024-10-02 02:14:51 +09:30
Adam Demasi
3f0120aa48
Not using WMI in nsisplugin any more
2024-10-01 21:09:30 +09:30
Adam Demasi
c99bd36cd1
Clean up stdafx stuff
2024-09-30 16:57:19 +09:30
Adam Demasi
7a35bf7b16
Use slc.dll for activation status on Vista+
...
The WMI approach is incredibly slow, taking around ~3000ms in my unactivated
Vista and 7 VMs, and activated 7 Core 2 Duo laptop. Using slc.dll directly takes
1300-1500ms on Vista, and interestingly, exactly 31ms on both 7 installs. (Why
is Vista still so slow here?)
2024-09-30 16:57:18 +09:30
Adam Demasi
06c12377cc
Add sanity check in PLUGIN_INIT()
2024-09-29 13:30:30 +09:30
Adam Demasi
0b5c3ea030
Implement proper activation check
2024-09-29 03:31:07 +09:30
Adam Demasi
a58523d81e
Use macros to clean up plugin methods
2024-09-29 03:31:06 +09:30
Adam Demasi
3f08c003e6
Implement runonce background wallpaper
2024-09-29 03:31:06 +09:30
Adam Demasi
2530c668be
Fix leaking BSTRs
2024-09-26 22:40:19 +09:30
Adam Demasi
1c8cbeb5e9
Always use our (ns)Exec
2024-09-20 19:09:39 +09:30
Adam Demasi
0f093253d4
Fix classic dialog appearance
2024-09-20 18:43:31 +09:30
Adam Demasi
2de072ef88
Trying out directly using Dism to install updates
2024-09-20 18:43:31 +09:30
Adam Demasi
2d5fb4d62a
Fix some leaks
2024-09-20 18:43:30 +09:30
Adam Demasi
382f71070a
Move dll registration to launcher
2024-09-20 18:41:10 +09:30
Adam Demasi
fe2399bae4
Replace all malloc/free with LocalAlloc/LocalFree
2024-09-17 00:56:34 +09:30
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
151ee33d82
Move non-ActiveX responsibilities to a launcher exe
2024-09-07 15:03:41 +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
87a3cd58ba
Clean up duplication of utility functions
2024-08-26 01:32:08 +09:30
Adam Demasi
69b66071e6
1.9
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
2bcaaca1bf
Link the plugin against msvcrt.dll to reduce file size
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
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
Adam Demasi
4ceb601706
Introduce our own NSIS plugin, replacing FindProc and EnableMU
2023-11-18 14:21:09 +10:30