<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Code Smart Not Hard - Team Build 2010</title>
    <link>http://codesmartnothard.com/</link>
    <description>Team Foundation Server, Frameworks, and Code Generation</description>
    <language>en-us</language>
    <copyright>Michael Douglas</copyright>
    <lastBuildDate>Fri, 28 May 2010 05:36:00 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>mike@doitconsultants.com</managingEditor>
    <webMaster>mike@doitconsultants.com</webMaster>
    <item>
      <trackback:ping>http://codesmartnothard.com/Trackback.aspx?guid=4d763950-5662-4d9f-ae2e-5472c8f8bb4b</trackback:ping>
      <pingback:server>http://codesmartnothard.com/pingback.aspx</pingback:server>
      <pingback:target>http://codesmartnothard.com/PermaLink,guid,4d763950-5662-4d9f-ae2e-5472c8f8bb4b.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://codesmartnothard.com/CommentView,guid,4d763950-5662-4d9f-ae2e-5472c8f8bb4b.aspx</wfw:comment>
      <wfw:commentRss>http://codesmartnothard.com/SyndicationService.asmx/GetEntryCommentsRss?guid=4d763950-5662-4d9f-ae2e-5472c8f8bb4b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I have released Team Deploy 2010 for Team Foundation Server 2010.  In this
post, I am going to give a quick overview of Team Deploy if you haven’t used it before,
explain this release and upcoming releases, compare it to Lab Management 2010, and
give a walkthrough for setting it up and uninstalling it.
</p>
        <h4>What is Team Deploy?
</h4>
        <p>
Team Deploy is a set of custom build activities used to deploy MSIs to multiple client
PCs and/or deploy services to servers.  This activities include the ability to
kill processes, start/stop services, pass in arguments to the MSIs, provide the service
username/password, and uninstall previous versions.  Team Deploy uses SysInternal’s
PSTools to remotely execute MSIEXEC to install the MSIs and PSKill to kill processes. 
By using Team Deploy, development teams can create automated build and deploy processes
for better configuration management.  Deployments can be done on demand or scheduled
just like any other build in Team Build.  If you are using Team Foundation Server
2008, Team Deploy 2.1 is the current release to download.  Team Deploy is open
source and free to use.  It can be downloaded from <a href="http://teamdeploy.codeplex.com">http://teamdeploy.codeplex.com</a></p>
        <h4>This Release and Future Plans
</h4>
        <p>
I am calling this version of Team Deploy 2010, Release 1.  This release is a
1 for 1 port of the MSBuild tasks to Workflow custom activities.  I wanted to
release this version without any additional enhancements so development teams can
upgrade their build definitions to workflow.  I have a lot ideas for future versions. 
Lab Management 2010 has given me some ideas (see comparison below) and there are several
other things I want to do.  Here is a list of some:
</p>
        <ul>
          <li>
            <strong>MSI Package for Team Deploy 2010</strong> – For custom build tasks, deployments
are easy.  Basically just copy the Dll to the MSBuilds folder and use that path
in the build definitions.  For Team Build custom activities, it is a little more
complicated.  As you will see in the Setup Walkthrough below, there are several
steps that are fairly easy to do manually but are going to be more difficult to do
with a custom task.  I have begun working on this but it wasn’t ready for this
release.</li>
          <li>
            <strong>Breakout Deploy activity into Workflow</strong> – Currently the Deploy activity
does all the work and calls the other activities within code.  I want to create
an additional workflow with all of these steps in a workflow.</li>
          <li>
            <strong>PowerShell capabilities</strong> – PowerShell 2.0 has the ability to be run
on remote machines.  I want to research this functionality and see if it makes
sense to create an addition set of activities that use PowerShell instead of PSTools.</li>
          <li>
            <strong>Custom Build Definition Screen </strong>– Display screen to create the deployment
options through the UI instead of creating it in XML today.</li>
          <li>
            <strong>Change the Threadpool to .Net 4 Tasks</strong> for deploying to multiple machines
at the same time.</li>
          <li>
            <strong>Team Deploy build definition to call another definition</strong> to 
do the build and deploy (Similar to Lab Management)</li>
        </ul>
        <h4>Team Deploy and Lab Management
</h4>
        <p>
Visual Studio 2010 introduces an additional product for Team Foundation Server 2010
called Lab Management 2010.  This product allows virtual environments be created,
quickly provisioned, used for manual and automated testing.  Lab Management also
includes a new build definition type and activities.  With the build definition
type, it allows you to revert the virtual environment to a baseline snapshot, build
the application, deploy the application, run the automated tests, and capture the
results.  So Lab Management can do what Team Deploy can do and a lot more.  
The one area that I have seen Team Deploy used where Lab Management would not be used
is for deploying applications to QA and Production.  I have worked with several
companies that use Team Deploy to deploy to all of their environments for a consistent
deployment process.
</p>
        <h4>Team Deploy Setup
</h4>
        <p>
Here are the steps to install Team Deploy and create a simple build.
</p>
        <p>
1. The TeamDeploy2010_R1.zip file contains the following 4 files that are used to
install the application.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_2.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb.png" width="230" height="130" />
          </a>
        </p>
        <p>
2. Copy TeamDeploy.Activities.* to a location in source control and check in.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_4.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_1.png" width="404" height="101" />
          </a>
        </p>
        <p>
3. Add TeamDeploy.Activities.dll to the GAC using Gacutil.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_6.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_2.png" width="504" height="264" />
          </a>
        </p>
        <p>
4. Add source control location of custom assemblies to build controller.  ($/TestBuilds/CustomActivities
in this example)
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_8.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_3.png" width="504" height="466" />
          </a>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
5. Copy DeployTemplate.xaml to source control in the BuildProcessTemplates folder.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_10.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_4.png" width="504" height="129" />
          </a>
        </p>
        <p>
6. Create a new build definition.  In the Process Step click on “New” Template
and add the existing DeployTemplate.xaml template that was added to source control. 
Click OK.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_12.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_5.png" width="404" height="410" />
          </a>
        </p>
        <p>
7. Set the build properties to where the PSTools is installed and where the deployment
XML is located. Click Save.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_14.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_6.png" width="404" height="286" />
          </a>
        </p>
        <p>
8. Rename and edit SampleDeployScript.xml to specify applications to install and machines
to deploy to.  See <a href="http://teamdeploy.codeplex.com">http://teamdeploy.codeplex.com</a> website
for full list of options available. If you open the DeployTemplate.xaml.  It
should look like this.  
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_16.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_7.png" width="504" height="239" />
          </a> 
