Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Getting error ActiveX component can't create object: 'Scriptin


1 reply to this topic

reddygopu

reddygopu
  • Full Members
  • 4 posts

Posted 26 February 2016 - 13:12

I am getting below error when running vbscript using C:\Windows\SysWOW64\cscript.exe as below.

C:\Users\abcd\Desktop>type a.vbs
Set objFile = CreateObject("Scripting.FileSystemObject")

C:\Users\abcd\Desktop>
C:\Users\abcd\Desktop>C:\Windows\System32\cscript.exe a.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.


C:\Users\abcd\Desktop>
C:\Users\abcd\Desktop>C:\Windows\SysWOW64\cscript.exe a.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\abcd\Desktop\a.vbs(1, 1) Microsoft VBScript runtime error: ActiveX
component can't create object: 'Scripting.FileSystemObject'


C:\Users\abcd\Desktop>

I have searched for the registry entry "Scripting.FileSystemObject" and found the entry under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{GUID}\ProgID. But I didn't find similar entry under HKLM\SOFTWARE\Wow6432.

 

What could be the solution for this issue? Any technical information about this issue would be helpful.


Edited by reddygopu, 26 February 2016 - 13:21.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 March 2016 - 19:50

I'm not sure. Is there a 32 bit version of cscript.exe on 64 bit Windows?