we just picked up AutoSPInstaller last week (wish it's had been around a year ago when we built our first production SP2010 environment...) and it's excellent!
I'm just starting to build some build documentation around it for our internal use and figured I'd share bits of it. So here's the first bit:
What you need to do to uninstall SP2010 sufficiently to be able to re-install it.
- Uninstall Office Web Apps
- Uninstall SP2010
- Remove any ForefrontIdentityManager certificates from the local computer store. Usually under:
- Trusted Root Certification Authorities\Certificates
- Trusted People\Certificates
- Remove any SP folders on the file system (you may need to reboot first) that may have been left behind
- C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions
- C:\Program Files\Common Files\Microsoft Shared\OFFICE14
- C:\Program Files\Common Files\Microsoft Shared\SERVER14
- C:\Program Files\Microsoft Office Servers
- Remove any Databases associated with this particular SP install
- Remove any IIS sites/app pools that may have been left behind
- Check that Office Web Apps has de-installed properly:
- Using Regedit go to: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18
- Search for "Microsoft Office Web Apps" and remove any keys (under the current place in the tree) that it finds.
- Uninstall the pre-requisits
- Microsoft Chart Controls for Microosft .NET Framework 3.5
- Microsoft Filter Pack 2.0
- Microsoft Server Speech Platform Runtime
- Microsoft Server Speech Recognition Language - ...
- Microsoft SQL Server 2005 Analysis Services ADOMD.NET
- Microsoft SQL Server 2008+ Native Client
- Microosft Sync Framework Runtime v1.0
- SQL 2008+ Reporting Services SharePoint 2010 Add-in
- Uninstall the Adobe PDF iFilter 9
- Remove SP2010 related Domain Accounts from Local Groups:
- Farm Account from: DCOM Users, IIS_IUSRS, Performance Log Users, Performance Monitor Users
- Network Service from: DCOM Users
- Content Pool accounts from: IIS_IUSRS, Performance Monitor Users
- Service Pool accounts from: IIS_IUSRS, Performance Log Users, Performance Monitor Users
- Farm Administrators (not Farm Account) that need to use MIIS console or start/provision UPS Sync Service from: Forefront Identity Manager Operators
If you leave these accounts in there, you may save yourself a logout/login when re-installing.
- Maybe take away Local Activation from NETWORK SERVICE for the FIM Sync Service in DCOM. Though you'll likely need to add it back again before installing (at least before any FIM activity kicks off.)
Thoughts and comments welcome.
I'm about to post pre- and post- install bits as well.
I did find that trying to uninstall the language pack after uninstalling SP2010 caused some anomalities on the server. In one scenario we had to rebuild the vm being used.
Thanks for that. Yeah, we don't use the language packs, so I hadn't included it in the uninstall. I'm guessing it has tendancies similar to Office Web Apps and leaves reg keys lying around.