Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Windows Installer Cleanup Utility Error  (Read 4773 times)

0 Members and 1 Guest are viewing this topic.

Kerjifire

  • Guest
Windows Installer Cleanup Utility Error
« on: May 31, 2010, 06:13:54 AM »
When I try installing Windows Installer Cleanup Utility it pops up with the picture attached. help?

[recovering disk space - old attachment deleted by admin]

macdad-



    Expert

    Thanked: 40
    Re: Windows Installer Cleanup Utility Error
    « Reply #1 on: May 31, 2010, 06:25:30 AM »
    The DLL for this is not registered with windows:

    First off, Reinstall the Windows Script Engine:
    http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=C717D943-7E4B-4622-86EB-95A22B832CAA

    Then:

    Start -> Run
    Type: regsvr32 scrrun.dll
    Hit Enter.

    Tell me if anything comes up, if not, then try reinstalling Win Installer.
    If you dont know DOS, you dont know Windows...

    Thats why Bill Gates created the Windows NT Family.

    Kerjifire

    • Guest
    Re: Windows Installer Cleanup Utility Error
    « Reply #2 on: May 31, 2010, 06:32:00 AM »
    'Windows Script 5.6 for Windows XP and Windows 2000
    Brief Description
    THIS UPDATE IS BEING RE-PACKAGED AND WILL BE MADE AVAILABLE SHORTLY.'

    from your link.

    and:



    [recovering disk space - old attachment deleted by admin]

    macdad-



      Expert

      Thanked: 40
      Re: Windows Installer Cleanup Utility Error
      « Reply #3 on: May 31, 2010, 06:40:58 AM »
      Well atleast the DLL is there, the link was for a reinstall in case that the DLL was missing.

      Try reinstalling Win Installer Cleanup now.
      If you dont know DOS, you dont know Windows...

      Thats why Bill Gates created the Windows NT Family.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Windows Installer Cleanup Utility Error
      « Reply #4 on: May 31, 2010, 03:56:50 PM »
      startmsi.vbs:

      Code: [Select]
      Set fso=CreateObject("Scripting.FileSystemObject")
      Set WshShell = CreateObject("WScript.Shell")
      bRemoveMSECACHE = False

      sProgramFiles = WshShell.ExpandEnvironmentStrings("%ProgramFiles%")
      If sProgramFiles = "%ProgramFiles%" Then sProgramFiles = WshShell.RegRead("HKLM\Software\Microsoft\Windows CurrentVersion\ProgramFilesDir")

      sMSECACHEPath = sProgramFiles & "\MSECACHE"
      If Not fso.FolderExists(sMSECACHEPath) Then
          fso.CreateFolder(sMSECACHEPath)
          bRemoveMSECACHE = True
      End If

      sTargetPath = sMSECACHEPath & "\WICU3"
      If Not fso.FolderExists(sTargetPath) Then fso.CreateFolder(sTargetPath)

      fso.CopyFile fso.GetParentFolderName(WScript.ScriptFullName) & "\M*.*", sTargetPath
      fso.CopyFile fso.GetParentFolderName(WScript.ScriptFullName) & "\r*.*", sTargetPath

      sCmd = "msiexec.exe /i """ & sTargetPath & "\msicuu.msi"""
      iRC = WshShell.Run(sCmd, 4, True)

      If iRC <> 0 And iRC <> 3010 Then
         fso.DeleteFolder sTargetPath, True
         If bRemoveMSECACHE Then fso.DeleteFolder sMSECACHEPath, True
      End If


      line 5, where the error occurs:

      Code: [Select]
      If sProgramFiles = "%ProgramFiles%" Then sProgramFiles = WshShell.RegRead("HKLM\Software\Microsoft\Windows CurrentVersion\ProgramFilesDir")

      which means that the WshShell.RegRead call is causing the error. Since earlier functions used to create and use the FSO (which resides in scrrun.dll) succeeded, the problem s probably not with scrrun.dll or it's registration- and is unique to this line.

      WshShell is not in scrrun.dll, but rather an object in wshom.dll, the Windows Script Host Object Model.

      So- try:

      Code: [Select]
      regsvr32 "%systemroot%\system32\wshom.dll"

      then see if you can run the utility.
      I was trying to dereference Null Pointers before it was cool.

      Kerjifire

      • Guest
      Re: Windows Installer Cleanup Utility Error
      « Reply #5 on: June 01, 2010, 05:53:31 AM »
      this happened:

      [recovering disk space - old attachment deleted by admin]

      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: Windows Installer Cleanup Utility Error
      « Reply #6 on: June 01, 2010, 06:47:46 AM »
      Go to Start/Run and type in sfc /scannow and hit Enter...
      Have your XP CD handy.
      Let it run to completion...remove the CD and re-boot.
      " Anyone who goes to a psychiatrist should have his head examined. "

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Windows Installer Cleanup Utility Error
      « Reply #7 on: June 01, 2010, 05:08:22 PM »
      oops, my mistake. it's wshom.ocx, not dll.
      I was trying to dereference Null Pointers before it was cool.

      kristain



        Beginner

        Thanked: 4
        Re: Windows Installer Cleanup Utility Error
        « Reply #8 on: June 01, 2010, 10:54:39 PM »
        Click Start, Run and type:
        regsvr32 scrrun.dll
        Press Enter

        Kerjifire

        • Guest
        Re: Windows Installer Cleanup Utility Error
        « Reply #9 on: June 02, 2010, 04:01:16 AM »
        Click Start, Run and type:
        regsvr32 scrrun.dll
        Press Enter

        this was already tried above =.=

        Kerjifire

        • Guest
        Re: Windows Installer Cleanup Utility Error
        « Reply #10 on: June 02, 2010, 04:02:29 AM »
        ty BC_Programmer  ;D it works now

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Windows Installer Cleanup Utility Error
        « Reply #11 on: June 02, 2010, 05:07:24 AM »
        ty BC_Programmer  ;D it works now

        Excellent!  :)
        I was trying to dereference Null Pointers before it was cool.