you probably patched all your IOS (pumpmywii ? or any automated softmod tools?), and it messed your console so much that you had to delete everything, but now you can't reinstall.
or did you just had to make the console clean for any reason ?
hackmii installer generates a log on your SD card, look inside to see if it says "no vulnerable IOS found", then there's not much you can do :/