rizonesoft / Notepad3

Notepad like text editor based on the Scintilla source code. Notepad3 based on code from Notepad2 and MiniPath on code from metapath. Download Notepad3:
https://www.rizonesoft.com/downloads/notepad3/
Other
5.13k stars 336 forks source link

MSIX attributes in application manifest #4949

Closed homes32 closed 1 year ago

homes32 commented 1 year ago

Commit 7fe5558 introduces the msix attribute <msix xmlns="urn:schemas-microsoft-com:msix.v1" publisher="CN=Rizonesoft" packageName="RizonesoftNotepad3" applicationId="RizonesoftNotepad3"></msix> into notepad3.exe .manifest and MiniPath.exe.manifest

This causes the applications to become unusable in WinPE (using Portable.zip version) and will throw the following errors upon launch:

Win10: A specified logon session does not exist. It may have already been terminated. Win11: File system error (16385)

removing the msix attribute from the application manifest restores functionality in WinPE.

WinPE does not support the windows store or running Metro/WinRT/UWP applications.

If you do not plan to distribute notepad3 via the windows store I suggest that this attribute be removed from the application manifests. Otherwise is there another option or workaround that you are aware of?

Thank you!

hpwamr commented 1 year ago

removing the msix attribute from the application manifest restores functionality in WinPE. I suggest that this attribute be removed from the application manifests.

Hello @homes32 ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.23.731.1_rc.paf" or newer, see in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.23.731.1_rc_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

homes32 commented 1 year ago

Thank you! 6.23.731.1_rc resolved the issue. Tested on both Win10 2004 and Win11 22H2 builds.