Passing an argument from the installation URI to an installed app

Passing an argument from the installation URI to an installed app
5

Upvotes

Upvote

 May 18 2020
7 Comments (7 New)
Completed

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

Comments
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.

 

Microsoft
Brass Contributor

Hi @Tanaka_Jimha

Thank you for the information about passing installation parameters in MSIX. This is awesome news.

 

Regards,

Brett

Microsoft
Status changed to: Completed
 
Steel Contributor

Any docs updated with regards to this improvement?

Microsoft

@Bogdan Mitrache Links above in the thread

Copper Contributor

Is there another way to do this without using app installer?