1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-24 07:30:22 +01:00
Commit Graph

58 Commits

Author SHA1 Message Date
Amrsatrio
fdc357b23f Setup: Reverted the method for ending explorer.exe and its subprocesses 2024-02-22 16:39:53 +07:00
Amrsatrio
cb3f9670d9 Build: Support for enabling WITH_ALT_TASKBAR_IMPL 2024-02-21 10:23:55 +07:00
Amrsatrio
9f9acfc74e Taskbar10: Turn off the code for loading the reimplemented taskbar on public builds for now 2024-02-21 09:40:06 +07:00
Amrsatrio
08dec82aec Setup: Slight fix in ProcessTaskbarDlls 2024-02-18 16:38:59 +07:00
Amrsatrio
dfe340d2f8 Taskbar10: Various fixes for 26052+ support 2024-02-18 14:11:58 +07:00
Amrsatrio
438eb1d443 Setup: Remove OwnerWindowWndProc that I forgot to remove 2024-02-17 23:25:11 +07:00
Amrsatrio
610ba7f919 Setup: Don't place wincorlib.dll on Windows 10 (#2829) 2024-02-16 02:20:11 +07:00
Amrsatrio
3a882c7745 Build: Upgrade PlatformToolset to Visual Studio 2022 (v143) 2024-02-14 06:11:23 +07:00
Amrsatrio
d4f36622c5 All: Update copyright year 2024-02-14 05:53:46 +07:00
Amrsatrio
296c6a0fed Setup: Cleaner uninstallation and cleaner code.
- .prev files should now only exist when the file to overwrite is in use, no longer all the time.
- During uninstallation, ep_setup now tries to delete `C:\Program Files\ExplorerPatcher` by moving the stored ep_setup.exe into %TEMP% for later deletion after Explorer starts again.
- When the uninstall confirmation dialog is open, subsequent `ep_setup.exe /uninstall` invocations should focus the existing dialog instead of making a new one.
- Reorganized the functions for a cleaner look and easier maintenance.
- Removed the files related to the original method for fixing the jump list menus in the Windows 10 start menu on Windows 11.
- Prepared the spots for the alternate taskbar implementation.
2024-02-14 03:36:36 +07:00
Amrsatrio
026f81695f Build: Add trailing backslashes to OutDir to fix warnings 2024-01-23 01:36:58 +07:00
Amrsatrio
b45f79f25d Setup: Reorganized resources 2023-11-12 14:00:35 +07:00
Amrsatrio
163b45228a L10N: Localized Setup 2023-11-12 11:50:55 +07:00
Amrsatrio
639d7aa5f1 GUI: Decoupled into ep_gui and added support for localization 2023-11-08 02:14:44 +07:00
Amrsatrio
a7c87ce37d Setup: Fixed uninstallation of EP installations that have went through upgrades before the proper Pin to Start fix ^2 2023-10-26 00:16:12 +07:00
Amrsatrio
845d2b55c9 Setup: Fixed uninstallation of EP installations that have went through upgrades before the proper Pin to Start fix 2023-10-25 21:25:27 +07:00
Amrsatrio
f027a36837 All: Prepared some headers for C++ 2023-10-17 14:15:30 +07:00
Amrsatrio
15c07a0530 Start10: Implemented proper fix for Pin to Start/Unpin from Start 2023-10-06 06:37:16 +07:00
Valentin Radu
0de81fdc68 Resources: Updated copyright info 2023-03-19 05:27:08 +02:00
Valentin Radu
1738b45866 Setup: explorer will restart using the token it was running under before starting application maintenance
The patch has been adapted to employ the old behavior when setup is
elevated using the same credentials, while using the updated code with
`CreateProcessWithTokenW` when otherwise.

Original description (via email):

"I have two accounts on my Windows machine: A normal one that is a
standard user (not admin) which I use as my main account where I have
ExplorerPatcher installed and configured, and an Admin account which is
 a Windows administrator account.

During installation and update the installer restarts itself and
requests admin privileges. For this I have to provide the password to
the Admin account. The installer then runs as that Admin user, stops
the explorer process, installs ExplorerPatcher and then tries to start
the explorer again. But the explorer never starts, which leaves me with
 an empty screen and a session without an explorer. I can then start a
Taskmanager via Ctrl + Shift + Esc and manually start the explorer, but
 this is annoying and maybe even frightening for a nontechnical user.

The reason why the explorer is not started again is that it is started
as the wrong user. It is started as the Admin user, which isn't logged
in so the explorer quits immediately.

The fix is to remember the user that the explorer was running under and
then start the new explorer for that user. I have tested these changes
in a Windows 11 virtual machine, by installing and uninstalling for a
standard user, as well as installing and uninstalling for an
administrator user."

