Is it possible to create a standalone exe which can burn the code into a Teensy 3.1? So here's the scenario.

I have sent my teensy 3.1 circuit to a client of mine
And now I need to update the code burned onto teensy without providing client access to the code

So is it possible to create an exe or an installer of a kind which on execution simply upload the new code onto the teensy?

Since the code is finally a hex file uploaded onto the controller I hope this must be possible
But on doing a quick google search i was not able to find any valid resource which would guide me how to go about it.
Yes, it is perfectly possible.

You will need three things:


The HEX file you want to program
The programming utility for your chosen board (would be in the IDE folder somewhere - not sure what Teensy uses off hand)
A text editor.


Then, using the text editor, you create a .BAT file which executes the programming utility with the right parameters to program the board.

It can help to do an upload in the IDE in verbose mode so you can see exactly what command and parameters are being executed.