Script error during MicroStation Installation


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.11.09.459
 Environment: Windows 7 32 bit, Windows 7 64 bit, Windows Vista 32 bit, Windows Vista 64 bit
 Area: Installation
 Subarea: 
 Original Author:Tamicca Sellars, Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

Error or Warning Message

When beginning to install MicroStation by running ms0811xxxxen.exe - the process reaches the MicroStation V8i (SELECTseries 3) options to: 'Extract and Install installation package' or 'Extract installation package only'.  Choosing either option produces a Script Error.  The error message is:

An error has occured in the script on this page
Line:
Char:
Error: 'InstallerGUI_startInstallation' is undefined
Code:
URL: /AppData/Local/Temp/IXP000.TMP/_en_ProductInstallerGUI.hta">file:///C:/Users/<Local_User>/AppData/Local/Temp/IXP000.TMP/_en_ProductInstallerGUI.hta

Do you want to continue running scripts on this page?

Explanation

It is known that the McAfee Antivirus software replaces the reference to the standard vbscript.dll with their own file in order to scan vbscripts. So in the registry the path to the vbscript.dll is wrong. Here are some examples of the wrong paths:

[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
C:\Program Files\McAfee\Managed VirusScan\VScan\ScriptSn.20100412064520.dll

[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
C:\Program Files\McAfee\VirusScan\scriptsn.dll

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
C:\Program Files (x86)\Common Files\McAfee\SystemCore\ScriptSn.20120227122333.dll

How to Avoid

 You'll need to modify the Windows Registry

****READ FIRST. WARNING: USING THE REGISTRY EDITOR INCORRECTLY CAN CAUSE SERIOUS PROBLEMS AND MAY REQUIRE YOU TO REINSTALL WINDOWS. USE THE REGISTRY EDITOR AT YOUR OWN RISK. http://support.microsoft.com/kb/136393****

1. Back up the registry before making any edits: http://windows.microsoft.com/en-us/windows7/back-up-the-registry

2. In the Registry Editor Expand HKEY_CLASSES_ROOT to find the folder path for 32-bit:
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
For
64-bit, go to
path:
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

3. Give full control in the permissions to the InprocServer32 folder
 a. To do this: Right click on the folder InprocServer and select Permissions
 b. In the top field select Administrators or Users
 c. Tick 'Allow' for the 'Full Control' option and click OK

4. Back in Registry Editor, in the main window, right click on '(Default)', the vbscript entry, and choose 'Modify'

5. For 32-bit, set the value to: C:\Windows\System32\vbscript.dll
For 64-bit, set the value to: C:\Windows\SysWow64\VBScript.dll

6. Click on OK

7. Now Install MicroStation