Errors 'Download and install any application from the URL'

Hosted file at OneDrive. Did the embed>download thing. Script edited as you would expect.

The problem I am having is it keeps throwing syntax errors. I’m not a Python guy. The RMM I’m coming from uses CMD and Powershell.

Do you keep the Parenthesis? The script demo page does not give an example. I have tried many things.
Script locations is
https://scripts.comodo.com/frontend/web/topic/download-and-install-any-application-from-the-url

When I paste the URL into the “URL=itsm.getParameter(‘Enter_the_URL’)# Enter the URL” field, it shows a red box around the question mark of the Download part of the URL.

File “<string>”, line 2 URL=itsm.getParameter (https://onedrive.live.com/download?cid=E7A32xxxD4A5&resid=E7A327D56F0AD4 A5%2162994&authkey=AKFxxxZT12h80)
^ SyntaxError: invalid syntax

There is a chevron pointing to the colon in the URL but I’m not sure if it’s a correct spacing or not. Any URL would of course have that. Would love to get this going, not sure what I’m doing wrong. the direct URL works fine.

Hi @farvision,

We need to provide the URL link under the “Parameters” tab, please don’t change anything in the code. Required inputs must be provided under the “Parameters” tab.
Please check the attached screenshots for your reference.

Kind Regards,
PremJK

Hi @farvision,

Please try this script for MSI install and provide your feedback
https://scripts.itarian.com/frontend/web/topic/install-msi-package-from-the-given-file-path-with-arguments

Kind Regards,
PremJK