Windows Script / scrrun.dll - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ci3
Posts: 16
Joined: Tue Jul 21, 2009 9:30 pm

Windows Script / scrrun.dll

Looking for some advice on Windows Script / scrrun.dll

I'm trying to replace an old old installer made with InstallShield that hasn’t been updated in like 5+yrs with AI instead. This is for a VB6 project and it uses scrrun.dll. Looks like the old installer just distributed that file as a self registering file in the Win/System folder. For some reason I remember the old developer (no longer here) having issues with this file and grumbling about it. So I just want to make sure I do it the right way for this new install.

Doing some looking around it looks like that file is part of Windows Script? So I’m not sure what the "approved" method for distributing it is. The oldest OS we will still support for a bit longer is Windows 2000 SP4. Of course we also want this to work on XP, Vista and Windows 7 once it’s released.

What is my best method of making sure the PC gets scrrun.dll properly installed? I'm totally new to creating installers so please be as specific as possible.

Thanks
Mike
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Windows Script / scrrun.dll

Hello,

The Windows Scripting Runtime DLL (scrrun.dll) comes preinstalled with most if not all versions of Windows, so there is no need for you to install this file. However, just to be on the safe side, your installer could install this file in the same directory as the executable that uses it.

Make sure you register this file. To do this:
- place your dll in the Files and Folder page
- right click it, go to Properties
- check the "Auto register file"

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ci3
Posts: 16
Joined: Tue Jul 21, 2009 9:30 pm

Re: Windows Script / scrrun.dll

Thanks for the reply

After continuing to look around I agree and believe this isn't needed now. Looks like most newer OS have scripting already installed. When this other install was made a long time ago they probably still had supported it on like Windows 98 which i don't think had it by default like the newer OS's do. I'll leave it out.

Thanks!
Mike

Return to “Common Problems”