Hi !
I have exactly the same problem.
My gateway computer needs to keep its static IP address, but as soon as I install Hamachi, it re-enables DHCP on it, and I can't change IP settings once it's installed.
Could you explain me your script or how to do the same thing ? That would save me !
Jonas