</p>
        <p>
If there is an error for the deploy activity.  Delete the AgentScope activity.
</p>
        <p>
1.  Add Team Deploy 2010 Activities by right clicking in the toolbox and select
“Choose Items…”. Make sure System.Activities Components tab is selected and select
“Browse…” to find the location of the TeamDeploy.Activities.dll and choose it.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_18.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_8.png" width="504" height="350" />
          </a>
        </p>
        <p>
  2. Once you have added the TeamDeploy.Activities.dll, you will see the activities
selected.  Click Ok.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_20.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_9.png" width="504" height="366" />
          </a>
        </p>
        <p>
        </p>
        <p>
3. Clicking Ok will add the activities to the toolbox. Drag the Deploy activity to
the AgentScope container.  The required properties will cause a red error icon
to display.  Fill out the properties to where you have the deployment script
and PSTools installed. (Sometimes the designer won’t let you drag the Deploy activity
to the canvas.  Save the workflow, exit Visual Studio 2010, and reopen the workflow. 
It should then.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_22.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_10.png" width="504" height="239" />
          </a>
        </p>
        <h4>Uninstalling or Updating Team Deploy 2010
</h4>
        <p>
1. Close Visual Studio 2010
</p>
        <p>
2. Stop the Visual Studio Team Foundation Build Service Host service.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_24.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_11.png" width="504" height="212" />
          </a>
        </p>
        <p>
3. To remove Team Deploy from the GAC, browse to c:\windows\microsoft.net\assembly\gac_msil
and delete the TeamDeploy.Activities folder.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_26.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_12.png" width="504" height="304" />
          </a>
        </p>
        <h4>Build Log of Deploy activity in Team Build 2010
</h4>
        <p>
Here is an example of the build log for the Deploy activity.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_28.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_13.png" width="504" height="246" />
          </a>
        </p>
        <p>
I hope you enjoy!  Let me know if you have any ideas or run into problems.
</p>
        <p>
Mike
</p>
        <img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=4d763950-5662-4d9f-ae2e-5472c8f8bb4b" />
      </body>
      <title>Team Deploy 2010 is released</title>
      <guid isPermaLink="false">http://codesmartnothard.com/PermaLink,guid,4d763950-5662-4d9f-ae2e-5472c8f8bb4b.aspx</guid>
      <link>http://codesmartnothard.com/TeamDeploy2010IsReleased.aspx</link>
      <pubDate>Fri, 28 May 2010 05:36:00 GMT</pubDate>
      <description>&lt;p&gt;
Today I have released Team Deploy 2010 for Team Foundation Server 2010.&amp;#160; In this
post, I am going to give a quick overview of Team Deploy if you haven’t used it before,
explain this release and upcoming releases, compare it to Lab Management 2010, and
give a walkthrough for setting it up and uninstalling it.
&lt;/p&gt;
&lt;h4&gt;What is Team Deploy?
&lt;/h4&gt;
&lt;p&gt;
Team Deploy is a set of custom build activities used to deploy MSIs to multiple client
PCs and/or deploy services to servers.&amp;#160; This activities include the ability to
kill processes, start/stop services, pass in arguments to the MSIs, provide the service
username/password, and uninstall previous versions.&amp;#160; Team Deploy uses SysInternal’s
PSTools to remotely execute MSIEXEC to install the MSIs and PSKill to kill processes.&amp;#160;
By using Team Deploy, development teams can create automated build and deploy processes
for better configuration management.&amp;#160; Deployments can be done on demand or scheduled
just like any other build in Team Build.&amp;#160; If you are using Team Foundation Server
2008, Team Deploy 2.1 is the current release to download.&amp;#160; Team Deploy is open
source and free to use.&amp;#160; It can be downloaded from &lt;a href="http://teamdeploy.codeplex.com"&gt;http://teamdeploy.codeplex.com&lt;/a&gt;
&lt;/p&gt;
&lt;h4&gt;This Release and Future Plans
&lt;/h4&gt;
&lt;p&gt;
I am calling this version of Team Deploy 2010, Release 1.&amp;#160; This release is a
1 for 1 port of the MSBuild tasks to Workflow custom activities.&amp;#160; I wanted to
release this version without any additional enhancements so development teams can
upgrade their build definitions to workflow.&amp;#160; I have a lot ideas for future versions.&amp;#160;
Lab Management 2010 has given me some ideas (see comparison below) and there are several
other things I want to do.&amp;#160; Here is a list of some:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;MSI Package for Team Deploy 2010&lt;/strong&gt; – For custom build tasks, deployments
are easy.&amp;#160; Basically just copy the Dll to the MSBuilds folder and use that path
in the build definitions.&amp;#160; For Team Build custom activities, it is a little more
complicated.&amp;#160; As you will see in the Setup Walkthrough below, there are several
steps that are fairly easy to do manually but are going to be more difficult to do
with a custom task.&amp;#160; I have begun working on this but it wasn’t ready for this
release.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Breakout Deploy activity into Workflow&lt;/strong&gt; – Currently the Deploy activity
does all the work and calls the other activities within code.&amp;#160; I want to create
an additional workflow with all of these steps in a workflow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PowerShell capabilities&lt;/strong&gt; – PowerShell 2.0 has the ability to be run
on remote machines.&amp;#160; I want to research this functionality and see if it makes
sense to create an addition set of activities that use PowerShell instead of PSTools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Build Definition Screen &lt;/strong&gt;– Display screen to create the deployment
options through the UI instead of creating it in XML today.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Change the Threadpool to .Net 4 Tasks&lt;/strong&gt; for deploying to multiple machines
at the same time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Team Deploy build definition to call another definition&lt;/strong&gt; to&amp;#160;
do the build and deploy (Similar to Lab Management)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Team Deploy and Lab Management
&lt;/h4&gt;
&lt;p&gt;
Visual Studio 2010 introduces an additional product for Team Foundation Server 2010
called Lab Management 2010.&amp;#160; This product allows virtual environments be created,
quickly provisioned, used for manual and automated testing.&amp;#160; Lab Management also
includes a new build definition type and activities.&amp;#160; With the build definition
type, it allows you to revert the virtual environment to a baseline snapshot, build
the application, deploy the application, run the automated tests, and capture the
results.&amp;#160; So Lab Management can do what Team Deploy can do and a lot more.&amp;#160;&amp;#160;
The one area that I have seen Team Deploy used where Lab Management would not be used
is for deploying applications to QA and Production.&amp;#160; I have worked with several
companies that use Team Deploy to deploy to all of their environments for a consistent
deployment process.
&lt;/p&gt;
&lt;h4&gt;Team Deploy Setup
&lt;/h4&gt;
&lt;p&gt;
Here are the steps to install Team Deploy and create a simple build.
&lt;/p&gt;
&lt;p&gt;
1. The TeamDeploy2010_R1.zip file contains the following 4 files that are used to
install the application.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb.png" width="230" height="130" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
2. Copy TeamDeploy.Activities.* to a location in source control and check in.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_4.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_1.png" width="404" height="101" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
3. Add TeamDeploy.Activities.dll to the GAC using Gacutil.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_6.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_2.png" width="504" height="264" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
4. Add source control location of custom assemblies to build controller.&amp;#160; ($/TestBuilds/CustomActivities
in this example)
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_8.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_3.png" width="504" height="466" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
5. Copy DeployTemplate.xaml to source control in the BuildProcessTemplates folder.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_10.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_4.png" width="504" height="129" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
6. Create a new build definition.&amp;#160; In the Process Step click on “New” Template
and add the existing DeployTemplate.xaml template that was added to source control.&amp;#160;
Click OK.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_12.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_5.png" width="404" height="410" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
7. Set the build properties to where the PSTools is installed and where the deployment
XML is located. Click Save.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_14.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_6.png" width="404" height="286" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
8. Rename and edit SampleDeployScript.xml to specify applications to install and machines
to deploy to.&amp;#160; See &lt;a href="http://teamdeploy.codeplex.com"&gt;http://teamdeploy.codeplex.com&lt;/a&gt; website
for full list of options available. If you open the DeployTemplate.xaml.&amp;#160; It
should look like this.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_16.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_7.png" width="504" height="239" /&gt;&lt;/a&gt;&amp;#160;
&lt;/p&gt;
&lt;p&gt;
If there is an error for the deploy activity.&amp;#160; Delete the AgentScope activity.
&lt;/p&gt;
&lt;p&gt;
1.&amp;#160; Add Team Deploy 2010 Activities by right clicking in the toolbox and select
“Choose Items…”. Make sure System.Activities Components tab is selected and select
“Browse…” to find the location of the TeamDeploy.Activities.dll and choose it.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_18.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_8.png" width="504" height="350" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160; 2. Once you have added the TeamDeploy.Activities.dll, you will see the activities
selected.&amp;#160; Click Ok.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_20.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_9.png" width="504" height="366" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
3. Clicking Ok will add the activities to the toolbox. Drag the Deploy activity to
the AgentScope container.&amp;#160; The required properties will cause a red error icon
to display.&amp;#160; Fill out the properties to where you have the deployment script
and PSTools installed. (Sometimes the designer won’t let you drag the Deploy activity
to the canvas.&amp;#160; Save the workflow, exit Visual Studio 2010, and reopen the workflow.&amp;#160;
It should then.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_22.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_10.png" width="504" height="239" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h4&gt;Uninstalling or Updating Team Deploy 2010
&lt;/h4&gt;
&lt;p&gt;
1. Close Visual Studio 2010
&lt;/p&gt;
&lt;p&gt;
2. Stop the Visual Studio Team Foundation Build Service Host service.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_24.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_11.png" width="504" height="212" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
3. To remove Team Deploy from the GAC, browse to c:\windows\microsoft.net\assembly\gac_msil
and delete the TeamDeploy.Activities folder.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_26.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_12.png" width="504" height="304" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h4&gt;Build Log of Deploy activity in Team Build 2010
&lt;/h4&gt;
&lt;p&gt;
Here is an example of the build log for the Deploy activity.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_28.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/TeamDeploy2010isreleased_13DA0/image_thumb_13.png" width="504" height="246" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
I hope you enjoy!&amp;#160; Let me know if you have any ideas or run into problems.
&lt;/p&gt;
&lt;p&gt;
Mike
&lt;/p&gt;
&lt;img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=4d763950-5662-4d9f-ae2e-5472c8f8bb4b" /&gt;</description>
      <comments>http://codesmartnothard.com/CommentView,guid,4d763950-5662-4d9f-ae2e-5472c8f8bb4b.aspx</comments>
      <category>Team Build;Team Build 2010;Team Foundation Server;TFS 2010;Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://codesmartnothard.com/Trackback.aspx?guid=42e349fa-fd1f-462f-849c-463524243ab7</trackback:ping>
      <pingback:server>http://codesmartnothard.com/pingback.aspx</pingback:server>
      <pingback:target>http://codesmartnothard.com/PermaLink,guid,42e349fa-fd1f-462f-849c-463524243ab7.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://codesmartnothard.com/CommentView,guid,42e349fa-fd1f-462f-849c-463524243ab7.aspx</wfw:comment>
      <wfw:commentRss>http://codesmartnothard.com/SyndicationService.asmx/GetEntryCommentsRss?guid=42e349fa-fd1f-462f-849c-463524243ab7</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Thanks everyone for coming on Tuesday to the Omaha Team System User Group meeting
to see my presentation on <strong>What’s New for Testing in Visual Studio 2010 and
TFS 2010.</strong> It was a great turnout and there were a lot of great dialog and
questions asked. 
</p>
        <p>
Here’s the slides from the presentation. 
<br /><a title="http://www.codesmartnothard.com/content/binary/Whats_New_for_Testing_in_Visual_Studio_2010.zip" href="http://www.codesmartnothard.com/content/binary/Whats_New_for_Testing_in_Visual_Studio_2010.zip">http://www.codesmartnothard.com/content/binary/Whats_New_for_Testing_in_Visual_Studio_2010.zip</a></p>
        <p>
If you missed it or know anyone else that wants to see it, I’m doing this presentation
again on a Webcast on April 14th at 11:00 (central time). Here’s the link: 
<br /><a title="https://www.clicktoattend.com/invitation.aspx?code=146828" href="https://www.clicktoattend.com/invitation.aspx?code=146828">https://www.clicktoattend.com/invitation.aspx?code=146828</a></p>
        <p>
Contact us below if you would like more information about implementing Team Foundation
Server and/or Visual Studio Lab Management 2010.
</p>
        <p>
Thanks, 
<br />
Mike
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SlidedeckfromWhatsNewforTestinginVisualS_CBEF/deliveron_banner_2.gif">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="deliveron_banner" border="0" alt="deliveron_banner" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SlidedeckfromWhatsNewforTestinginVisualS_CBEF/deliveron_banner_thumb.gif" width="472" height="64" />
          </a>
        </p>
        <img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=42e349fa-fd1f-462f-849c-463524243ab7" />
      </body>
      <title>Slide Deck from Whats New for Testing in Visual Studio 2010 and TFS 2010</title>
      <guid isPermaLink="false">http://codesmartnothard.com/PermaLink,guid,42e349fa-fd1f-462f-849c-463524243ab7.aspx</guid>
      <link>http://codesmartnothard.com/SlideDeckFromWhatsNewForTestingInVisualStudio2010AndTFS2010.aspx</link>
      <pubDate>Thu, 25 Mar 2010 19:30:09 GMT</pubDate>
      <description>&lt;p&gt;
Thanks everyone for coming on Tuesday to the Omaha Team System User Group meeting
to see my presentation on &lt;strong&gt;What’s New for Testing in Visual Studio 2010 and
TFS 2010.&lt;/strong&gt; It was a great turnout and there were a lot of great dialog and
questions asked. 
&lt;/p&gt;
&lt;p&gt;
Here’s the slides from the presentation. 
&lt;br /&gt;
&lt;a title="http://www.codesmartnothard.com/content/binary/Whats_New_for_Testing_in_Visual_Studio_2010.zip" href="http://www.codesmartnothard.com/content/binary/Whats_New_for_Testing_in_Visual_Studio_2010.zip"&gt;http://www.codesmartnothard.com/content/binary/Whats_New_for_Testing_in_Visual_Studio_2010.zip&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
If you missed it or know anyone else that wants to see it, I’m doing this presentation
again on a Webcast on April 14th at 11:00 (central time). Here’s the link: 
&lt;br /&gt;
&lt;a title="https://www.clicktoattend.com/invitation.aspx?code=146828" href="https://www.clicktoattend.com/invitation.aspx?code=146828"&gt;https://www.clicktoattend.com/invitation.aspx?code=146828&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Contact us below if you would like more information about implementing Team Foundation
Server and/or Visual Studio Lab Management 2010.
&lt;/p&gt;
&lt;p&gt;
Thanks, 
&lt;br /&gt;
Mike
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SlidedeckfromWhatsNewforTestinginVisualS_CBEF/deliveron_banner_2.gif"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="deliveron_banner" border="0" alt="deliveron_banner" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SlidedeckfromWhatsNewforTestinginVisualS_CBEF/deliveron_banner_thumb.gif" width="472" height="64" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=42e349fa-fd1f-462f-849c-463524243ab7" /&gt;</description>
      <comments>http://codesmartnothard.com/CommentView,guid,42e349fa-fd1f-462f-849c-463524243ab7.aspx</comments>
      <category>Deliveron;Lab Management;Team Build;Team Build 2010;Team Foundation Server;TFS 2010</category>
    </item>
    <item>
      <trackback:ping>http://codesmartnothard.com/Trackback.aspx?guid=c6e1208a-2116-47c6-ae58-6a158d757d14</trackback:ping>
      <pingback:server>http://codesmartnothard.com/pingback.aspx</pingback:server>
      <pingback:target>http://codesmartnothard.com/PermaLink,guid,c6e1208a-2116-47c6-ae58-6a158d757d14.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://codesmartnothard.com/CommentView,guid,c6e1208a-2116-47c6-ae58-6a158d757d14.aspx</wfw:comment>
      <wfw:commentRss>http://codesmartnothard.com/SyndicationService.asmx/GetEntryCommentsRss?guid=c6e1208a-2116-47c6-ae58-6a158d757d14</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I’m excited to be speaking 3 times in the next month on the new testing capabilities
in Visual Studio 2010 and TFS 2010.  Two events are listed below.  The third
event is full.  I hope you can make one of them.
</p>
        <p>
Sign up for the <a href="http://www.deliveron.com/newsletters.htm" target="_blank">Deliveron
Newsletter</a> to be notified about future presentations.
</p>
        <h4>Presentation Overview
</h4>
        <p>
Visual Studio 2010 introduces Lab Management 2010 and Test Professional 2010 to remove
the silos between QA professionals and developers to establish a more cohesive development
and testing process.  Together these products include tools and features for
creating test plans, creating and running manual tests, automated UI testing, creating
test virtual environments, recording manual tests, and collecting diagnostic and error
data to easily include with bugs.  See how everyone on your development and testing
teams can take advantage of these improvements
</p>
        <h4>Omaha Team System User Group Meeting
</h4>
        <p>
March 23, 2010 at 6:00pm 
<br />
Farm Credit Services of America 
<br />
5015 S 118th St 
<br />
Omaha, NE 68137 
<br /><a href="http://www.funwith.net/Events.aspx?ID=72" target="_blank">Register here</a></p>
        <h4>Deliveron April Webcast
</h4>
        <p>
April 14th, 2010 at 11:00am Central Time 
<br /><a href="https://www.clicktoattend.com/invitation.aspx?code=146828" target="_blank">Register
here</a></p>
        <img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=c6e1208a-2116-47c6-ae58-6a158d757d14" />
      </body>
      <title>What&amp;rsquo;s New for Testing in Visual Studio 2010 and TFS 2010 Presentations</title>
      <guid isPermaLink="false">http://codesmartnothard.com/PermaLink,guid,c6e1208a-2116-47c6-ae58-6a158d757d14.aspx</guid>
      <link>http://codesmartnothard.com/WhatrsquosNewForTestingInVisualStudio2010AndTFS2010Presentations.aspx</link>
      <pubDate>Mon, 22 Mar 2010 22:40:00 GMT</pubDate>
      <description>&lt;p&gt;
I’m excited to be speaking 3 times in the next month on the new testing capabilities
in Visual Studio 2010 and TFS 2010.&amp;#160; Two events are listed below.&amp;#160; The third
event is full.&amp;#160; I hope you can make one of them.
&lt;/p&gt;
&lt;p&gt;
Sign up for the &lt;a href="http://www.deliveron.com/newsletters.htm" target="_blank"&gt;Deliveron
Newsletter&lt;/a&gt; to be notified about future presentations.
&lt;/p&gt;
&lt;h4&gt;Presentation Overview
&lt;/h4&gt;
&lt;p&gt;
Visual Studio 2010 introduces Lab Management 2010 and Test Professional 2010 to remove
the silos between QA professionals and developers to establish a more cohesive development
and testing process.&amp;#160; Together these products include tools and features for
creating test plans, creating and running manual tests, automated UI testing, creating
test virtual environments, recording manual tests, and collecting diagnostic and error
data to easily include with bugs.&amp;#160; See how everyone on your development and testing
teams can take advantage of these improvements
&lt;/p&gt;
&lt;h4&gt;Omaha Team System User Group Meeting
&lt;/h4&gt;
&lt;p&gt;
March 23, 2010 at 6:00pm 
&lt;br /&gt;
Farm Credit Services of America 
&lt;br /&gt;
5015 S 118th St 
&lt;br /&gt;
Omaha, NE 68137 
&lt;br /&gt;
&lt;a href="http://www.funwith.net/Events.aspx?ID=72" target="_blank"&gt;Register here&lt;/a&gt;
&lt;/p&gt;
&lt;h4&gt;Deliveron April Webcast
&lt;/h4&gt;
&lt;p&gt;
April 14th, 2010 at 11:00am Central Time 
&lt;br /&gt;
&lt;a href="https://www.clicktoattend.com/invitation.aspx?code=146828" target="_blank"&gt;Register
here&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=c6e1208a-2116-47c6-ae58-6a158d757d14" /&gt;</description>
      <comments>http://codesmartnothard.com/CommentView,guid,c6e1208a-2116-47c6-ae58-6a158d757d14.aspx</comments>
      <category>Team Build 2010;Team Foundation Server;TFS 2010;Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://codesmartnothard.com/Trackback.aspx?guid=be3fbe67-01ea-4f75-8a0a-ad14d9ddd302</trackback:ping>
      <pingback:server>http://codesmartnothard.com/pingback.aspx</pingback:server>
      <pingback:target>http://codesmartnothard.com/PermaLink,guid,be3fbe67-01ea-4f75-8a0a-ad14d9ddd302.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://codesmartnothard.com/CommentView,guid,be3fbe67-01ea-4f75-8a0a-ad14d9ddd302.aspx</wfw:comment>
      <wfw:commentRss>http://codesmartnothard.com/SyndicationService.asmx/GetEntryCommentsRss?guid=be3fbe67-01ea-4f75-8a0a-ad14d9ddd302</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
To me there has always been a feeling a of excitement to be able to build an application
and then deliver it to someone that wants it. When I first started programming over
20 years ago with GW-BASIC on my Tandy 1000 EX, it was limiting that what I built
could only be run within GW-BASIC since it was an interpreted language environment
and not compiled. When I bought Quick Basic 4.5, I could finally compile my applications
into an EXE and run them outside of the interpreter. Then I felt like I hit the big
time when I was able to build my first setup package in Visual Basic 4. I remember
I built a Hello World caliber application and created a setup package that took 3
or 4 floppy disks. I didn’t think it could get any better than this :) Over the years
the the excitement about delivering applications became more from the what was built
and not how it would be delivered. Visual Studio has always included functional, no
frills setup projects. 3rd Party vendors have created easier to use and more power
tools for creating deployment projects such as InstallShield. Developers who didn’t
purchase a 3rd Party tool were limited to using the OOB (out of the box) setup projects
within Visual Studio. While this is functional, the developer has to know where and
how to do things and the usability is not very intuitive. It requires many steps to
creating a MSI that I have blogged about in <a href="http://codesmartnothard.com/DeploymentsWithTFSPart2HowToCreateAnAutomatedDeploymentMSI.aspx" target="_blank">Deployments
with TFS Part 2: How to create an automated deployment MSI</a>. In Visual Studio 2010
there is finally an easy to solution without purchasing an additional production.
</p>
        <p>
