Error message when trying to install MS Clean-up utility

G

Guest

When trying to install the MS Clean-up utility as described in Article ID :
290301

I receive the following message (below) . Anyone has an idea on how to fix
this problem?

Stef ; )


Windows Script Host

Script: C:\DCOUME 1\Stef\Locals 1\Temp\IXP0000.TMP\StartMsi.vbs
Line: 1
Char: 1
Error: A dynamic link library (DLL) initialization routine failed
Code: 8007045A
Source: (null)
 
R

Ramesh, MS-MVP

Hi Stef,

Click Start, Run and type:

%temp%\IXP0000.TMP\

If the file StartMsi.vbs is present, open it using Notepad. Copy the
contents and include them in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


When trying to install the MS Clean-up utility as described in Article ID :
290301

I receive the following message (below) . Anyone has an idea on how to fix
this problem?

Stef ; )


Windows Script Host

Script: C:\DCOUME 1\Stef\Locals 1\Temp\IXP0000.TMP\StartMsi.vbs
Line: 1
Char: 1
Error: A dynamic link library (DLL) initialization routine failed
Code: 8007045A
Source: (null)
 
G

Guest

Great idea Ramesh .... didn't know I could do this ... below is the content
of StartMSI.vbs:

So I guess that it start bugging at line one which is calling for

"Scripting.FileSystemObject"

I will look on my side ... would appreciate any help to find the good dll
missing/defect.

Regards

Stef ; )


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
 
G

Guest

Ramesh,

Scrrun.dll was the answer!

My problem is now resolved and MS Clean-up utility works as it should.

Tks very much for your help

Stef ; )
--
Stef ; )


Stephan said:
Great idea Ramesh .... didn't know I could do this ... below is the content
of StartMSI.vbs:

So I guess that it start bugging at line one which is calling for

"Scripting.FileSystemObject"

I will look on my side ... would appreciate any help to find the good dll
missing/defect.

Regards

Stef ; )


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




--
Stef ; )


Ramesh said:
Hi Stef,

Click Start, Run and type:

%temp%\IXP0000.TMP\

If the file StartMsi.vbs is present, open it using Notepad. Copy the
contents and include them in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


When trying to install the MS Clean-up utility as described in Article ID :
290301

I receive the following message (below) . Anyone has an idea on how to fix
this problem?

Stef ; )


Windows Script Host

Script: C:\DCOUME 1\Stef\Locals 1\Temp\IXP0000.TMP\StartMsi.vbs
Line: 1
Char: 1
Error: A dynamic link library (DLL) initialization routine failed
Code: 8007045A
Source: (null)
 
R

Ramesh, MS-MVP

Stephan,

Click Start, Run and type:

regsvr32 scrrun.dll

Press Enter.

Try installing the utility now. If the problem persists, see if reinstalling
Windows Script 5.6 helps.

Windows Script 5.6 for Windows XP and Windows 2000:
http://www.microsoft.com/downloads/...FamilyID=C717D943-7E4B-4622-86EB-95A22B832CAA

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Great idea Ramesh .... didn't know I could do this ... below is the content
of StartMSI.vbs:

So I guess that it start bugging at line one which is calling for

"Scripting.FileSystemObject"

I will look on my side ... would appreciate any help to find the good dll
missing/defect.

Regards

Stef ; )


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
 
R

Ramesh, MS-MVP

Nice! Glad the problem is fixed, Stephan.
--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Ramesh,

Scrrun.dll was the answer!

My problem is now resolved and MS Clean-up utility works as it should.

Tks very much for your help

Stef ; )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top