I’m in the Office 2010 Technical Preview program, so I have started playing with the Office 2010 client applications. I’m using Outlook 2010 Tech Preview as my email client, and I like the Quick Steps. I wish I could share a QuickStep with my colleagues though – would be nice if there was a way to export & import Quick Step Definitions.
Meanwhile, I saw this blog post from the InfoPath 2010 team:(http://blogs.msdn.com/infopath/archive/2009/07/13/install-the-office-2010-technical-preview-and-win-an-xbox-360-elite.aspx) and put together an entry for the contest. It’s an InfoPath form that creates the xml file needed if you want to do an unattended install of WSS 3.0.
Here’s the video: http://communityclips.officelabs.com/Video.aspx?videoId=e37ddba5-448c-402f-b06e-bd87ed0f5bd5
In the video, I also feature a PowerShell script that removes the namespaces from the xml file that the InfoPath form generates. The PowerShell function that I created is very simple. The one possibly unusual thing it contains is a string intentionally split across lines. I did this because it was the easiest way I could think of to specify a carriage return (“\n” isn’t valid here).
function global:Clean-WSSConfig($filename)
{
get-content $filename | foreach {$_.Replace("ns1:","")} | foreach {$_.Replace("my:","")} |
foreach {$_.Replace("<Config","
<Config")}
Write-Host "Namespaces Removed!"
}
One of the neat things about InfoPath 2010 Tech Preview is that it let me specify datasource fields by giving it an existing xml file. I took a sample WSS config file, added a namespace directive to it, and imported it into my InfoPath form!
--Michael