Commit graph

37 commits

Author SHA1 Message Date
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
8da3aeff39
Support Windows 10 dark mode, Windows 11 Mica blur 2024-10-23 03:12:40 +10:30
Adam Demasi
06088da68d
Super final stuff 2024-10-14 04:13:58 +10:30
Adam Demasi
b542a45ebf
Filter out WOW64 flags Win2k doesn't like 2024-10-14 00:43:49 +10:30
Adam Demasi
675278e0b6
Scale wallpaper to fit display 2024-10-14 00:37:49 +10:30
Adam Demasi
e09ec99661
Allow skipping regserver in debug builds 2024-10-13 14:05:18 +10:30
Adam Demasi
01d4361ca4
Have the OS handle the runonce wallpaper for us 2024-10-08 21:26:11 +10:30
Adam Demasi
7133f4c2cd
Turns out GetVersion() is cursed 2024-10-08 19:26:06 +10:30
Adam Demasi
83af0d3a31
Load hresult message from our table only if FACILITY_WINDOWSUPDATE 2024-10-07 13:54:51 +10:30
Adam Demasi
49b29e76c4
Fix error messages not working
The docs say combining FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_FROM_HMODULE
should work. It doesn't 🤷‍♀️
2024-10-06 01:58:15 +09:30
Adam Demasi
03ca3df854
We can just compare the loword from GetVersion() 2024-10-06 01:43:14 +09:30
Adam Demasi
224b8b9c29
Stick to getting program files dir from the registry 2024-10-04 23:42:02 +09:30
Adam Demasi
2af8a74b67
Use version macros similar to WinVer.nsh 2024-10-02 20:19:44 +09:30
Adam Demasi
0693e6350e
More memory stuff 2024-10-02 17:34:14 +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
2ee33d9c53
Make hex error codes uppercase, remove title lines in braces 2024-09-30 16:57:22 +09:30
Adam Demasi
0848263d4f
Fix GetOwnVersion() freeing filename too soon 2024-09-30 16:57:19 +09:30
Adam Demasi
2771e9a5b5
Fix typo 2024-09-29 13:26:45 +09:30
Adam Demasi
3f08c003e6
Implement runonce background wallpaper 2024-09-29 03:31:06 +09:30
Adam Demasi
b556ed4a81
Port QueryWMIProperty() to C 2024-09-29 03:31:05 +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
803ef07635
Don't clobber IsUserAnAdmin() 2024-09-17 01:01:11 +09:30
Adam Demasi
fe2399bae4
Replace all malloc/free with LocalAlloc/LocalFree 2024-09-17 00:56:34 +09:30
Adam Demasi
6b676ed4d2
Cleanup 2024-09-16 19:48:17 +09:30
Adam Demasi
dfae86dc67
Handle getting install path via GetInstallPath() 2024-09-16 19:47:40 +09:30
Adam Demasi
e337ba7a5b
Fix GetPidForName under Windows 2000 RTM 2024-09-15 02:50:24 +09:30
Adam Demasi
4565d97e01
Make most of the project build as pure C 2024-09-12 15:00:25 +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
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
2bcaaca1bf
Link the plugin against msvcrt.dll to reduce file size 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