New script for installing teamviewer host

HI, can we get a script for installing teamviewer host please from a link from our website. it will be a exe file. thank you.

Hi @monster-it

We are analysing your request. We will update you soon once the script has been completed.

Thank you.

Hi @monster-it
Script completed to download and install Teamviewer host.
https://scripts.comodo.com/frontend/…eamviewer-host
Thank you.
[~reshmap]

Hi I downloaded the Json file, where do i change the url for our own host download file?

Hi,

We have modified the script as per your request. Refer: https://scripts.comodo.com/frontend/web/topic/download-and-install-teamviewer-host

Provide the download url at the first line of the script:

Download_URL =“https://dl.tvcdn.de/download/TeamViewer_Host_Setup.exe#Provide the download URL here

Run the script as system user.

Thank you.

Will test and get back to you.

Download started Path already exists The file downloaded successfully in specified pathC:\ProgramData\r9kfcsj
Traceback (most recent call last): File “<string>”, line 65, in <module> File “C:\Program Files (x86)\COMODO\Comodo ITSM\lib\subprocess.py”, line 710, in init errread, errwrite) File “C:\Program Files (x86)\COMODO\Comodo ITSM\lib\subprocess.py”, line 958, in _execute_child startupinfo) WindowsError: [Error 193] %1 is not a valid Win32 application Thats the error i got. also would be good to run this application with a reg file to apply settings.

Hi @monster-it

          Will modify the above changes in the  script and update to as soon as possible.

Thank you.

Hi @monster-it
The script works fine in our environment. The error message occurs incase of executing the python file in a different method, other than ITSM.
Please try running script using ITSM procedure. For more details about how to run procedure through ITSM, Refer the wiki guide below.
https://wiki.comodo.com/frontend/web/topic/how-to-create-and-run-script-procedure-in-devices

We will modify the script to run this application with a reg file to apply settings and update you soon.

Thank you.

I did and that’s what it came up with…

Plz provide the details of Operating System that your running this script.

Server 2012 r2 hyper v on a domain. Running on a HP DL350 G5.

Hi @monster-it

Will modify the above changes in the script and update to as soon as possible.

Thank you.

Hello @monster-it

Here is the updated Script, it sounds good we have checked in the Same environment as you tested “Server 2012 r2 hyper v” :

https://scripts.comodo.com/frontend/web/topic/download-and-install-teamviewer-host-and-run-it-as-registry-file-to-update-settings

Thank you.

Where do i put the .reg file so it updates what i need it too?

That installed teamviewer :slight_smile: thank you just need to intergrate the reg file please.

nevermind found out how i added it to the bottom of the script. Thank you this works like a gem!

Do you want to edit or change the regedit value for teamviewer as your wish ? or you want to simply run the app using reg file ?

Thanks for your priceless feedback.

Thanks again.
Aravind.

hello @monster-it

In this script : https://scripts.comodo.com/frontend/web/topic/download-and-install-teamviewer-host-and-run-it-as-registry-file-to-update-settings

Provide the .reg file in the content(second line of the script) within the quotations ‘’’ xxxxxxx’’’.

For example:

content =’’'Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TeamViewer]
“Start”=dword:0x000000002
‘’’