No path to application after sideloading????

%3CLINGO-SUB%20id%3D%22lingo-sub-1381593%22%20slang%3D%22en-US%22%3ENo%20path%20to%20application%20after%20sideloading%3F%3F%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1381593%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%26nbsp%3B%20I%20hope%20I%20have%20the%20correct%20board%20for%20this%20post.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20finally%20created%20my%20signed%20app%20for%20sideloading%20so%20I%20can%20test%20it.%26nbsp%3B%20It%20installs.%26nbsp%3B%20I%20can%20run%20it%20via%20Start%20Menu%20fine.%26nbsp%3B%20The%20problem%20is%20I%20cannot%20see%20it%20in%20my%20%25PATH%25%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EC%3A%5CProgram%20Files%26gt%3Bwhere%20killerapp.exe%3CBR%20%2F%3EINFO%3A%20Could%20not%20find%20files%20for%20the%20given%20pattern(s).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BC%3A%5CProgram%20Files%26gt%3Bwhere%20cmd.exe%3CBR%20%2F%3EC%3A%5CWindows%5CSystem32%5Ccmd.exe%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20MSIX%20containerizes%20the%20app%20AND%20the%20apps%20get%20installed%20in%26nbsp%3B%25ProgramFiles%25%5CWindowsApps%20and%20that%20directory%20is%20not%20open%20for%20access%20by%20default.%26nbsp%3B%20%26nbsp%3BHow%20can%20I%20get%20around%20this%20as%20the%20app%20gets%20run%20from%20a%20external%20web%20page%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1381593%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eapps%20inaccessible%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMSIX%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPath%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindowsApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1384091%22%20slang%3D%22en-US%22%3ERe%3A%20No%20path%20to%20application%20after%20sideloading%3F%3F%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1384091%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F623751%22%20target%3D%22_blank%22%3E%40TuittiPazzi%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20use%20AppExecutionAlias%20to%20approximate%20adding%20your%20executable%20to%20the%20Path.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3E%26lt%3B%3CSPAN%20class%3D%22hljs-name%22%3EExtension%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22hljs-attr%22%3ECategory%3C%2FSPAN%3E%3D%3CSPAN%20class%3D%22hljs-string%22%3E%22windows.appExecutionAlias%22%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3E%26nbsp%3B%20%3CSPAN%20class%3D%22hljs-attr%22%3EExecutable%3C%2FSPAN%3E%3D%3CSPAN%20class%3D%22hljs-string%22%3E%22%5BExecutableName%5D%22%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3E%26nbsp%3B%26nbsp%3B%3CSPAN%20class%3D%22hljs-attr%22%3EEntryPoint%3C%2FSPAN%3E%3D%3CSPAN%20class%3D%22hljs-string%22%3E%22Windows.FullTrustApplication%22%3C%2FSPAN%3E%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3E%26nbsp%3B%20%26lt%3B%3CSPAN%20class%3D%22hljs-name%22%3EAppExecutionAlias%3C%2FSPAN%3E%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3E%26nbsp%3B%20%26nbsp%3B%20%26lt%3B%3CSPAN%20class%3D%22hljs-name%22%3Edesktop%3AExecutionAlias%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22hljs-attr%22%3EAlias%3C%2FSPAN%3E%3D%3CSPAN%20class%3D%22hljs-string%22%3E%22%5BAliasName%5D%22%3C%2FSPAN%3E%20%2F%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3E%26nbsp%3B%20AppExecutionAlias%3C%2FSPAN%3E%26gt%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3EExtension%3C%2FSPAN%3E%26gt%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3EThere's%20a%20section%20discussing%20this%20in%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fapps%2Fdesktop%2Fmodernize%2Fdesktop-to-uwp-extensions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fapps%2Fdesktop%2Fmodernize%2Fdesktop-to-uwp-extensions%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22hljs-tag%22%3EThanks!%3CBR%20%2F%3EJames%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1384945%22%20slang%3D%22en-US%22%3ERe%3A%20No%20path%20to%20application%20after%20sideloading%3F%3F%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1384945%22%20slang%3D%22en-US%22%3EThanks.%20I%20added%20appExecutionAlias%20to%20my%20package.appxmanifest%20file%20in%20VS%202019%2C%20but%20I'm%20getting%20an%200x80004005%20error%20trying%20to%20publish.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1437879%22%20slang%3D%22en-US%22%3ERe%3A%20No%20path%20to%20application%20after%20sideloading%3F%3F%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1437879%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F623751%22%20target%3D%22_blank%22%3E%40TuittiPazzi%3C%2FA%3E%20Your%20external%20web%20page%20could%20use%20the%20PowerShell%20interface%20to%20locate%20and%20start%20the%20app.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello.  I hope I have the correct board for this post.

 

I have finally created my signed app for sideloading so I can test it.  It installs.  I can run it via Start Menu fine.  The problem is I cannot see it in my %PATH%:

 

C:\Program Files>where killerapp.exe
INFO: Could not find files for the given pattern(s).

 

 C:\Program Files>where cmd.exe
C:\Windows\System32\cmd.exe

 

Since MSIX containerizes the app AND the apps get installed in %ProgramFiles%\WindowsApps and that directory is not open for access by default.   How can I get around this as the app gets run from a external web page?

 

Thanks

 

3 Replies

Hi @TuittiPazzi,

 

You can use AppExecutionAlias to approximate adding your executable to the Path.

 

<Extension Category="windows.appExecutionAlias"

  Executable="[ExecutableName]"

  EntryPoint="Windows.FullTrustApplication">

  <AppExecutionAlias>

    <desktop:ExecutionAlias Alias="[AliasName]" />

  </AppExecutionAlias>

</Extension>

 

There's a section discussing this in: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-extensions

 

Thanks!
James

Thanks. I added appExecutionAlias to my package.appxmanifest file in VS 2019, but I'm getting an 0x80004005 error trying to publish.

@TuittiPazzi Your external web page could use the PowerShell interface to locate and start the app.