Brian6999 has developed a cool little plugin for the TeamViewer web interface (http://community.spiceworks.com/plugin/203?page=1) but does anyone know how I can get my local TeamViewer installation to run from Spiceworks similarly to how Brian6999 has here?

I have the plugin installed but this navigates to the TeamViewer web interface. What I am wanting from an extension is the ability to launch my local install of TeamViewer from a link in Spiceworks. I've tried manipulating the code from Brian's plugin but I cannot get the link to launch the exe file. Any ideas?

1st Post

I'm only new to Spiceworks but the way I got around this problem was to

- add the extension that allowed you to add a custom URL to the tool list.

- add a custom attribute to hold the teamviewer ID for each Device.

- register a custom URL handler to run a program/batch file (runexeurl:)

- set up the batch file or some kind of executable, to filter and run the command you want

- configure the extension to use your custom URL and parse it the custom attributes you want

So the extension calls the URL runexeurl:TV1234567, the URL runs the batch file, the batch file strips out the extra garbage, recognises TV as the teamviewer command and runs \fullpath\teamviewer.exe -i 1234567

I'm having issues with Chrome, but works well under Firefox and IE.

Also keep in mind the security implications of having a URL that when click runs an exe on the local system. Careful what you click.

Ideally tho the network scan should fill in the teamviewer custom attribute with from the device's registry values but I havent figured out how to do that. So I have just been manually entered the teamviewer ID for now.

This seems to be exactly what i need. I have a remote connection software called NetSupport running in my network. I am stuck on this phase: register a custom URL handler to run a program/batch file (runexeurl:)

I tried with Chrome and it worked. Wuhuu!! Does not work on IE. I also got the information from Teamviewer that you can launch the TV with similiar method. This means that you don't need TV ID, but you can launch it with IP. So it should work too, i can comment on that when i have time to test it.