Original patch: https://github.com/Abestanis/ExplorerPatcher/tree/fix_explorer_restart
Credit @Abestanis
2023-03-18 05:28:13 +02:00
Valentin Radu
8fd7c46db0 All: Substitute RegDeleteKeyW with RegDeleteTreeW
This is because the keys should be deleted regardless of whether they
contain subkeys or not.
2022-08-07 20:40:36 +03:00
Valentin Radu
83c2673007 Setup: Disable UndockingDisabled when servicing the application 2022-03-13 22:01:22 +02:00
Valentin Radu
fb204c7d3c All: Enable centered taskbar and Start menu options in Windows 10 2022-03-05 05:02:57 +02:00
Valentin Radu
b669b0aca4 Start: Fixed a bug that prevented the app from receiving settings change notifications when some registry keys were not available on the system 2022-03-04 00:34:52 +02:00
Valentin Radu
43acfc1235 Setup: Fixed /extract switch to extract ep_startmenu library 2022-03-02 00:45:43 +02:00
Valentin Radu
1b27199ecf Start menu: Make "Pin to Start" work from folder views when Windows 10 menu is enabled 2022-02-27 19:54:19 +02:00
Valentin Radu
fbd6ab591f Start: Functional Windows 10 Start menu 2022-02-25 00:19:25 +02:00
Valentin Radu
2cc9b0ed7f All: Fixes for Windows 10 2022-02-21 02:42:35 +02:00
Valentin Radu
b7a1ced429 Weather: Rearchitected component lifetime 2022-02-17 23:42:13 +02:00
Valentin Radu
f34c6540a6 Setup: Ensure file path for SHFileOperation is ended with 2 zeros 2022-02-17 22:52:46 +02:00
Valentin Radu
7bd1ad7a15 Setup: Implemented Start menu shortcut for "Properties" window 2022-02-14 02:46:51 +02:00
Valentin Radu
9d3e34cb89 ep_setup /extract extracts all components 2022-01-27 23:19:16 +02:00
Valentin Radu
5d4466147d Implemented weather taskbar widget 2022-01-27 04:35:27 +02:00
Valentin Radu
e5c4e8bf02 Moved ep_dwm as separate executable 2022-01-24 18:33:06 +02:00
Valentin Radu
7cc02b72d4 Option to disable rounded corners for windows 2022-01-21 13:06:46 +02:00
Valentin Radu
9c31c090dd Fixed #528 (2) 2021-12-15 03:31:42 +02:00
Valentin Radu
dfd703004c Fixed "DisplayVersion" not created in program uninstallation registry entry (microsoft/winget-pkgs/pull/37596) 2021-12-13 19:10:01 +02:00
Valentin Radu
4ec8cc10f7 Enlarge "DisplayVersion" buffer 2021-12-13 18:18:00 +02:00
Valentin Radu
9bfef43934 Fixed a stack corruption (#546) 2021-12-12 20:33:22 +02:00
Valentin Radu
cb5975d3a7 Fixes for Explorer restart and app servicing 2021-12-10 03:06:04 +02:00
Valentin Radu
28de475e51 Improved Explorer restart 2021-12-10 02:35:26 +02:00
Valentin Radu
d55307b248 Fixed #529 2021-12-09 18:16:21 +02:00
Valentin Radu
56b5c166ec Fixed #528 2021-12-09 17:52:01 +02:00
Valentin Radu
88e1355ddf Possibility to uninstall by renaming ep_setup.exe to ep_uninstall.exe and running that 2021-12-06 07:48:04 +02:00
Valentin Radu
7ba0ba1152 * Implemented virtualized registry access (so that complex behaviors can be employed but the existing lightweight GUI infrastructure is kept in place)
* Updated to latest sws.
* Fixed compilation in debug to produce a proper setup
* Updated branding for 2022.
2021-12-05 04:04:41 +02:00
Valentin Radu
112f4bf92d Changed ep_setup command line and default behavior 2021-11-19 18:57:32 +02:00
Valentin Radu
aff330cc08 Implemented /extract switch for ep_setup 2021-11-18 19:08:29 +02:00
Valentin Radu
725d5ad18f 22000.318.38:
* Functional Windows 10 network flyout
* Functional Windows 10 battery flyout
* Implemented support for Windows 7 battery flyout (#274)
2021-11-18 18:20:17 +02:00
Valentin Radu
59d1e452e4 Properties can open last used section when starting 2021-11-16 07:00:10 +02:00
Valentin Radu
8f9ecf68e4 Properties GUI is restarted after setup 2021-11-16 04:22:44 +02:00