Launch application on a local machine when link clicked

kristenankeny
Tera Guru

We would like to have forms for the software people can download through our SCCM Client on their computers. On this form, we'd like to provide a link that will launch the application. How can we go about doing this? I created a UI Macro and a variety of links such as http://file:///C:\....., file:\\\C/..., C:/..., but none seem to function. This is the current one:

<?xml version="1.0" encoding="utf-8" ?>

<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">

  <a href="file:///Windows\folder1\folder2\application.exe" target = "_blank">Software Center</a>

</j:jelly>

1 ACCEPTED SOLUTION

Shane J
Tera Guru

Isn't this really something you can't do, due to browser security meant to combat malware?


View solution in original post

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

Hi,



You can create UI action to lauch application from Service now platform.


Below post has helpful code to achieve this kind of requirement



Launch RDP from UI Action



Regards,


Sachin


Thanks for the suggestion. I tried this out within a UI Macro (I'm dealing with a catalog item), but unfortunately the code demonstrated in this link would only function in IE and not Chrome. Our company uses a variety of browsers, so I need something that I can script in jelly that will launch the application. We thought this would be simple, but unfortunately it's turning out not to be.


Hi,



You can also put .exe file on mid server and run this .exe file so that it works for any browser.



Regards,


Sachin


Shane J
Tera Guru

Isn't this really something you can't do, due to browser security meant to combat malware?