Last week I saw this post from Somasegar on <a href="http://blogs.msdn.com/somasegar/archive/2009/12/14/building-setup-and-deployment-packages-in-vs-2010.aspx" target="_blank">Building
setup and deployment packages in VS 2010</a>. Microsoft has partnered with Flexera,
makers of InstallShield to create InstallShield Limited Edition for Visual Studio
2010. This brings the InstallShield graphical interface to Visual Studio. In addition
to providing a highly intuitive interface for building setup packages, this product
allows setup packages to be built from with TFS Team Builds. This has been a major
pain point for automated deployments and SCM (Software Configuration Management) processes.
I downloaded and installed InstallShield 2010 LE and here is a walkthrough of the
tool.
</p>
        <h3>Download and Installation
</h3>
        <p>
Read Somasegar’s blog post on how to download and install it. (see link above)
</p>
        <p>
        </p>
        <h3>InstallShield 2010 LE Setup project
</h3>
        <p>
Once it is installed and you create a InstallShield Setup project, the Project Assignment
view is the default view. As you can see, the graphic is a guide that explains the
parts of the MSI and the steps to create the package. At the bottom of the screen
are the steps to the installation project. In addition to the steps at the bottom
of the guide, there are also intuitive steps to the right that keep all of the package
settings cleanly organized. 
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_2.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb.png" width="804" height="479" />
          </a>
        </p>
        <p>
