splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

WSH Version or Visual Basic Script Engine Version

Hi Guys,

I am looking to get the WSH version as a prerequisite for the install.

I know in VBScript I can type the following and get it...

MsgBox ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion

I saw in the Prerequisite section of AI that there is a Visual Basic Script Engine check, I am wondering if this is the same thing?

Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: WSH Version or Visual Basic Script Engine Version

Hi,
I saw in the Prerequisite section of AI that there is a Visual Basic Script Engine check
This is a predefined prerequisite defined by us. All you have to do after you add it to the project is to set the
URL for the setup package or to bundled it with your application in order to be correctly installed.

The package built with Advanced Installer will check for a DLL file (vbscript.dll), if the file is missing then the prerequisite
will be installed, otherwise it means it already exists on the machine and will skip its installation.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

Re: WSH Version or Visual Basic Script Engine Version

The package built with Advanced Installer will check for a DLL file (vbscript.dll), if the file is missing then the prerequisite
will be installed, otherwise it means it already exists on the machine and will skip its installation.
Thanks, will it check the version or simply the fact that it exists?

Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: WSH Version or Visual Basic Script Engine Version

Hi,

If you will go to "Install Conditions" tab you will see that you can edit the search. Press the
[Edit] button and a new dialog will appear, here the search parameters are specified.

As you can see in that dialog the search should retrieve the version of the DLL, so in the lower side of the dialog
you can specify the min and max versions that you are interested in.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

Re: WSH Version or Visual Basic Script Engine Version

Thanks Bogdan,

Thats great

Return to “Common Problems”