To overcome the infamous "Run-time error '62': Input past end of file" problem on a fresh SRIM installation, while a fix is being made, you can try the following:
Please Understand the following operations involve modifications on your system. The author (Giuseppe Dia) cannot be held responsible for damages and miscalculations. Don't follow the steps outlined below if you don't feel confident.
Download the SRIM installation executable.
$> mkdir SRIM_EX
Put the SRIM installation executable inside the newly created SRIM_EX directory. This should avoid top directory cluttering.
$> cd SRIM_EX
$> wine SRIM2008.exe
The last step will launch the SRIM extractor. Check that the extraction points to the newly created directory (in this example SRIM_EX) and press the Extract button,
Now launch setup.exe
$> wine SETUP.exe and follow the installation normally.
Launching SRIM2008 for the first time will result on the infamous "Run-time error '62': Input past end of file" on every attempt to do something useful. This issue is related on an empty VERSION text file in the Data/ directory inside the program directory.
We're gonna fix this simply by copying the right temp file (created during the installation) over the VERSION file.
Navigate towards the SRIM program directory
$> cd .wine/drive_c/Program files/SRIM
$> cd Data
$> ls *.tmp
you should get something named verXXXX.tmp with XXXX randomly variable. In my example it will be ver 5532.tmp. Yours may be different.
$> cat ver5532.tmp
look into and see it's the right file. It should be something like this
SRIM software version.
See VERSION.rtf for details.
if you have the right file just copy it over VERSION