SOLVED

missing .lnk shortcuts shortcut from MSIX package

%3CLINGO-SUB%20id%3D%22lingo-sub-1039631%22%20slang%3D%22en-US%22%3Emissing%20.lnk%20shortcuts%20shortcut%20from%20MSIX%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1039631%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emy%20application%20has%204%20shortcuts.%203%20shortcuts%20launch%20the%20.chm(help%20file)%20and%201%20shortcut%20opens%20a%20vendor%20website.%20I%20am%20now%20converting%20this%20application%20to%20MSIX.%20during%20conversion%2C%20on%20first%20launch%20window%20I%20can%20not%20see%20any%20shortcuts.%20when%20I%20try%20to%20add%20them%20%2C%20I%20can%20see%20only%20.exe%20files.%20unable%20to%20add%20my%20shortcuts.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ecan%20you%20please%20help%20me%20here%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1040732%22%20slang%3D%22en-US%22%3ERe%3A%20missing%20.lnk%20shortcuts%20shortcut%20from%20MSIX%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040732%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F472646%22%20target%3D%22_blank%22%3E%40Archana2612%3C%2FA%3EHi.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20MSIX%20you%20don't%20technically%20have%20shortcuts%2C%20you%20have%20Applications.%20These%20can%20only%20target%20.exe%20files%2C%20that%20is%20why%20you%20can't%20add%20you%20.chm%20or%20website%20as%20a%20shortcut.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20an%20alternative%2C%20in%20Advanced%20Installer%2C%20we%20are%20launching%20the%20applications%20via%20a%20custom%20stub.exe%2C%20thus%20making%20it%20possible%20to%20add%20websites%20or%20chm%20files.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041195%22%20slang%3D%22en-US%22%3ERe%3A%20missing%20.lnk%20shortcuts%20shortcut%20from%20MSIX%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041195%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F472646%22%20target%3D%22_blank%22%3E%40Archana2612%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20found%20it%20necessary%20to%20use%20the%20Package%20Support%20Framework%20(PSF)%20as%20a%20solution%20to%20migrating%20traditional%20installers%20that%20create%20shortcuts%20pointing%20to%20non-exe%20files%2C%20as%20well%20as%20those%20that%20have%20command%20line%20arguments.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20extended%20the%20PSF%20to%20support%20these%20use%20cases%20earlier%20this%20year.%26nbsp%3B%20In%20essence%2C%20your%20shortcut%20(perhaps%20we%20should%20use%20the%20term%20%22entry%20point%22%2C%20although%20I%20think%20the%20ultimate%20result%20is%20called%20a%20%22start%20tile%22)%20would%20point%20to%20a%20copy%20of%20PsfLaunch%20and%20a%20config.json%20file%20would%20be%20used%20to%20tell%20PsfLaunch%20what%20to%20do.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20a%20developer%20building%20a%20MSIX%20package%2C%20these%20are%20just%20components%20to%20add%20in%2C%20although%20if%20you%20want%20an%20icon%20for%20that%20start%20tile%20you'll%20have%20to%20add%20it%20into%20PsfLaunch%20executable.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20repackaging%20an%20existing%20installer%20into%20an%20MSIX%20package%20(something%20IT%20Pros%20do)%2C%20you%20use%20a%20packaging%20tool%20like%20the%20Microsoft%20MSIX%20Packaging%20tool%20(or%20one%20from%20a%20Microsoft%20partner%20such%20as%20above%20that%20includes%20a%20version%20of%20the%20PSF).%26nbsp%3B%20With%20the%20Microsoft%20tool%2C%20you'll%20need%20to%20add%20the%20PSF%20yourself%2C%20but%20up%20in%20the%20Microsoft%20Store%20you%20can%20also%20find%20an%20additional%20tool%20I%20built%20to%20help%20called%20PsfTooling.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20free%20tool%20is%20used%20while%20in%20monitoring%20mode%20of%20the%20packaging%20tool%20to%20inject%20and%20configure%20the%20PSF%20for%20you.%26nbsp%3B%20You%20run%20the%20traditional%20installer%20for%20your%20package%2C%20then%20run%20PsfTooling.%26nbsp%3B%20In%20PsfTooling%20select%20the%20shortcut%20wizard%20and%20pick%20your%20shortcuts.%26nbsp%3B%20It%20automatically%20will%20figure%20out%20how%20to%20launch%20the%20original%20intent%20of%20your%20shortcut%20in%20MSIX%20land.%20While%20there%20are%20options%20to%20inject%20additional%20fixups%20in%20that%20wizard%2C%20y%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23333333%3B%20cursor%3A%20text%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3Eou%20won't%20need%20those%20if%20all%20you%20want%20is%20to%20fix%20these%20shortcut%20issues.%3C%2FSPAN%3E%26nbsp%3B%20Apply%20the%20changes%2C%20then%20finish%20off%20the%20recapture.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041773%22%20slang%3D%22en-US%22%3ERe%3A%20missing%20.lnk%20shortcuts%20shortcut%20from%20MSIX%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041773%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F287679%22%20target%3D%22_blank%22%3E%40alexmarin89%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3Ethank%20you.%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20believe%20solution%20you%20mentioned%20needs%20an%20licensed%20copy%20of%20advanced%20Installer%20.%3C%2FSPAN%3E%20we%20are%20using%20MSIX%20Packaging%20Tool%20to%20convert%20setup%20to%20MSIX.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041795%22%20slang%3D%22en-US%22%3ERe%3A%20missing%20.lnk%20shortcuts%20shortcut%20from%20MSIX%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041795%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F149589%22%20target%3D%22_blank%22%3E%40Tim%20Mangan%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%20I%20have%20downloaded%20the%20Psftooling%20and%20I%20will%20try%20to%20use%20it%20for%20my%20requirement.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1071840%22%20slang%3D%22en-US%22%3ERe%3A%20missing%20.lnk%20shortcuts%20shortcut%20from%20MSIX%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1071840%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%2F472646%22%20target%3D%22_blank%22%3E%40Archana2612%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fexpress-edition.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Efree%20Express%20edition%3C%2FA%3E%20from%20Advanced%20Installer.%20It%20contains%20the%20functionality%20mentioned%20above.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThi%20edition%20was%20launched%20by%20our%20team%20at%20the%20same%20time%20with%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fmsix-windows-package.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMSIX%20announcement.%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi Everyone,

 