This first step is to fill out the basic information about the application that is
going to be deployed.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_6.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_2.png" width="804" height="481" />
          </a>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
In the second step, required operating systems and prerequisite applications can be
specified and enforced when installing the application. Custom prerequisites can be
defined by choosing “Create a custom software condition” under “More Options”.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_10.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_4.png" width="804" height="481" />
          </a>
        </p>
        <p>
The installation Architecture section step is disabled in the Limited Edition. In
the other editions different features can be defined for users to choose what sections
they want installed.
</p>
        <p>
        </p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_12.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_5.png" width="804" height="481" />
          </a>
        </p>
        <p>
The next step is the Application Files. Here the application’s files can be added
to the installation. The “Add Project Outputs” is the primary button for adding the
application files. I found this dialog window to be a lot easier to use than the Visual
Studio setup project.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_14.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_6.png" width="804" height="481" />
          </a>
        </p>
        <p>
        </p>
        <p>
The Application Shortcuts step is where desktop and start menu shortcuts can be defined. 
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_18.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_8.png" width="804" height="481" />
          </a>
        </p>
        <p>
If the application requires any registry entries, they can be defined in the Application
Registry step.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_20.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_9.png" width="804" height="481" />
          </a>
        </p>
        <p>
The last step is the Installation Interview. This step asks a series of questions
that drive what dialogs the user running the installation will see. Custom dialogs
are not supported in the InstallShield Limited Edition. Custom dialogs are supported
in the Visual Studio setup projects. For the automated deployment MSIs, I create a
dialog that allows the user to specify the environment.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_22.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_10.png" width="804" height="481" />
          </a>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
