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

66 Commits

Author SHA1 Message Date
Amrsatrio
5094108275 Setup: Always unpack StartUI stuff on 22H2+ 2024-09-01 18:39:10 +07:00
Amrsatrio
a8bd290977 Taskbar10: Add support for loading ep_taskbar on Windows 10 1904x 2024-09-01 01:30:30 +07:00
Amrsatrio
3c50ea3c68 Setup: Unpack Windows.UI.ShellCommon only on builds without StartUI shipped 2024-08-02 02:16:41 +07:00
Amrsatrio
c127c0573c Build: Disable encryption 2024-07-31 21:08:20 +07:00
Amrsatrio
b4731146a2 Setup: Bundle pnidui.dll and StartUI.dll due to uncertainties in MS' symbol servers 2024-07-31 20:38:58 +07:00
Amrsatrio
7e0f7ebc22 Setup: Add pnidui.dll and 10 start menu resources.
Also updated the code for dealing with locked files.
2024-07-31 19:08:46 +07:00
Amrsatrio
c0201ff442 Build: Try to fix ep_make ^2 2024-07-24 15:45:31 +07:00
Amrsatrio
30579b0238 Setup: Revised the method for bundling files in the setup binary.
Now with preserved file names, compression, and encryption.
2024-07-23 23:40:54 +07:00
Amrsatrio
8c16a9a0d9 Updates: Re-add changes in 80592f6 2024-07-14 19:04:58 +07:00
Amrsatrio
5d0d218d38 Setup: Block ARM64 devices from running the x64 setup 2024-07-14 17:29:37 +07:00
Amrsatrio
57f63ad56f Work on ARM64 shell extension support 2024-07-13 20:50:37 +07:00
Amrsatrio
992b3a60cd All: Preliminary ARM64 support 2024-07-11 09:31:06 +07:00
Amrsatrio
146070da76 Build: Include ep_taskbar in official builds 2024-07-09 07:02:16 +07:00
Valentin Radu
80592f666d Updates: Support for ep_make 2024-05-13 10:47:30 +03:00
Amrsatrio
0589a251c1 Setup: Moved uninstallation prompt dialog existence check to the GUI 2024-03-13 07:18:48 +07:00
Amrsatrio
fdc357b23f Setup: Reverted the method for ending explorer.exe and its subprocesses 2024-02-22 16:39:53 +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
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
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
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