Security Update for Microsoft Visual Studio 2010 (KB2455033) failed with Code 643

Yesterday tried to install ‘Security Update for Microsoft Visual Studio 2010 (KB2455033)’ via Windows update on Windows 7 Ultimate 64-bit but it failed with Code 643. Installation constantly failed with Code 643 – Some updates were not installed.

Currently Google search does not shows anything useful, however Microsoft Connect have listed 4 workarounds. I tried only last one, and it worked.

Posted by AleALEJANDRO on 4/14/2011 at 3:28 AM
It works!

1. Install this to update Visual C++ Compiler: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=689655B4-C55D-4F9B-9665-2C547E637B70&displaylang=en

2. Install this to update the rest: http://www.microsoft.com/downloads/en/details.aspx?familyid=936b6b1f-a854-4cbb-904b-3e5dcf2c9c7e&displaylang=en

For more information go to MS Connect – Error installing Windows Update KB2455033.

Below are gallery with relevant screenshots.

Test Silverlight speed or Test CPU speed with Silverlight

While we were developing SilverBench (online multicore CPU benchmarking with Silverlight), I found one interesting benchmark project.

It is called Balls / Bubblemark animation test. You can test and directly compare speed / performance for the following programming languages: JavaScript, Silverlight (C#), Flash (ActionScript) and Java. Source code is provided. Project is maintained from 2007 and last time updated in mid 2009.

Underused features of Windows batch files

StackOverflow have another interesting topic about: Underused features of Windows batch files.

Of course there are many things I didn’t know about. Some highlights:

PUSHD path
Takes you to the directory specified by path.
POPD
Takes you back to the directory you “pushed” from.

By using CALL, EXIT /B, SETLOCAL & ENDLOCAL you can implement subroutines with local variables.

example:

@echo off

set x=xxxxx
call :sub 10
echo %x%
exit /b

:sub
setlocal
set /a x=%1 + 1
echo %x%
endlocal
exit /b

This will print

11
xxxxx

even though :sub modifies x.

Creating an empty file:

> copy nul filename.ext

The equivalent of the bash (and other shells)

echo -n Hello # or
echo Hello\\c

which outputs “Hello” without a trailing newline. A cmd hack to do this:

<nul set /p any-variable-name=Hello

set /p is a way to prompt the user for input. It emits the given string and then waits, (on the same line, i.e., no CRLF), for the user to type a response.

<nul simply pipes an empty response to the set /p command, so the net result is the emitted prompt string. (The variable used remains unchanged due to the empty reponse.)

Problems are: It’s not possible to output a leading equal sign, and on Vista leading whitespace characters are removed, but not on XP.

Command separators:

cls & dir
copy a b && echo Success
copy a b || echo Failure

At the 2nd line, the command after && only runs if the first command is successful.

At the 3rd line, the command after || only runs if the first command failed.

Doesn’t provide much functionality, but you can use the title command for a couple of uses, like providing status on a long script in the task bar, or just to enhance user feedback.

@title Searching for …
:: processing search
@title preparing search results
:: data processing

And there are many more. If you want to learn something new, this topic is must have reading!