I got this problem recently: A machine with no .net framework installed, so my code didn't run there.
You need: dotnetfx.exe <- t3h framework
grab this from microsoft dl site
then get that file on the machine on which it should be installed,
open a console and type:
start /wait dotnetfx.exe /q:a /c:"install.exe /q"
actually you dont need the /wait switch, but its helpfull, coz you see when it's finished.
hope this helps you.