<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Microsoft Web Deployment Team Blog : Web Deployment</title><link>http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx</link><description>Tags: Web Deployment</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Web Deployment Tool and PowerShell Blog</title><link>http://blogs.iis.net/msdeploy/archive/2009/10/07/web-deployment-tool-and-powershell-blog.aspx</link><pubDate>Wed, 07 Oct 2009 21:20:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3446465</guid><dc:creator>faith_a</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=3446465</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2009/10/07/web-deployment-tool-and-powershell-blog.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;If you want to use the Web Deployment Tool with PowerShell, look no further than our own tester James Cook's &lt;A title="Web Deploy and PowerShell" href="http://blogs.iis.net/jamescoo/archive/2009/09/09/cool-msdeploy-powershell-scripts.aspx" mce_href="http://blogs.iis.net/jamescoo/archive/2009/09/09/cool-msdeploy-powershell-scripts.aspx"&gt;PowerShell blog post&lt;/A&gt;. He shows how to invoke our deployment APIs through PowerShell to perform a local sync of content. In future posts, he plans to add remoting and other capabilities.&lt;/P&gt;
&lt;P mce_keep="true"&gt;And let us know if you want to use Web Deploy with PowerShell, we're interested in hearing about what tasks you'd like to accomplish and why!&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3446465" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>Web Deployment Tool 1.0 has shipped!</title><link>http://blogs.iis.net/msdeploy/archive/2009/09/24/web-deployment-tool-1-0-has-shipped.aspx</link><pubDate>Thu, 24 Sep 2009 18:30:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3423842</guid><dc:creator>faith_a</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=3423842</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2009/09/24/web-deployment-tool-1-0-has-shipped.aspx#comments</comments><description>&lt;P&gt;After 2 years of development and lots of customer feedback, we are proud to announce that the Web Deployment Tool has shipped the RTW of our version 1.0! &lt;/P&gt;
&lt;P&gt;&lt;U&gt;In version 1.0, we have the following components: &lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Powerful APIs&lt;/STRONG&gt; that allow you to deploy, sync and migrate web applications on IIS, and perform granular operations like changing IP bindings, site names and changing file structures on the fly.&amp;nbsp;You can also create a new provider to sync a new type of resource.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Command-line tool &lt;/STRONG&gt;(msdeploy.exe) that allows you to perform all the same operations available in the APIs.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;User interface &lt;/STRONG&gt;built into IIS Manager 7.0 on Vista, Windows 2008 and Windows 7 that allows you to create packages (zip files containing IIS config, content, databases and more) and install them.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Delegation framework &lt;/STRONG&gt;and service built into IIS 7.0 that allows you to delegate tasks like installing applications and databases without requiring them to be administrators on the box.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Remote administrative service &lt;/STRONG&gt;that works on IIS 6.0 and 7.0 to allow server-level synchronization by administrators.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;So, what can you do with these components? &lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Migrate Web applications from IIS 6.0.&lt;/STRONG&gt; Simplify the planning of your IIS 6.0 to IIS 7.0 migrations by determining incompatibilities and previewing the proposed changes before starting the process. Learning about any potential issues in advance gives you the chance to take corrective measures and simplifies migration. &lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Synchronize your server farm.&lt;/STRONG&gt; Synchronize between IIS 6.0 &amp;gt; IIS 6.0 or IIS 7.0, and only sync the differences. The tool simplifies the synchronization process by automatically determining the configuration, content and certificates to be synchronized for a Web site. Optionally, specify additional resources for sync, including databases, COM objects, GAC assemblies and registry settings. &lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Package, archive and deploy Web applications.&lt;/STRONG&gt; Package configuration and content of Web applications, including databases, and then use the packages for storage or redeployment. These packages can be deployed using IIS Manager without requiring administrative privileges. The tool integrates with Visual Studio 2010 to help developers streamline the deployment of Web applications to the Web server. The tool also integrates with the Web Platform Installer to allow you to simply and easily install community web applications. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;What are some of the new features in RTW?&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Brand new UI to create those server-side delegation rules, instead of directly editing config. &lt;/LI&gt;
&lt;LI&gt;Delete and recycle application support inside IIS Manager, even as a remote non-admin user. &lt;/LI&gt;
&lt;LI&gt;A new temporary agent that doesn't require you to have any services installed on your remote machines, but instead temporarily adds the agent and then removes it after sync. &lt;/LI&gt;
&lt;LI&gt;A rule to avoid overwriting newer files on the destination with a new rule. &lt;/LI&gt;
&lt;LI&gt;A rule to avoid syncing based on time stamp differences and instead perform a checksum comparison. &lt;/LI&gt;
&lt;LI&gt;A new provider (runCommand) allows you to run a batch file, script or exe as part of synchronization. This is convenient if you need to net start a service, for example. &lt;/LI&gt;
&lt;LI&gt;Lots of enhancements to our parameterization, including the ability to validate what the user enters, and provide a parameters.xml file with answers to parameters instead of passing them one at a time in the command-line.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;Some of our favorite scenarios include: &lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create application packages that contain all of the IIS config, content, databases and more, including parameters so that when the server admin installs the package, they are prompted to fill in parameters like SQL Server connection string. &lt;/LI&gt;
&lt;LI&gt;Insert a few XML files into your existing application zip file (such as DotNetNuke or WordPress) and make your application work seamlessly in control panels or through the Web Platform installer. &lt;/LI&gt;
&lt;LI&gt;Build an automated deployment system using our APIs, cmd-line or the Visual Studio integration, so that you can deploy daily from test to staging to production.&lt;/LI&gt;
&lt;LI&gt;Allow your developers to directly deploy to the staging server without admin intervention, and lock down exactly what they can change (mark a folder as an app but not change the site's binding).&lt;/LI&gt;
&lt;LI&gt;Replace Application Center with a set of scripts or programs that call our APIs or cmd-line to sync multiple servers in a web farm.&lt;/LI&gt;
&lt;LI&gt;Build a roll-back solution by taking a package of your live app, deploying the app_v2 package created in your dev environment, and checking for failures. In case of failures, automatically apply the v1 package or backup that you took. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;But there are a lot more tasks and scenarios you can accomplish, we'd love to hear about what you're doing... &lt;/P&gt;
&lt;P&gt;Go get our 1.0 release at &lt;A href="http://www.iis.net/webdeploymenttool" mce_href="http://www.iis.net/webdeploymenttool"&gt;http://www.iis.net/webdeploymenttool&lt;/A&gt; and let us know what you think! &lt;/P&gt;
&lt;P&gt;Happy deployments,&lt;BR&gt;Faith Allington and the entire Web Deployment team&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3423842" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Migration/default.aspx">Migration</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category></item><item><title>UI sample for web farm synchronization</title><link>http://blogs.iis.net/msdeploy/archive/2009/05/01/ui-sample-for-web-farm-synchronization.aspx</link><pubDate>Fri, 01 May 2009 21:47:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3133995</guid><dc:creator>faith_a</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=3133995</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2009/05/01/ui-sample-for-web-farm-synchronization.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;One of our team members&amp;nbsp;has built a pretty&amp;nbsp;cool sample UI that allows syncing of multiple web servers and also using file change notifications to trigger syncs. Take a look at the sample at&amp;nbsp;&lt;A href="http://blogs.iis.net/moshaikh/archive/2009/04/26/web-server-change-notification-or-web-server-compare-or-multi-server-sync-in-a-web-farm.aspx"&gt;http://blogs.iis.net/moshaikh/archive/2009/04/26/web-server-change-notification-or-web-server-compare-or-multi-server-sync-in-a-web-farm.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;BTW we do plan to add this functionality at some point into the Web Deployment Tool itself but it will likely be after version 1 releases. &lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3133995" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category></item><item><title>New release of MS Deploy RC1</title><link>http://blogs.iis.net/msdeploy/archive/2009/04/17/new-release-of-ms-deploy-rc1.aspx</link><pubDate>Fri, 17 Apr 2009 17:08:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3098590</guid><dc:creator>faith_a</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=3098590</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2009/04/17/new-release-of-ms-deploy-rc1.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;We have a new release of the RC1 build to fix a couple issues that people found. We recommend that folks download the new version as it fixes some important issues.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;How can I get the new build?&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Just go to our download links for &lt;A title=x86 href="http://go.microsoft.com/?linkid=9655659" mce_href="http://go.microsoft.com/?linkid=9655659"&gt;x86&lt;/A&gt; and &lt;A title=x64 href="http://go.microsoft.com/?linkid=9655660" mce_href="http://go.microsoft.com/?linkid=9655660"&gt;x64&lt;/A&gt;.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;How does it upgrade if I already have the earlier RC1 build?&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;If you install the new build, it will automatically uninstall the older build and install the new one.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;How does it work if&amp;nbsp;my server is running the old RC1 (437) and my client is running the new RC1 (438)?&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;You will get an error that there is a version mismatch. The reason for this is that if your builds are out of sync, something might be different in the syncing process and cause an error. So we require the client and server to be running the same build.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;What issues were fixed?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Installing an application package in certain time zones would result in an error. &lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Skip and replace rules didn't work properly. &lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;A couple of other smaller infrastructure changes.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;Let us know if you see any issues!&lt;/P&gt;
&lt;P mce_keep="true"&gt;Thanks,&lt;/P&gt;
&lt;P mce_keep="true"&gt;-faith&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3098590" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS+News/default.aspx">IIS News</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category></item><item><title>Web Deployment Tool RC1 has shipped</title><link>http://blogs.iis.net/msdeploy/archive/2009/03/18/web-deployment-tool-rc1-has-shipped.aspx</link><pubDate>Wed, 18 Mar 2009 22:44:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3018111</guid><dc:creator>faith_a</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=3018111</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2009/03/18/web-deployment-tool-rc1-has-shipped.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;The Web Deployment team is excited to announce that RC1 shipped this morning! We now have a release candidate that can be used for production testing and supports many new features. &lt;/P&gt;
&lt;P mce_keep="true"&gt;So what did we add, you ask?&lt;/P&gt;
&lt;P mce_keep="true"&gt;The biggest feature is our integration with the &lt;A title="Web Platform Installer" href="http://www.iis.net/extensions/WebPI" mce_href="http://www.iis.net/extensions/WebPI"&gt;Web Platform Installer&lt;/A&gt;, or WebPI. Now you can use WebPI to seamlessly install community web applications DotNetNuke or WordPress on your machine including all of their dependencies such as IIS, ASP.NET, PHP, etc., using the Web Deployment Tool to perform the application install. You can even &lt;A title="submit your own applications" href="http://learn.iis.net/page.aspx/578/application-packaging-guide-for-the-windows-web-application-gallery/" mce_href="http://learn.iis.net/page.aspx/578/application-packaging-guide-for-the-windows-web-application-gallery/"&gt;submit your own applications&lt;/A&gt; into the Windows Web Application Gallery so they can be included in WebPI!&lt;/P&gt;
&lt;P mce_keep="true"&gt;Beyond that we have a bunch of features as well as a lot of performance and stabilization work.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Web application packaging and deployment additions:&lt;/B&gt; &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Added the ability to create packages by hand without requiring the Web Deployment Tool to be installed. 
&lt;LI&gt;Enhanced the iisApp provider so that IIS application packages can be installed on IIS 6.0 (Windows 2003) and IIS 5.1 (XP). 
&lt;LI&gt;Added the setAcl provider, which allows you to set ACLs on a destination machine. You can set ACLs on a folder or file and specify a username or group. It can also automatically detect the application pool or anonymous user to set ACLs for. 
&lt;LI&gt;Improved the parameterization feature, including: 
&lt;UL&gt;
&lt;LI&gt;A single parameter can be written to multiple places, instead of requiring a user to enter the information multiple times. 
&lt;LI&gt;Tags for parameters that can be interpreted by code or the IIS Manager UI, so that you can remove parameters if they aren't needed, for example. 
&lt;LI&gt;New parameter types, giving you more flexibility. 
&lt;LI&gt;UI support so that any parameter type can be created. &lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Added support for multiple database types. 
&lt;LI&gt;Added the ability to create packages in the IIS Manager that include more than just IIS applications and SQL databases, now any provider can be included in a package. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Web server synchronization additions: &lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Added logging for the Remote Agent Service, so that you can easily troubleshoot remote sync issues. 
&lt;LI&gt;Improved the logging for the Web Deployment Handler so that less unnecessary data is logged. 
&lt;LI&gt;Added automatic detection of encrypted properties in IIS configuration, so that an encryption password must be set. 
&lt;LI&gt;Improved the performance of synchronizations and fixed several of the issues with syncing large amounts of content.&lt;/LI&gt;&lt;/UL&gt;&lt;B&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"&gt;Downloads&lt;BR&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #434343; FONT-SIZE: 10pt"&gt;x86 version: &lt;/SPAN&gt;&lt;A href="http://go.microsoft.com/?linkid=9656139"&gt;&lt;FONT color=#0000ff size=3 face="Times New Roman"&gt;http://go.microsoft.com/?linkid=9656139&lt;/FONT&gt;&lt;/A&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #434343; FONT-SIZE: 10pt"&gt;&lt;BR&gt;x64 version: &lt;/SPAN&gt;&lt;A href="http://go.microsoft.com/?linkid=9656140"&gt;&lt;FONT color=#0000ff size=3 face="Times New Roman"&gt;http://go.microsoft.com/?linkid=9656140&lt;/FONT&gt;&lt;/A&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;P&gt;&lt;B&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"&gt;Documentation&lt;BR&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #434343; FONT-SIZE: 10pt"&gt;Walkthroughs can be found at the &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"&gt;&lt;A href="http://learn.iis.net/page.aspx/346/web-deployment-tool/"&gt;Web Deployment Tool main page&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #434343; FONT-SIZE: 10pt"&gt;.&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #434343; FONT-SIZE: 10pt"&gt;Full product documentation can be found at &lt;A href="http://technet.microsoft.com/en-us/library/dd569024.aspx"&gt;http://technet.microsoft.com/en-us/library/dd569024.aspx&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #434343; FONT-SIZE: 10pt"&gt;Please join us in the forums and tell us what you think. What's great, what's bad, what's missing... we want to know!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #434343; FONT-SIZE: 10pt"&gt;Happy deployments!&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3018111" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS+News/default.aspx">IIS News</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Migration/default.aspx">Migration</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/MSDeploy/default.aspx">MSDeploy</category></item><item><title>Beta 2 skip and replace rules</title><link>http://blogs.iis.net/msdeploy/archive/2009/02/16/beta-2-skip-and-replace-rules.aspx</link><pubDate>Mon, 16 Feb 2009 18:13:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2945078</guid><dc:creator>faith_a</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=2945078</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2009/02/16/beta-2-skip-and-replace-rules.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;We posted about skip and replace rules awhile back, but this is probably one of the more complex areas of MS Deploy. You have to understand our provider structure to figure out what type of object needs to be replaced, what attribute, and then write a RegEx match.&amp;nbsp;There are a lot of parameters you can set to scope the rules, and then the&amp;nbsp;added complexity of regular expressions. So I wanted to post some of my favorite rules (not in priority order ;-)) for the command-line and also show the same rule for the PowerShell cmdlets.&lt;/P&gt;
&lt;P mce_keep="true"&gt;If there are more rules that we should post as examples, please let me know!&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;1. Replace the home directory of a site or&amp;nbsp;application &lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;msdeploy -verb:sync -source:archiveDir=c:\App1 -dest:appHostconfig=MySite/App1 -replace:objectName=virtualDirectory,scopeAttributeName=physicalPath,match=c:\\inetpub\\wwwroot\\app1,replace=c:\dest\app1&lt;/P&gt;
&lt;P mce_keep="true"&gt;I have an archive with an application that points to c:\inetpub\wwwroot\app1. I already have content in that location so when I sync, I want to create a new destination directory.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;2. Replace multiple home directories for a site and child applications that have different paths&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;msdeploy -verb:sync -source:archiveDir=c:\NewSite1 -dest:appHostconfig=NewSite2 -replace:objectName=virtualDirectory,scopeAttributeName=physicalPath,match=c:\\inetpub\\wwwroot,replace=c:\dest2 -replace:objectName=virtualDirectory,scopeAttributeName=physicalPath,match=c:\\dest,replace=c:\dest3 -replace:objectName=virtualDirectory,scopeAttributeName=physicalPath,match=c:\\images,replace=c:\images2&lt;/P&gt;
&lt;P mce_keep="true"&gt;I have an archive of a web site that contains a lot of directories. Most exist under c:\inetpub\wwwroot, and&amp;nbsp;I likely already have content in this location, so I've decided to create a brand new site (just by specifying a new site name in the destination) and also change all the directories.&lt;/P&gt;
&lt;P mce_keep="true"&gt;I use 3 replace rules for each different physical path I need to replace. My archive has a site with 5 applications, 3 underneath c:\inetpub\wwwroot and 2 under separate directories. In order to figure out all the paths I need to replace, I might know this in advance or I can open archive.xml in Notepad and search for every entry of ".dirPath". This will show me every place that we have a directory path.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;3. Change the binding for a web site&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;msdeploy -verb:sync -source:package=site1.zip -dest:appHostconfig=MySite -replace:objectName=binding,targetAttributeName=bindingInformation,match=:80:,replace=:81:10.0.0.1&lt;/P&gt;
&lt;P mce_keep="true"&gt;$dest = Get-DeploymentObject apphostconfig MySite&lt;BR&gt;$source = Get-DeploymentObject archiveDir c:\FullSite&lt;BR&gt;Update-DeploymentObject $dest $source -replace 'objectName=binding,targetAttributeName=bindingInformation,match=:80:,replace=:81:10.0.0.1'&lt;/P&gt;
&lt;P mce_keep="true"&gt;In this case, I'm syncing from an archive that contains a site called Faith. With this sync, I am syncing it with a new name, MySite, to create a brand new site. I am also changing the port and adding an IP address. Note that it will change every binding that has matches&amp;nbsp;:80: globally.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2945078" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category></item><item><title>Visual Studio 2010 deployment features (including MS Deploy)</title><link>http://blogs.iis.net/msdeploy/archive/2009/02/04/visual-studio-2010-deployment-features-including-ms-deploy.aspx</link><pubDate>Wed, 04 Feb 2009 18:15:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2916312</guid><dc:creator>faith_a</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=2916312</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2009/02/04/visual-studio-2010-deployment-features-including-ms-deploy.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;We briefly mentioned that Visual Studio 2010 is integrating the Web Deployment Tool, but we didn't really go into details. &lt;/P&gt;
&lt;P mce_keep="true"&gt;Here's a great blog post that covers the highlights of VS 2010 deployment features, not just MS Deploy, but a lot of other cool stuff as well!&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://blogs.msdn.com/webdevtools/archive/2009/02/04/web-deployment-with-vs-2010-and-iis.aspx"&gt;http://blogs.msdn.com/webdevtools/archive/2009/02/04/web-deployment-with-vs-2010-and-iis.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2916312" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS+News/default.aspx">IIS News</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/VS/default.aspx">VS</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Visual+Studio/default.aspx">Visual Studio</category></item><item><title>The MSDeploy SQL Database Provider (dbFullSql)</title><link>http://blogs.iis.net/msdeploy/archive/2008/11/10/the-msdeploy-sql-database-provider-dbfullsql.aspx</link><pubDate>Mon, 10 Nov 2008 20:34:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2736460</guid><dc:creator>yaminij</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=2736460</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2008/11/10/the-msdeploy-sql-database-provider-dbfullsql.aspx#comments</comments><description>&lt;H2&gt;Overview&lt;/H2&gt;
&lt;P&gt;The MSDeploy SQL Database provider, also called dbFullSql is desgined for first-time installation or deployment of SQL databases to a specified destination database. This blog will serve more as a first step towards using the dbFullSql provider that recently shipped with the&amp;nbsp;&lt;A href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1602" mce_href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1602"&gt;&lt;FONT color=#669966&gt;Beta 2&lt;/FONT&gt;&lt;/A&gt; version of MSDeploy. The provider can be used in the following ways&lt;/P&gt;
&lt;P&gt;1) Syncing a single source database to an empty or nonexistent destination database&lt;/P&gt;
&lt;P&gt;2) Syncing a source database to an editable .sql file&lt;/P&gt;
&lt;P&gt;3) Sync from a .sql file to an existing destination database.&lt;/P&gt;
&lt;H2&gt;Implementation&lt;/H2&gt;
&lt;P&gt;The dbFullSql provider uses SMO internally to generate the source database scripts and apply them to the target database.&amp;nbsp;The following &lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.scriptingoptions_properties.aspx" mce_href="http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.scriptingoptions_properties.aspx"&gt;&lt;FONT color=#669966&gt;SMO Scripting Options&lt;/FONT&gt;&lt;/A&gt; are set to true by default inside the dbFullSql provider&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;a) ScriptSchema&lt;/P&gt;
&lt;P&gt;b) ScriptData&lt;/P&gt;
&lt;P&gt;c) DriAll&lt;/P&gt;
&lt;P&gt;d) Triggers&lt;/P&gt;
&lt;P&gt;e) Indexes&lt;/P&gt;
&lt;P&gt;f) NoFileGroup&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;We support passing all SMO options, that take boolean values, as parameters to the dbFullSql provider.&amp;nbsp;For more examples on how to use the SMO options with the dbFullSql provider, please check the command-line usage below. Since the script is only generated from the database specified as the source, it is not required to specify the SMO option as a parameter on the destination as well. &lt;/P&gt;
&lt;P&gt;The&amp;nbsp;dbFullSql provider will also create the target database&amp;nbsp;if it does not exist. If you would like to drop the destination database and create a new one on sync, you can use the dropDestinationDatabase=true parameter on the destination&lt;/P&gt;
&lt;P&gt;The dbFullSql provider also has transactional support during the execution of the&amp;nbsp;SQL scripts on the destination database. This means, if there is an error in the middle of the sync, all the changes made to the destination database until then will&amp;nbsp;be rolled back.&lt;/P&gt;
&lt;H2&gt;Command-line Usage&lt;/H2&gt;
&lt;P&gt;1) To sync a single source database (eg. SourceDatabase), to an empty or nonexistent destination database, you should run the following command&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="&amp;lt;source db connection string&amp;gt;" -dest:dbFullSql="&amp;lt;dest db connection string&amp;gt;"&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=SourceDatabase;Integrated Security=true" &lt;/P&gt;
&lt;P&gt;-dest:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=DestDatabase;Integrated Security=true"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;2) To sync a source database (eg. SourceDatabase), to an editable .sql file&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="&amp;lt;source db connection string&amp;gt;" -dest:dbFullSql="&amp;lt;absolutePath to a .sql file&amp;gt;"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="Data Source=.;Initial Catalog=SourceDatabase;Integrated Security=true" &lt;/P&gt;
&lt;P&gt;-dest:dbFullSql="d:\SourceDb.sql"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;3) To sync a .sql file to an existing destination database&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="&amp;lt;absolutePath to a .sql file&amp;gt;" -dest:dbFullSql="&amp;lt;dest db connection string&amp;gt;"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="d:\SourceDb.sql" &lt;/P&gt;
&lt;P&gt;-dest:dbFullSql="Data Source=SqlMachine\SQLEXPRESS;Initial Catalog=DestDatabase;User Id=user1;password=blah"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;4)&amp;nbsp; To specify SMO options as parameters to the dbFullSql provider&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="&amp;lt;absolutePath to a .sql file&amp;gt;",smoOptionName=value -dest:dbFullSql="&amp;lt;dest db connection string&amp;gt;"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;In order to skip scripting data on the source database and to sync only schema, you can run the following command&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=SourceDatabase;Integrated Security=true", ScriptData=false&lt;/P&gt;
&lt;P&gt;-dest:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=DestDatabase;Integrated Security=true"&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;In order to include schema-qualified table references for foreign key constraints into the generated script, you can pass SchemaQualifyForeignKeysReferences=true to the dbFullSql provider&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;msdeploy.exe -verb:sync -source:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=SourceDatabase;Integrated Security=true", SchemaQualifyForeignKeysReferences=false&lt;/P&gt;
&lt;P&gt;-dest:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=DestDatabase;Integrated Security=true"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;5) You could also sync a database to a package or an archive&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;a) msdeploy.exe -verb:sync -source:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=SourceDatabase;Integrated Security=true" &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -dest:archivedir="c:\archive"&lt;/P&gt;
&lt;P&gt;b) msdeploy.exe -verb:sync -source:dbFullSql="Data Source=.\SQLEXPRESS;Initial Catalog=SourceDatabase;Integrated Security=true" &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -dest:package="c:\package.zip"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;6) To sync multiple databases and database scripts to multiple databases, you can use a manifest file with the MSDeploy manifest provider. &lt;/P&gt;
&lt;H2&gt;Limitations &lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The dbFullSql provider cannot be used for incremental publishing to a target database. You can incrementally publish to a target database, only if there is no collision between existing objects&amp;nbsp;on the source database and the target database.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The dbFullSql provider operates at the database level only and not at the SQL Server level. Hence any objects at the server level, like logins, on which objects at the database level depend on (like users) will not be scripted.&lt;/P&gt;
&lt;P&gt;We currently do not support passing any non-boolean SMO option to the dbFullSql provider.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;H2&gt;References&lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;For more information about SMO scripting options, you can refer this &lt;A href="http://technet.microsoft.com/fr-fr/library/microsoft.sqlserver.management.smo.scriptingoptions_properties.aspx" mce_href="http://technet.microsoft.com/fr-fr/library/microsoft.sqlserver.management.smo.scriptingoptions_properties.aspx"&gt;&lt;FONT color=#669966&gt;link&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For information on how to download and install SMO and MSDeploy in general, you can refer the &lt;A href="http://www.iis.net/downloads/files/MSDeploy/beta2/MSDeployCHM.zip" mce_href="http://www.iis.net/downloads/files/MSDeploy/beta2/MSDeployCHM.zip"&gt;&lt;FONT color=#669966&gt;MSDeploy Help File&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2736460" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/PDC/default.aspx">PDC</category></item><item><title>The Web Deployment Tool is @ PDC!</title><link>http://blogs.iis.net/msdeploy/archive/2008/10/27/the-web-deployment-tool-is-pdc.aspx</link><pubDate>Mon, 27 Oct 2008 20:49:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2708967</guid><dc:creator>faith_a</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=2708967</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2008/10/27/the-web-deployment-tool-is-pdc.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Just wanted to let everyone know that a bunch of us from the IIS and MS Deploy team are here at PDC 2008 in sunny Los Angeles! If you're here for PDC, please stop by the Windows Server 2008 Web Platform booth or check out our great talks on web deployment. We have some great news being announced and we'd love to meet folks that are currently&amp;nbsp;using or interested in using the Web Deployment Tool.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Happy deployments!&lt;/P&gt;
&lt;P mce_keep="true"&gt;Faith Allington, and the entire Web Deployment Tool team&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2708967" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS+News/default.aspx">IIS News</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/PDC/default.aspx">PDC</category></item></channel></rss>