MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Invalid ShortName Returned (File System Object)[Next]: MSIEXEC.EXE - Setting Property Values to NULL
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Troubleshooting->Bugs, Features and Issues (NON-MAKEMSI)->Regular Expression Objects Can't be Created (VBSCRIPT.DLL)

BUG: Regular Expression Objects Can't be Created (VBSCRIPT.DLL)

MAKEMSI has detection code for a Windows bug where regular expression objects can't be created by VBSCRIPT (and probably JSCRIPT). The problem can be solved by a "regsvr32.exe" over the "VBSCRIPT.DLL" file, however this DLL was not unregistered, if it were you wouldn't be able to run script at all, so the registry has been corrupted. Windows "fixes" highly suspected (specifically IE updates).

MAKEMSI does not generally create regular expression objects during the building or updating of an MSI but some of the tools make use of them.

on error resume next
PgmVersion = "04.140"
set oMask = new RegExp
if err.number = 0 then
   if Wscript.Arguments.Count = 1 then if ucase(Wscript.Arguments(0)) = "SILENT" then wscript.quit(0)
   Icon = vbInformation
   Msg  = "We are able to create regular expressions, so VBSCRIPT.DLL is probably OK."
else
   Icon = vbCritical
   Msg  = "We could not create a regular expression. Registering ""VBSCRIPT.DLL"" will probably correct this." & vbCRLF & vbCRLF & "Reason: " & err.description
end if
MsgBox Msg, Icon, "VBSCRIPT.DLL OK? - v" & PgmVersion


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Invalid ShortName Returned (File System Object)[Next]: MSIEXEC.EXE - Setting Property Values to NULL


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.