It is impossible that a text file can cause that kind of havok. Let's see your script. I imagine you did it by hand. What registry entries are you referring too?

How did you find all the dependencies for your project?