Passing an argument from the installation URI to an installed app
We can put arguments into the config.json file inside the MSIX package to have the Launcher64.exe pass those arguments to the installed application when it is launched.
What I need to do is pass a query string to the MSIX package from a link on a web page using the appinstaller and have that query string passed as an argument to the installed application.
We are currently using clickonce but that is not supported well in Chrome so we want to move to MSIX. Chrome requires another click on a downloaded .application file.
Brett Burgeson
7 Comments
- KyleIsChampionCopper Contributor
Is there another way to do this without using app installer?
- jvintzelFormer Employee
Bogdan Mitrache Links above in the thread
- Bogdan MitracheSteel Contributor
Any docs updated with regards to this improvement?
- jvintzelFormer EmployeeStatus changed:NewtoCompleted
- BrettBurgesonBrass Contributor
Hi Tanaka_Jimha
Thank you for the information about passing installation parameters in MSIX. This is awesome news.
Regards,
Brett
- Tanaka_JimhaFormer Employee
Hey BrettBurgeson and aMesquita_,
You can find more details on how to pass installation parameters to your MSIX package here:
Passing installation parameters to your app via App Installer - MSIX | Microsoft Docs
and
Passing installation parameters to a Windows application with MSIX and App Installer (microsoft.com)
Cheers,
Tanaka
- aMesquita_Copper Contributor
Hello,
I am also deploying a ClickOnce but I would like to be able to use an MSIX, because of restrictions with the different browsers.
However, I was sending URL parameters in ClickOnce in order to pass them to my executable.
I still haven't figured out how to do this for MSIX.
Thank you.