HI, we would like to install a 3rd party remote app (log me in) to some devices, and have placed the MSI file in Sharepoint. However the ‘link’ to the file is returned being ‘invalid’ in C1. Is there a way to do this or is it not possible with files from Sharepoint/One drive?
You can use the below script to download and install LogMeIn Client.
If You want to install any other application, please Give the following details :
URL=‘https://secure.logmein.com/LogMeInIgnition.msi’ #Please Give the link for the application you want to install
silent="/qn" #please the give silent installation command /s /v?/qn?
Please run the script as System User
20180219-logmein.json (1.98 KB)
I"m sorry how do I do this with a JSON script? – - am I creating a new ‘Script Procedure’, editing that and pasting the json script into it?.
Not exactly but it would be better if you download and import the JSON file provided above (no copy+paste involve). Refer to this guide about importing procedures.
Thanks Rick!.. . So not all the procedures are necessarily written in Python. . .
Well, all the code in the premade Procedures in ITSM, the scripts available in ‘scripts.comodo.com’ and those found in the Automation Scripts Library sub-forum are all in Python.
If you have existing BAT, VBS, and PowerShell scripts, they can also be utilized in the ITSM as they are launched using existing procedures.
Run PowerShell scripts
Run VBS scripts
Run BAT files
Thanks Rick, I appreciate it!.
Hi Rick - – I imported, reviewed, and approved the procedure, and attempted to run on a specific device. In the device I clicked Run Procedure, found the procedure in the search box and executed. It prompted with the popup saying command was sent. I can’t find any logs showing me this executed (went through all logs in device management and the execution log on the procedure itself. However I do see it listed on the client application list as being installed today - which is good. However I have a specific file for this client to install (it automatically places their computer in a custom group as well as has other preferences specified. How can I have THAT file accessed to install?
Also - how come I don’t see anything in the logs?
logs would normally appear under Procedures>click the procedure> execution logs and (if the procedure is designed to provide logs). and under Devices> logs> Script Logs. You can utilize this script procedure by installing an application from a file path. https://scripts.comodo.com/frontend/web/topic/install-application-from-file-path . Please give us your feedback if this suffices your need.
So bizarre I’m not having any luck finding logs of anything. … . ok - so with this script the file already needs to be uploaded to the client machine right? I’ll try this anyway, as I could use the practice and experience, but the goal is to have that file accessed across the WAN (so we don’t have to upload it to every client)… Does that file path need to be a local path or can it access files in the cloud?.. .
Thanks Rick for the links, I’ll be testing out all. . . Referring to the 2nd–install msi from path, is that the local path only? My objective is to place client’s install builds on a central location (cloud), or perhaps a company NAS that can be accessed through from WAN and just have a script pointing to those install files. This way we don’t have to worry about copying the files to each machine or client location… : ) Having said that, can you confirm whether or not a public link to a file on Sharepoint will work?.
The ‘Install MSI Package from given Path’ script will take a local path or a mapped network drive path.
For the Sharepoint file, as long as it is publicly available (no credentials needed, can be accessed using the https or http protocol), the ‘Download and Install any application from the URL’ script will serve its purpose.
I’ll try the SharePoint link with the last script you mentioned, thank you…
I looked at the BAT file script but it actually has something to do with running ipconfig command (i was messing around with a .cmd file/msi file). . . . In still trying to install a logmein msi file without any user intervention. . . If i provide the msi file can someone go through the install process to script out how to install absolutely silently?..
For the ‘Batch File’ script, the ‘ipconfig’ mentioned there is just a sample command.
You will need to change that part and insert the actual content of the batch file that you want to run.
So our batch file content would be replacing the ipconfig line… Thanks Rick. .
I finally got around to trying to install from url, but am not having any luck. It downloads the file ok, but comes out as a number 455563535 with no file extension. Im not sure if this is the reason- but it could be, as for when i manually execute the file it doesn’t know what to do with it (prompts for ‘what do you want to do with this file’). Any advice?
@Damon C Hi , so I tried this script - and it seems to start as I see the executable file downloaded in the path. However it never finished. When i ran as logged in user to see what was going on I noticed it has a User Account Control prompt which is waiting for a confirmation of (yes), and then failed to parse command line. After watching a local install the app I’m trying to install also has it’s own splash screen with an Install Button which user intervention is required to click . How do I include parameters for these types of hurdles in the install process? I"m going to also pose the question in the link you provided, as it seems to be more appropriate there.