Home

Creation of a package with multiple shortcuts pointing to the same EXE with different arguments

%3CLINGO-SUB%20id%3D%22lingo-sub-687077%22%20slang%3D%22en-US%22%3ECreation%20of%20a%20package%20with%20multiple%20shortcuts%20pointing%20to%20the%20same%20EXE%20with%20different%20arguments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-687077%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20many%20legacy%20applications%20running%20on%20Windows%2010%20(developed%20with%20VB%20or%20.NET)%20which%20has%20multiple%20shortcuts%20which%20in%20turn%20points%20to%20a%20single%20EXE%20with%20different%20arguments.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20update%20on%20this%26nbsp%3B%20scenario%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F73899%22%20target%3D%22_blank%22%3E%40John%20Vintzel%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F142689%22%20target%3D%22_blank%22%3E%40Andrew%20Clinick%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-687294%22%20slang%3D%22en-US%22%3ERe%3A%20Creation%20of%20a%20package%20with%20multiple%20shortcuts%20pointing%20to%20the%20same%20EXE%20with%20different%20arguments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-687294%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F325532%22%20target%3D%22_blank%22%3E%40GauravTamkoria%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20looking%20into%20it%20and%20you%20can%20track%20the%20progress%20through%20the%20Idea%20submitted%20in%20the%20community.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMSIX%2FNative-Support-for-Command-Line-Arguments%2Fidi-p%2F334486%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMSIX%2FNative-Support-for-Command-Line-Arguments%2Fidi-p%2F334486%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-737891%22%20slang%3D%22en-US%22%3ERe%3A%20Creation%20of%20a%20package%20with%20multiple%20shortcuts%20pointing%20to%20the%20same%20EXE%20with%20different%20arguments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-737891%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F325532%22%20target%3D%22_blank%22%3E%40GauravTamkoria%3C%2FA%3E%20%5BNot%20to%20encourage%20Microsoft%20to%20not%20fix%20the%20issue%5D%20Here%20is%20the%20workaround%20I%20use%20today%3A%3C%2FP%3E%0A%3CP%3EAdd%20a%20copy%20of%20some%20sort%20of%20launcher%20executable%20for%20each%20shortcut%20in%20the%20package.%26nbsp%3B%20The%20PSFLauncher%20program%20is%20good%20to%20use.%26nbsp%3B%20Each%20shortcut%20goes%20to%20a%20different%20uniquely%20named%20launcher%2C%20and%20the%20launcher%20can%20then%20be%20configured%20to%20run%20the%20same%20exe%20using%20different%20command%20line%20arguments.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20this%20is%20an%20app%20being%20packaged%20using%20the%20Microsoft%20Packaging%20Tool%2C%20you%20can%20use%20the%20(free)%20PsfTooling%20app%20from%20the%20Microsoft%20store%20to%20inject%20the%20pre-built%20PSF%20components%20and%20configure%20them%20for%20you%20as%20part%20of%20the%20capture%20process.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
GauravTamkoria
Occasional Contributor

Hi Team,

 

There are many legacy applications running on Windows 10 (developed with VB or .NET) which has multiple shortcuts which in turn points to a single EXE with different arguments.

 

Is there any update on this  scenario? 

@John Vintzel  @Andrew Clinick

2 Replies

@GauravTamkoria [Not to encourage Microsoft to not fix the issue] Here is the workaround I use today:

Add a copy of some sort of launcher executable for each shortcut in the package.  The PSFLauncher program is good to use.  Each shortcut goes to a different uniquely named launcher, and the launcher can then be configured to run the same exe using different command line arguments. 

 

If this is an app being packaged using the Microsoft Packaging Tool, you can use the (free) PsfTooling app from the Microsoft store to inject the pre-built PSF components and configure them for you as part of the capture process.

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
description for autoplay blocking in settings page
HotCakeX in Discussions on
8 Replies