Error: 'Error 1720.There is a problem with this Windows Installer package . ActiveX component can't create object'


PROBLEM

The following error will be present in the gfimes_xxxxxxxxxxxxxx_x_maininstall log file located in the main %temp% directory.
 
1: MsecUpdateMDB 2: Upgrade Msec DB ....
1: MsecUpdateMDB 2: Using [provider='microsoft.jet.oledb.4.0';data source='C:\Program Files (x86)\GFI\MailEssentials\EmailSecurity\Data\avapicfg.mdb']
Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action dbupgrade.avapicfg script error -2146827859, Microsoft VBScript runtime error: ActiveX component can't create object: 'Scripting.FileSystemObject' Line 310, Column 2,
MSI (s) (9C:18) [08:04:57:093]: Product: GFI MailEssentials for Exchange/SMTP -- Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action dbupgrade.avapicfg script error -2146827859, Microsoft VBScript runtime error: ActiveX component can't create object: 'Scripting.FileSystemObject' Line 310, Column 2,

Note: Please ensure that you browse to the the temp directory and not in a subfolder of the temp directory (named 1, 2 or similar).
 

ENVIRONMENT

  • GFI MailEssentials
  • All supported environment
 

SOLUTION

  1. Click Start >  Run and type cmd in the Open field. A Command prompt will open.
  2. Type cd C:\windows\SysWow64 if using a 64 bit operating system  or cd C:\windows\system32 if using a 32 bit operating system and press Enter.
  3. Type regsvr32 scrrun.dll and press Enter. A message will display with the following: DllRegisterServer in scrrun.dll succeeded.
 

CAUSE

Possible causes include:
  • Viruses or malicious malware is on the system (infections exploiting Windows Script).
  • Antivirus and firewall applications may be blocking scripts from running, thus generating the error.
  • The SCRRUN.DLL file is not registered. The Microsoft Scripting Runtime file may not be properly registered on the client.
  • Windows Scripting Host may be corrupt.