Removing long path awareness from read-only app manifest?


klepp0906

Member
Local time
6:53 AM
Posts
39
OS
Windows 11
I can usually muscle through a lot of these types of things. this one has me stumped though.
I'm trying to run calibre-portable however the developer has hard-coded a path limit to save himself from potential support inquiries it appears. He has been steadfast in complete refusal and dismissal to allow the user to continue after a warning or some such, let alone disable it entirely.

It worked up until the newest iteration of calibre 4x to 5x at which point it was changed.
the best ive come up with was some mention of writing ones own manifest to circumvent the brick wall/error about character limits/path limits.
I'm no programmer, you wont catch me writing anything except for the most rudimentary of batch files or robocopy scripts.

Accessing the existing manifest within the executable was easy enough which appears to contain the line
Code:
<ws2:longPathAware>true</ws2:longPathAware>
which i'm assuming that if changed to
Code:
<ws2:longPathAware>false</ws2:longPathAware>
will circumvent the restriction.
I could be entirely off base of course. Someone here would know better than I.

That being said, the two scenarios ive managed to run up against at current are either A) being able to extract the manifest and edit it, with no way to re-package it or B) attempting to edit it in-situ but being rebuked due to being flagged read-only.

Anything within reason I can do? I'm attempting to run/place calibre portable in my dropbox folder and its simply not having it.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Intel i7 9900K
    Motherboard
    Asus Maximus X Formula
    Memory
    64GB G.Skill DDR4
    Graphics Card(s)
    EVGA 2080ti
    Monitor(s) Displays
    U2718Q
    Screen Resolution
    4K
    Hard Drives
    2TB Samsung 970 EVO Plus
    1TB Samsung 970 EVO Plus
    ~200TB worth of spinners in a DAS via LSI HBA
    PSU
    EVGA 1500 supernova
    Case
    Corsair 900D
    Cooling
    Custom Water
    Keyboard
    Razer Blackwidow Chroma v2
    Mouse
    Razer Naga Trinity
    Internet Speed
    Gigabit Fiber
    Browser
    Brave

klepp0906

Member
Thread Starter
Local time
6:53 AM
Posts
39
OS
Windows 11
Figured out how to edit it, well replace it more or less using Resource Hacker. Unfortunately it still presents the path limit error. Obnoxious.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Intel i7 9900K
    Motherboard
    Asus Maximus X Formula
    Memory
    64GB G.Skill DDR4
    Graphics Card(s)
    EVGA 2080ti
    Monitor(s) Displays
    U2718Q
    Screen Resolution
    4K
    Hard Drives
    2TB Samsung 970 EVO Plus
    1TB Samsung 970 EVO Plus
    ~200TB worth of spinners in a DAS via LSI HBA
    PSU
    EVGA 1500 supernova
    Case
    Corsair 900D
    Cooling
    Custom Water
    Keyboard
    Razer Blackwidow Chroma v2
    Mouse
    Razer Naga Trinity
    Internet Speed
    Gigabit Fiber
    Browser
    Brave
Top Bottom