-
How-To: Installing Smart Client Software Factory May 2007 source code and customizing the Guidance Package in Visual Studio Orcas Beta 2
4 CommentsNow that we have Smart Client Software Factory May 2007 (SCSF) installed on a box with only Visual Studio Orcas Beta 2, we may want to install the SCSF source code, and why not, customize the guidance package.
To do this, we first have to modify the source code installer as we do with the factory installer (with some slightly different steps).
- Download and install Orca MSI editor (which is distributed with the Windows SDK). The Orca MSI Editor is a table-editing tool that can be used to edit your .msi files. If you want to learn more about this tool, please visit this link.
Note: If you don’t want to download the Windows SDK, a guy published the Orca.msi tool (Download from this place at your own risk) .
- Open Orca MSI editor and then go to File > Open…. Browse to %programfiles%\Microsoft Smart Client Factory\Source Code Installer and select the SmartClientFactorySourceInstall.msi file.
Figure 1. The Orca MSI editor with the Smart Client Software Factory Source Code msi opened. - Select the RegLocator table from the tables list.
Figure 2. The RegLocator table of the SCSF Source Code msi. - Modify the following key values (replace the 8.0 with 9.0 in the paths) from this table:
- VisualStudioProjectRegistry
- VisualStudioInstallRegistry
This is how it should look after replacing these values
Figure 3. The RegLocator table values modified. - Save the changes.
- Install Smart Client Software Factory May 2007 source code.
Figure 4. The SCSF Source Code is properly installed.
Now that the source code is installed, we need to open the guidance package to see if we are able to customize it or if we have to do something else before.
- Browse to %sourcecodedir% and open GuidancePackage.sln.
- Because the Guidance Package was created with a previous version of Visual Studio you must convert the solution. The Conversion Wizard will guide you through the process. Click Next to proceed.
Figure 5. The Visual Studio Conversion Wizard. - Click Finish to start the conversion.
- Click Close.
- If you try to build de solution you will encounter compilation errors.
Figure 6. Compilation errors after building the guidance package.
This happens because the package and the installer references to GAX 1.2 assemblies instead of GAX 1.3
Figure 7. Missing references in the guidance package and in the installer. - Remove the references and add them again. You will find the assemblies in the .NET Tab of the Add Reference dialog or in %programfiles%\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies.
Note: The assembly Microsoft.VisualStudio.Shell.Design is included in the Visual Studio 2008 SDK. You have to install the SDK in order to add this reference (Download SDK). After installing it the assembly will appear in the .NET Tab.
- Customize your package. Build, register and enjoy!.
Hope you find this guidance useful. Feel free to visit us at Codeplex Forum to give us feedback.
Important: Keep in mind that this is just a workaround so use these steps at your own risk. This guidance is provided "as is" without warranty of any kind.
- Download and install Orca MSI editor (which is distributed with the Windows SDK). The Orca MSI Editor is a table-editing tool that can be used to edit your .msi files. If you want to learn more about this tool, please visit this link.
-
4 Comments:
Leave a comment
Your email address will not be published.

http:// said on September 25, 2007:
Hi I have a question for the author–
I’m the researcher for my company and I have been trying to “kick the tires” on microsoft’s latest recommended approach to smart client architecture.
Im finding myself excited to research the potential of this project but frustrated because my knowledge of setup and deployment is too weak to even get the templates installed on my machine. My fear is that my higher ups will dismiss this technology as immature if I dont present it in a simpler fashion.
anyways,
step 7 says: “build, register, and deploy!”, well I have a ‘GuidancePackage’ solution in my “\My Documents\Visual Studio 2008\Projects\SCSF Source”, and it builds, but I have no idea how to “register” such that it appears as a template in my available project types.
Thanks in advance, and the rest of your instructions above were extremely helpful!
software developer said on October 20, 2009:
That was inspiring,
This is a very useful step by step guide, i would recommend this comment to anybody that would need help with installing smart client software
Thanks for writing about it
Install Software said on February 3, 2010:
Hi there.
Great installation help…thanks, fixed my problem.
Anyone reading this guys stuff should bookmark it.
Install Software said on February 6, 2010:
Another great post.
Thanks for the tips and help.
Everyone, bookmark this site.