Custom Actions are non-standard activities that can be performed at different points
of the installation process. The Limited Edition supports VBScript, JScript, and Exe
custom actions. However, as shown in the following image, there are only a couple
points in the process where custom actions can be defined. The Premier and Professional
editions also support InstallScript, a powerful scripting tool to create more advanced
customizations to the installation process.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_26.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_12.png" width="804" height="481" />
          </a>
        </p>
        <p>
After I built the MSI, I ran package to install it. Users will see this message box
that the installation was created with a beta version of InstallShield. 
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_23.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_1.png" width="404" height="152" />
          </a>
        </p>
        <h3>InstallShield 2010 LE for Visual Studio 2008
</h3>
        <p>
The InstallShield 2010 LE Installation also installs a version that works within Visual
Studio 2008. This interface looks the same in Visual Studio 2008 as it does in Visual
Studio 2010.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_15.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_3.png" width="640" height="484" />
          </a>
        </p>
        <h3>
        </h3>
        <h3>Building MSIs with Team Build 2010
</h3>
        <p>
This is the feature I am most looking forward to in InstallShield 2010 LE. Standard
Visual Studio 2008 setup projects can not be built within Team Build without some
tricks. Unfortunately TFS Source Control and Team Build integration is not available
in this beta version. I verified this with Flexera. They are currently working on
it. As soon as an updated version is available with this enabled I will do a follow
up post detailing the TFS Source Control and Team Build experience. I’m interested
to see the following in action:
</p>
        <ul>
          <li>
