I came across this issue earlier in the week whilst trying to install the latest version of the Citrix Access Gateway client.  The machine I was working on was a new, fresh off the shelf Windows 7 Acer laptop; albeit 64-bit.  Thinking the problem was related to the Citrix installation itself I headed over to the Citrix forums and found that the issue was actually a generic Windows problem indicating that the VBScript engine currently isn’t registered on the machine where the install (or indeed uninstall) is taking place.

The fix is actually quite simple, just follow these simple steps:

  • Click the Start Menu
  • Click All Programs
  • Click Accessories
  • Right click on Command Prompt and select Run as Administrator

Next, if you are using the 32-bit version of Windows:

  • Type the following:
    cd %windir%system32 and press the Enter key and then type
    regsvr32 vbscript.dll and press the Enter key and then type
    regsvr32 jscript.dll and then press the Enter key

Alternatively if you are using the 64-bit version of Windows:

  • Type the following:
    cd %windir%syswow64 and press the Enter key and then type
    regsvr32 vbscript.dll and press the Enter key and then type
    regsvr32 jscript.dll and then press the Enter key

That should get you up and running, try to run the installer again and everything should now work as expected.  Enjoy!