Ok, I've looked more closely,
For a .txt file, four lines appear to be needed for minimum functionality.
Normally the icon will be a .exe file, and the index that follows it will be zero or a positive value.
You might want to use %ProgramFiles% to specify the icon and .exe file.
Since I don't use .reg files myself, I can't guarantee this is correct.