Triggering a build and having the MSI compile with the updated assemblies.</li>
          <li>
Curious to see if the InstallShield Setup project build can detect new dependencies
added. My tests will include adding a reference to the primary output application.
Then do a new build to see if the MSI will automatically include it. It might be expecting
too much but this would be very beneficial.</li>
        </ul>
        <p>
        </p>
        <p>
        </p>
        <h3>Overall
</h3>
        <ul>
          <li>
The Project Assistant is a very simple to use series of steps to create a complete
setup project. As users feel more comfortable with the too, they will probably jump
to the specific screens they are looking for in the navigation pane on the right.
Both are highly intuitive and significant improvements over the the standard Visual
Studio setup projects. 
</li>
          <li>
Most things that are supported in the standard Visual Studio setup project can be
accomplished with InstallShield 2010 Limited Edition. For most installation packages,
these limitations will not be problem. However, I will not be able to create automated
deployment MSIs because of the limitations of no custom dialogs and not being able
to create custom properties. 
</li>
          <li>
Being able to rebuild the MSIs during each Team Build is a huge benefit. Once this
feature is available, I think it will become my favorite feature. 
</li>
          <li>
I believe Microsoft and Flexera will both win with this product. Microsoft’s Visual
Studio 2010 will include an improved tool for creating installation packages without
having to reinvent the wheel. Flexera has built an amazing and easy to use product
that will work for the majority of scenarios, but many will want to upgrade to the
Express, Professional, or Premier editions to get the full power of InstallShield.</li>
          <li>
The final product should be great, but this beta version is not ready to be used for
more than evaluation purposes. Between the beta message box that is displayed when
the user installs it and the fact that the TFS Source Control and Team Build integration
features are not available yet, I recommend waiting until the final version is released. 
</li>
        </ul>
        <p>
Mike
</p>
        <p>
        </p>
        <p>
          <a href="http://www.deliveron.com" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" src="http://www.codesmartnothard.com/images/deliveron_banner.gif" />
          </a>
        </p>
        <img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=be3fbe67-01ea-4f75-8a0a-ad14d9ddd302" />
      </body>
      <title>InstallShield Limited Edition for Visual Studio 2010 Walkthrough</title>
      <guid isPermaLink="false">http://codesmartnothard.com/PermaLink,guid,be3fbe67-01ea-4f75-8a0a-ad14d9ddd302.aspx</guid>
      <link>http://codesmartnothard.com/InstallShieldLimitedEditionForVisualStudio2010Walkthrough.aspx</link>
      <pubDate>Tue, 05 Jan 2010 06:28:00 GMT</pubDate>
      <description>&lt;p&gt;
