JSI Tip 10478. When you attempt to remove, or reinstall, the Shared Computer Toolkit on Windows XP SP2, you receive 'There is a problem with this Windows Installer package'?

When you delete the %SystemDrive%\Program Files\Microsoft Shared Computer Toolkit folder from a Windows XP SP2 (Service Pack 2) computer, you cannot remove, or reinstall, the Shared Computer Toolkit, receiving an error similar to:

There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.

NOTE: The default install path for the Shared Computer Toolkit is:

%SystemDrive%\Program Files\Microsoft Shared Computer Toolkit

NOTE: See tip 9772 » The Microsoft Shared Computer Toolkit for Windows XP.

This behavior occurs because the Shared Computer Toolkit registry key exists on the computer.

I have scripted FixSCTK.bat to resolve this issue:

1. Open a CMD.EXE window.

2. Type FixSCTK and press Enter.

3. Remove or reinstall the Shared Computer Toolkit.

FixSCTK.bat contains:

@echo off
setlocal
set key="HKLM\SOFTWARE\Classes\Installer\Products\C66E96CBED74E21478FD1D8B50A5A97F"
set str=Microsoft Shared Computer Toolkit
call :quiet>nul 2>&1
endlocal
goto :EOF
:quiet
for /f "Tokens=*" %%a in ('reg query %key% /V ProductName^|Find "%str%"') do (
 REG DELETE %key% /F
)



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish