Installing Microsoft Commerce Server 2009 R2 with Microsoft Anti-Cross site scripting library v4.2.1

It is strange how Microsoft always keeps forgetting about backward compatibility. Last year they released Microsoft Commerce Server 2009 R2 which requires Microsoft Anti-Cross site scripting library v3.1 as a prerequisite but now Microsoft has removed Microsoft Anti-Cross site scripting library v3.1 from their download sections and it has also been removed from codeplex in favor of it’s newer version which is Microsoft Anti-Cross site scripting library v4.2.1. If you will try to install Commerce Server 2009 R2 with Microsoft Anti-Cross site scripting library v4.2.1, it will not let you pass through prerequisite section and you will stuck at pre-requisite section like the one below:

clip_image002

So how to install Commerce Server now? I googled about this but was not able to get any answer and strangely Microsoft also forgot about their own product. After playing around with an XML file within Commerce Server installation folder, I was able to install Commerce Server with Microsoft Anti-Cross site scripting library v4.2.1.

In Commserce Server\msi folder, you can find setup64.xml file which has all pre-requisite information that is checked dby setup. This file checks for the regisrty key of Microsoft Anti-Cross site scripting library v3.1. You can update this registry key with the key for Microsoft Anti-Cross site scripting library v4.2.1. Once you have updated the file, the setup will not prompt you for Microsoft Anti-Cross site scripting library v3.1 and will install with correct version. For convenience, I have added the updated file with the post

https://skydrive.live.com/embed?cid=C8D5222E0E2125AE&resid=C8D5222E0E2125AE%21810&authkey=ANU1H7I5YhzsCdA