To me there has always been a feeling a of excitement to be able to build an application
and then deliver it to someone that wants it. When I first started programming over
20 years ago with GW-BASIC on my Tandy 1000 EX, it was limiting that what I built
could only be run within GW-BASIC since it was an interpreted language environment
and not compiled. When I bought Quick Basic 4.5, I could finally compile my applications
into an EXE and run them outside of the interpreter. Then I felt like I hit the big
time when I was able to build my first setup package in Visual Basic 4. I remember
I built a Hello World caliber application and created a setup package that took 3
or 4 floppy disks. I didn’t think it could get any better than this :) Over the years
the the excitement about delivering applications became more from the what was built
and not how it would be delivered. Visual Studio has always included functional, no
frills setup projects. 3rd Party vendors have created easier to use and more power
tools for creating deployment projects such as InstallShield. Developers who didn’t
purchase a 3rd Party tool were limited to using the OOB (out of the box) setup projects
within Visual Studio. While this is functional, the developer has to know where and
how to do things and the usability is not very intuitive. It requires many steps to
creating a MSI that I have blogged about in &lt;a href="http://codesmartnothard.com/DeploymentsWithTFSPart2HowToCreateAnAutomatedDeploymentMSI.aspx" target="_blank"&gt;Deployments
with TFS Part 2: How to create an automated deployment MSI&lt;/a&gt;. In Visual Studio 2010
there is finally an easy to solution without purchasing an additional production.
&lt;/p&gt;
&lt;p&gt;
Last week I saw this post from Somasegar on &lt;a href="http://blogs.msdn.com/somasegar/archive/2009/12/14/building-setup-and-deployment-packages-in-vs-2010.aspx" target="_blank"&gt;Building
setup and deployment packages in VS 2010&lt;/a&gt;. Microsoft has partnered with Flexera,
makers of InstallShield to create InstallShield Limited Edition for Visual Studio
2010. This brings the InstallShield graphical interface to Visual Studio. In addition
to providing a highly intuitive interface for building setup packages, this product
allows setup packages to be built from with TFS Team Builds. This has been a major
pain point for automated deployments and SCM (Software Configuration Management) processes.
I downloaded and installed InstallShield 2010 LE and here is a walkthrough of the
tool.
&lt;/p&gt;
&lt;h3&gt;Download and Installation
&lt;/h3&gt;
&lt;p&gt;
Read Somasegar’s blog post on how to download and install it. (see link above)
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;h3&gt;InstallShield 2010 LE Setup project
&lt;/h3&gt;
&lt;p&gt;
Once it is installed and you create a InstallShield Setup project, the Project Assignment
view is the default view. As you can see, the graphic is a guide that explains the
parts of the MSI and the steps to create the package. At the bottom of the screen
are the steps to the installation project. In addition to the steps at the bottom
of the guide, there are also intuitive steps to the right that keep all of the package
settings cleanly organized. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb.png" width="804" height="479" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
This first step is to fill out the basic information about the application that is
going to be deployed.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_2.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
In the second step, required operating systems and prerequisite applications can be
specified and enforced when installing the application. Custom prerequisites can be
defined by choosing “Create a custom software condition” under “More Options”.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_4.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The installation Architecture section step is disabled in the Limited Edition. In
the other editions different features can be defined for users to choose what sections
they want installed.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_5.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The next step is the Application Files. Here the application’s files can be added
to the installation. The “Add Project Outputs” is the primary button for adding the
application files. I found this dialog window to be a lot easier to use than the Visual
Studio setup project.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_6.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
The Application Shortcuts step is where desktop and start menu shortcuts can be defined. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_8.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
If the application requires any registry entries, they can be defined in the Application
Registry step.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_9.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The last step is the Installation Interview. This step asks a series of questions
that drive what dialogs the user running the installation will see. Custom dialogs
are not supported in the InstallShield Limited Edition. Custom dialogs are supported
in the Visual Studio setup projects. For the automated deployment MSIs, I create a
dialog that allows the user to specify the environment.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_10.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Custom Actions are non-standard activities that can be performed at different points
of the installation process. The Limited Edition supports VBScript, JScript, and Exe
custom actions. However, as shown in the following image, there are only a couple
points in the process where custom actions can be defined. The Premier and Professional
editions also support InstallScript, a powerful scripting tool to create more advanced
customizations to the installation process.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_12.png" width="804" height="481" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
After I built the MSI, I ran package to install it. Users will see this message box
that the installation was created with a beta version of InstallShield. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_23.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_1.png" width="404" height="152" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h3&gt;InstallShield 2010 LE for Visual Studio 2008
&lt;/h3&gt;
&lt;p&gt;
The InstallShield 2010 LE Installation also installs a version that works within Visual
Studio 2008. This interface looks the same in Visual Studio 2008 as it does in Visual
Studio 2010.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_15.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/InstallShieldLimitedEditionforVisualStud_B816/image_thumb_3.png" width="640" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h3&gt;
&lt;/h3&gt;
&lt;h3&gt;Building MSIs with Team Build 2010
&lt;/h3&gt;
&lt;p&gt;
This is the feature I am most looking forward to in InstallShield 2010 LE. Standard
Visual Studio 2008 setup projects can not be built within Team Build without some
tricks. Unfortunately TFS Source Control and Team Build integration is not available
in this beta version. I verified this with Flexera. They are currently working on
it. As soon as an updated version is available with this enabled I will do a follow
up post detailing the TFS Source Control and Team Build experience. I’m interested
to see the following in action:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Triggering a build and having the MSI compile with the updated assemblies.&lt;/li&gt;
&lt;li&gt;
Curious to see if the InstallShield Setup project build can detect new dependencies
added. My tests will include adding a reference to the primary output application.
Then do a new build to see if the MSI will automatically include it. It might be expecting
too much but this would be very beneficial.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;h3&gt;Overall
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
The Project Assistant is a very simple to use series of steps to create a complete
setup project. As users feel more comfortable with the too, they will probably jump
to the specific screens they are looking for in the navigation pane on the right.
Both are highly intuitive and significant improvements over the the standard Visual
Studio setup projects. 
&lt;/li&gt;
&lt;li&gt;
Most things that are supported in the standard Visual Studio setup project can be
accomplished with InstallShield 2010 Limited Edition. For most installation packages,
these limitations will not be problem. However, I will not be able to create automated
deployment MSIs because of the limitations of no custom dialogs and not being able
to create custom properties. 
&lt;/li&gt;
&lt;li&gt;
Being able to rebuild the MSIs during each Team Build is a huge benefit. Once this
feature is available, I think it will become my favorite feature. 
&lt;/li&gt;
&lt;li&gt;
I believe Microsoft and Flexera will both win with this product. Microsoft’s Visual
Studio 2010 will include an improved tool for creating installation packages without
having to reinvent the wheel. Flexera has built an amazing and easy to use product
that will work for the majority of scenarios, but many will want to upgrade to the
Express, Professional, or Premier editions to get the full power of InstallShield.&lt;/li&gt;
&lt;li&gt;
The final product should be great, but this beta version is not ready to be used for
more than evaluation purposes. Between the beta message box that is displayed when
the user installs it and the fact that the TFS Source Control and Team Build integration
features are not available yet, I recommend waiting until the final version is released. 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Mike
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.deliveron.com" target="_blank"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" src="http://www.codesmartnothard.com/images/deliveron_banner.gif" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=be3fbe67-01ea-4f75-8a0a-ad14d9ddd302" /&gt;</description>
      <comments>http://codesmartnothard.com/CommentView,guid,be3fbe67-01ea-4f75-8a0a-ad14d9ddd302.aspx</comments>
      <category>Team Build 2010;Team Foundation Server;TFS 2010;Visual Studio 2008;Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://codesmartnothard.com/Trackback.aspx?guid=037fa71c-4188-4e48-93e2-64fb0d6ba9a4</trackback:ping>
      <pingback:server>http://codesmartnothard.com/pingback.aspx</pingback:server>
      <pingback:target>http://codesmartnothard.com/PermaLink,guid,037fa71c-4188-4e48-93e2-64fb0d6ba9a4.aspx</pingback:target>
      <dc:creator>Your DisplayName here!</dc:creator>
      <wfw:comment>http://codesmartnothard.com/CommentView,guid,037fa71c-4188-4e48-93e2-64fb0d6ba9a4.aspx</wfw:comment>
      <wfw:commentRss>http://codesmartnothard.com/SyndicationService.asmx/GetEntryCommentsRss?guid=037fa71c-4188-4e48-93e2-64fb0d6ba9a4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
There is a lot of information about the major updates of TFS 2010 and Team Build 2010
including changing from MSBuild to Workflow and Gated Check-Ins to name a couple. 
In using TFS and Team Build 2010 beta 2, there are a lot little features and improvements
that help make these two products complete and polished.  Here are a few of the
features and I keep discovering new ones each time I use it.
</p>
        <p>
 
