COURSE of the MONTH

Runtime Error 430 & scrrun.dll

Hi,

I just made a small tool in which I referrenced to scrrun.dll,
I created a custom setup with NSIS
when I install the app on Win2000 all is OK but when I install it on 98 I get runtime error 430 when I fire up the program.
I think this might have something to to with the version of the dll but don't know how to handle it best.
A while ago I made anothter prog with references to the same file, I included it in the setup but when I installed it on XP I got the message from XP that the file was replaced and got asked to put in the install cd to fix it.
I do my programming in Win2000.
What is the best thing to do here, include it in the setup
if so which version
I would like it to run on all systems :)

There should not be any problem with scrrun.dll in win98 as I generally do the same what you do and have the same setup as yours. The only differnce is that I use Inno.

Make sure of two points:
1. You copy and register scrrun.dll in System folder in win98 instead of system32.
2. Restart win98 after installing the app.

0

TheWiepAuthor Commented: 2004-04-20

thanks for the reply

in the installer of 98 I didn't include the dll
I also didn't restart (pretty dumb of me :) )
haven't been using 98 in a while..
So according to you there should be no problem when I install and register the dll of Win2000 to either 98 and XP?

What is the program that you use to create setup program? You can use Package & Development wizad Provided with Visual studio to create setup program. It will include all the dll files that are needed by the program and when installing the product it will install them to correct place. (acording to the OS)