With VBScript being deprecated (see: https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features-resources), is it safe to assume InstallScript code like this will no longer work? try
set objRegExp = CoCreateObject( "VBScript.RegExp" );
...