my application has 4 shortcuts. 3 shortcuts launch the .chm(help file) and 1 shortcut opens a vendor website. I am now converting this application to MSIX. during conversion, on first launch window I can not see any shortcuts. when I try to add them , I can see only .exe files. unable to add my shortcuts. 

 

can you please help me here ?

5 Replies
best response confirmed by John Vintzel (Microsoft)
Solution

@Archana2612Hi.

 

In MSIX you don't technically have shortcuts, you have Applications. These can only target .exe files, that is why you can't add you .chm or website as a shortcut.

 

As an alternative, in Advanced Installer, we are launching the applications via a custom stub.exe, thus making it possible to add websites or chm files.

@Archana2612 

I have found it necessary to use the Package Support Framework (PSF) as a solution to migrating traditional installers that create shortcuts pointing to non-exe files, as well as those that have command line arguments.  

 

I extended the PSF to support these use cases earlier this year.  In essence, your shortcut (perhaps we should use the term "entry point", although I think the ultimate result is called a "start tile") would point to a copy of PsfLaunch and a config.json file would be used to tell PsfLaunch what to do.

 

If you are a developer building a MSIX package, these are just components to add in, although if you want an icon for that start tile you'll have to add it into PsfLaunch executable.

 

If you are repackaging an existing installer into an MSIX package (something IT Pros do), you use a packaging tool like the Microsoft MSIX Packaging tool (or one from a Microsoft partner such as above that includes a version of the PSF).  With the Microsoft tool, you'll need to add the PSF yourself, but up in the Microsoft Store you can also find an additional tool I built to help called PsfTooling.

 

This free tool is used while in monitoring mode of the packaging tool to inject and configure the PSF for you.  You run the traditional installer for your package, then run PsfTooling.  In PsfTooling select the shortcut wizard and pick your shortcuts.  It automatically will figure out how to launch the original intent of your shortcut in MSIX land. While there are options to inject additional fixups in that wizard, you won't need those if all you want is to fix these shortcut issues.  Apply the changes, then finish off the recapture.

Hi @alexmarin89 ,

thank you.

I believe solution you mentioned needs an licensed copy of advanced Installer . we are using MSIX Packaging Tool to convert setup to MSIX. 

Hi @Tim Mangan ,

 

Thank you. I have downloaded the Psftooling and I will try to use it for my requirement.

Hi @Archana2612 

 

You can use the free Express edition from Advanced Installer. It contains the functionality mentioned above.

 

Thi edition was launched by our team at the same time with the MSIX announcement.