I won’t release a x32 how to because the Surface SDK SP1 is Win7 friendly so you have just to install it and then install the samples or other applications to get it running (see my post on customsurface input to know how to do that).
But if you are running x64, you may have to technical difficulties to get it working.
Here are some tools, msi, and tips to get it working.
First, you have to get some softwares. You’re going to need Visual Studio 2008 and the Windows 7 SDK to get this patch working. You’re also going to need patched msi to get the SDK and the applications installed. Unfortunatly, I can’t distribute all the msi patched for two resons : in one hand, it would be against the EULA, in the other hand, it would represent a file over 1.5Go and you would become crazy downloading it.
So here we go :
Please install Visual Studio 2008 with full installation and the Windows 7 SDK.
1°) Create a folder called “surface” in c:\\ . Copy the Surface SDK exe installer in this folder. Rename it to “Microsoft Surface SDK 1.0 SP1, Workstation Edition.exe” if it isn’t so.
Go back in c:\\, right click on the “surface” folder while holding shift. Click on “launch a command window here”. Now type/paste this
"Microsoft Surface SDK 1.0 SP1, Workstation Edition.exe" /extract c:\\surface
And hit enter.
2°) Launch an elevated command prompt, navigate to the previous folder by typing “cd c:\\surface”. Now type/paste this
msiexec /a SurfaceSDKWE.msi /qb TARGETDIR=c:\\surface
and hit enter.
3°) Now we are going to patch the msi in order to be able to install the SDK on a non Vista x32 computer. Now that you have the Win7 SDK installed, you have somewhere in your pc a mis called “Orca”. Search it and run it. You should get Orca installed. Then type in the start menu search box “orca” and launch it.
Now open the SurfaceSDKWE.msi from the c:\\surface\\ folder. Select LaunchCondition from the left pane. In the right pane, select the row labeled Installed OR NOT VersionNT64, right-click, and select Drop Row. This will remove the check for a 64-bit OS.
Save the MSI using the standard File –> Save menu option.
4°) Go in the start menu, then launch an elevated Vistual Studio command prompt (shortcut located in the Visual Studio 2008/Tools folder. Change to the c:\\surface\\Microsoft Surface\\v1.0 directory and then type in :
corflags setupcustomaction.exe /32bit+ /force
5°) Install the SDK with the SurfaceSDKWE.msi in the c:\\surface\\ directory.
6°) Go in the start menu, then launch an elevated Vistual Studio command prompt (shortcut located in the Visual Studio 2008/Tools folder.
Change to the “C:\\Program Files (x86)\\Microsoft SDKs\\Surface\\v1.0\\Tools\\Simulator” and run the following command :
corflags SurfaceSimulator.exe /32bit+ /force
Now change to the “C:\\Program Files (x86)\\Microsoft Surface\\v1.0” and run the following command :
for %i in (*.exe) do corflags %i /32bit+ /force