Whatever EULA you create, it might not be enforcable if it breaks any national/international laws. What makes it more complex is that your EULA might be okay in the USA but in other countries it might not be worth the bits and bytes that are inside it.
A legal advisor might provide you with a better EULA but even they might not be able to create one that can be enforced in each and every country in this world.
In some countries, an EULA inside the box cannot be enforced because the buyer never could have read it before accepting it. Then again, with software you could point out the EULA and telling them not to install the software and to return the software if they disagree with the EULA. In general, that would be the proper moment for displaying an EULA. (But for hardware, the conditions should be on the outside of the box or else the buyer could ignore them.)
The most important point in an EULA is to reduce your own liability if your application damages someone system somehow. Otherwise, if your software does accidently format someone's hard disk, you could end up paying lots and lots in damages.