</p>
        <h3>New Build Definition will default name and solution to build
</h3>
        <p>
if you have a solution open in Visual Studio 2010 when you create a new build definition,
the build name will default to the solution name.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_2.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb.png" width="454" height="79" />
          </a>
        </p>
        <p>
 
</p>
        <p>
An open solution will also automatically be populated as the Project to Build
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_4.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb_1.png" width="584" height="60" />
          </a>
        </p>
        <p>
 
</p>
        <h3>The build retention policy is not set to “Keep All” by default.
</h3>
        <p>
Finally, the default retention policy for the builds is not set to “Keep All” anymore. 
Primarily all results will default to keep the last 10 builds.  In Visual Studio
2008, I always recommended that this should be changed.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_6.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb_2.png" width="504" height="214" />
          </a>
        </p>
        <p>
 
</p>
        <h3>TFS Build notifies you about successful and failed builds
</h3>
        <p>
The Team Foundation Build Notification tool used to be part of the power tools. 
Now it is included with the standard installation and alerts you to the success or
failure of the build.   This supports continuous integration and gated check-in
builds.  The notification dialog window also has an option for unshelving failed
gated check-ins.
</p>
        <p>
This dialog displays for a successful Gated Check-in build
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/GatedCheckinResults_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="GatedCheckinResults" border="0" alt="GatedCheckinResults" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/GatedCheckinResults_thumb.jpg" width="244" height="104" />
          </a>
        </p>
        <p>
 
</p>
        <p>
This dialog is display when a Gated Check-In fails.  Notice the Unshelve Changes
option to retrieve the changeset that was be attempted to be checked-in.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/FailedGatedCheckin_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="FailedGatedCheckin" border="0" alt="FailedGatedCheckin" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/FailedGatedCheckin_thumb.jpg" width="244" height="105" />
          </a>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
        </p>
        <h3>Build Parameters are now strongly typed and visible
</h3>
        <p>
In Team Build 2008, parameters could be passed in to a build when it was being queued.  
However the format was command line argument style passed into a textbox similar to
this:
</p>
        <blockquote>
          <p>
/p:IsThisCool=”false”
</p>
        </blockquote>
        <p>
In Team Build 2010, the build parameters are displayed as strongly typed properties.  
This will allow for type checking and eliminate the misspelling of parameters.
</p>
        <p>
          <a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_8.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb_3.png" width="454" height="253" />
          </a>
        </p>
        <p>
 
</p>
        <p>
Enjoy all of the great new features in Team Build 2010 including these smaller but
helpful features!
</p>
        <p>
Mike
</p>
        <img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=037fa71c-4188-4e48-93e2-64fb0d6ba9a4" />
      </body>
      <title>The Biggest Little Features in Team Build 2010</title>
      <guid isPermaLink="false">http://codesmartnothard.com/PermaLink,guid,037fa71c-4188-4e48-93e2-64fb0d6ba9a4.aspx</guid>
      <link>http://codesmartnothard.com/TheBiggestLittleFeaturesInTeamBuild2010.aspx</link>
      <pubDate>Sat, 12 Dec 2009 12:10:00 GMT</pubDate>
      <description>&lt;p&gt;
There is a lot of information about the major updates of TFS 2010 and Team Build 2010
including changing from MSBuild to Workflow and Gated Check-Ins to name a couple.&amp;#160;
In using TFS and Team Build 2010 beta 2, there are a lot little features and improvements
that help make these two products complete and polished.&amp;#160; Here are a few of the
features and I keep discovering new ones each time I use it.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;New Build Definition will default name and solution to build
&lt;/h3&gt;
&lt;p&gt;
if you have a solution open in Visual Studio 2010 when you create a new build definition,
the build name will default to the solution name.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb.png" width="454" height="79" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
An open solution will also automatically be populated as the Project to Build
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb_1.png" width="584" height="60" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;The build retention policy is not set to “Keep All” by default.
&lt;/h3&gt;
&lt;p&gt;
Finally, the default retention policy for the builds is not set to “Keep All” anymore.&amp;#160;
Primarily all results will default to keep the last 10 builds.&amp;#160; In Visual Studio
2008, I always recommended that this should be changed.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb_2.png" width="504" height="214" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;TFS Build notifies you about successful and failed builds
&lt;/h3&gt;
&lt;p&gt;
The Team Foundation Build Notification tool used to be part of the power tools.&amp;#160;
Now it is included with the standard installation and alerts you to the success or
failure of the build.&amp;#160;&amp;#160; This supports continuous integration and gated check-in
builds.&amp;#160; The notification dialog window also has an option for unshelving failed
gated check-ins.
&lt;/p&gt;
&lt;p&gt;
This dialog displays for a successful Gated Check-in build
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/GatedCheckinResults_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="GatedCheckinResults" border="0" alt="GatedCheckinResults" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/GatedCheckinResults_thumb.jpg" width="244" height="104" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
This dialog is display when a Gated Check-In fails.&amp;#160; Notice the Unshelve Changes
option to retrieve the changeset that was be attempted to be checked-in.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/FailedGatedCheckin_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="FailedGatedCheckin" border="0" alt="FailedGatedCheckin" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/FailedGatedCheckin_thumb.jpg" width="244" height="105" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;h3&gt;Build Parameters are now strongly typed and visible
&lt;/h3&gt;
&lt;p&gt;
In Team Build 2008, parameters could be passed in to a build when it was being queued.&amp;#160;&amp;#160;
However the format was command line argument style passed into a textbox similar to
this:
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
/p:IsThisCool=”false”
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
In Team Build 2010, the build parameters are displayed as strongly typed properties.&amp;#160;&amp;#160;
This will allow for type checking and eliminate the misspelling of parameters.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://codesmartnothard.com/content/binary/WindowsLiveWriter/SomeoftheLittleImprovementsinTFS2010_14771/image_thumb_3.png" width="454" height="253" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Enjoy all of the great new features in Team Build 2010 including these smaller but
helpful features!
&lt;/p&gt;
&lt;p&gt;
Mike
&lt;/p&gt;
&lt;img width="0" height="0" src="http://codesmartnothard.com/aggbug.ashx?id=037fa71c-4188-4e48-93e2-64fb0d6ba9a4" /&gt;</description>
      <comments>http://codesmartnothard.com/CommentView,guid,037fa71c-4188-4e48-93e2-64fb0d6ba9a4.aspx</comments>
      <category>Team Build;Team Build 2010;Team Foundation Server;TFS 2010</category>
    </item>
  </channel>
</rss>