Can''t uninstall BizTalk 2006

I have been trying to uninstall BizTalk 2006 from a Windows 2003 SP2 server. The uninstall fails with the following error:

Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action LaunchConfigFramework_SlashU.C292B659_9DES_41D2_827B_555FE3D84FF7, location: C:\Program Files\Microsoft BizTalk Server 2006\Configuration.exe, command: /u

My BizTalk Build Number is 3.5.1602.0

My Windows Build Number is 5.2.3790

I have researched Error 1722 online, but none of the things I found referred to BizTalk.

So far I have tried:

1) Uninstalling as a different user

2) Running the "Repair" option from Setup

3) Running "configuration.exe /u" from the command line

None of these have worked.

I am copying the log file for your review.

Standard Log File:

=== Logging started at: 9:07:56 Tuesday, August 28, 2007 Build: 3.5.1602.0 Calling process: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Setup.exe === The current user is DM_MONTYNT\kepowers. Computer name: YKCLNSD OS Version: 5.2 Build: 3790 Service Pack: 2.0 Suite: 274 Product Type: 3
[9:07:56 Info] Command Line: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Setup.exe
[9:07:56 Info] Language: 1033
[9:07:58 Info] Raw module path: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Setup.exe
[9:07:58 Info] Universal module path: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Setup.exe
[9:07:58 Info] Current version of msi.dll is: 3.1 build: 4000 platform: 2
[9:07:58 Info] Raw module path: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Setup.exe
[9:07:58 Info] Universal module path: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Setup.exe === Logging stopped: 9:07:58 Tuesday, August 28, 2007 === === Logging started at: 9:07:58 Tuesday, August 28, 2007 Build: 3.5.1602.0 Calling process: C:\DOCUME~1\kepowers\LOCALS~1\Temp\EBZ34120.tmp\Setup.exe === The current user is DM_MONTYNT\kepowers. Computer name: YKCLNSD OS Version: 5.2 Build: 3790 Service Pack: 2.0 Suite: 274 Product Type: 3
[9:07:58 Info] Command Line: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Setup.exe /Relaunch /RunningFromTemp /SetupXML C:\DOCUME~1\kepowers\LOCALS~1\Temp\EBZ34120.tmp\Setup.xml
[9:07:58 Info] Language: 1033
[9:07:58 Info]
[9:07:58 Info] Running prehook init function
[9:07:58 Info] Entering external pre hook init function
[9:07:58 Info] Detecting installed version of BizTalk Server
[9:07:58 Info] BizTalk Server 2006 is installed
[9:07:58 Info] Checking if SKU upgrade is needed.
[9:07:59 Info] This is Standard Edition.
[9:07:59 Info] Standard Edition is installed.
[9:07:59 Info] Checking Version of Biztalk. Installed version is 3.5.1602.0.
[9:07:59 Info] Comparing BTS2004 version with the installed version.
[9:07:59 Info] Comparing BTS2004 version with the installed version.
[9:07:59 Info] Comparing BTS2004 version with the installed version.
[9:07:59 Info] Comparing BTS2004 version with the installed version.
[9:07:59 Info] Comparing BTS2004 version with the installed version.
[9:07:59 Info] Comparing BTS2004 version with the installed version.
[9:07:59 Info] Leaving external pre hook init function
[9:07:59 Info] Prehook Init function returned: 0.
[9:07:59 Info] Prehook Init function returned the following mode: 0
[9:08:00 Info] Product code: {FFF25E7A-A7F7-4b10-9B70-042A6734D806}
[9:08:00 Info] Product name: Microsoft BizTalk Server 2006
[9:08:00 Info] Product PIDSKU: D75-00885
[9:08:00 Info] Product Code (MPC): 78080
[9:08:00 Info] OEMID:
[9:08:00 Info] Product is already installed.
[9:08:00 Info] Successfully opened Msi package: C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Msi\Microsoft BizTalk Server 2006.msi
[9:08:00 Info] Initializing Component Updater ...
[9:08:00 Info] Initialized Component Updater
[9:08:00 Info] Detecting platform component: Setup runtime files
[9:08:00 Info] The minimum required version is: 3.5.1602.0
[9:08:00 Info] The currently installed version is: 3.5.1602.0
[9:08:00 Info] The minimum required version is: 3.5
[9:08:00 Info] The currently installed version is: 3.5.1602.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft .Net Framework 2.0
[9:08:00 Info] The minimum required version is: 2.0.50727.0
[9:08:00 Info] The currently installed version is: 1.1.4322
[9:08:00 Info] The minimum required version is: 2.0.50727.0
[9:08:00 Info] The currently installed version is: 2.0.50727
[9:08:00 Info] The minimum required version is: 2.0.50727.0
[9:08:00 Info] The currently installed version is: 2.0.50727
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft SQL XML 3.0 Service Pack 3
[9:08:00 Info] The minimum required version is: 3.2.3523.0
[9:08:00 Info] The currently installed version is: 3.30.3457.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft XML 3.0 Service Pack 7
[9:08:00 Info] The minimum required version is: 8.70.1104.0
[9:08:00 Info] The currently installed version is: 8.80.1185.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft XML 6.0
[9:08:00 Info] The minimum required version is: 6.0.3883.0
[9:08:00 Info] The currently installed version is: 6.10.1129.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft Office Web Components
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: ASP.Net
[9:08:00 Info] The minimum required version is: 2.0.50727.0
[9:08:00 Info] The currently installed version is: 2.0.50727.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Enterprise Single Sign-On Server
[9:08:00 Info] The minimum required version is: 5.0.0521.0
[9:08:00 Info] The currently installed version is: 5.0.521.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Enterprise Single Sign-On Administration
[9:08:00 Info] The minimum required version is: 5.0.0521.0
[9:08:00 Info] The currently installed version is: 5.0.521.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft Visual Studio 2005
[9:08:00 Info] The minimum required version is: 8.0.50727.0
[9:08:00 Info] The currently installed version is: 8.0.50727.762
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft ADO MD.Net 8.0
[9:08:00 Info] The minimum required version is: 8.0.0
[9:08:00 Info] The currently installed version is: 8.0.0
[9:08:00 Info] The minimum required version is: 8.0.0
[9:08:00 Info] The currently installed version is: 8.0.0
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft ADO MD.Net 8.0 Patch
[9:08:00 Info] The minimum required version is: 8.0.0991
[9:08:00 Info] The currently installed version is: 8.00.0991
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft ADO MD.Net 9.0
[9:08:00 Info] The minimum required version is: 9.00.1399.06
[9:08:00 Info] The currently installed version is: 9.00.1399.06
[9:08:00 Info] The minimum required version is: 9.00.1399.06
[9:08:00 Info] The currently installed version is: 9.00.1399.06
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft SharePoint Server with Service Pack 2
[9:08:00 Info] Unable to get version info from file: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\ISAPI\owssvr.dll
[9:08:00 Info] Component is not installed.
[9:08:00 Info] Detecting platform component: Microsoft Primary Interoperability Assemblies 2005
[9:08:00 Info] The minimum required version is: 1
[9:08:00 Info] The currently installed version is: 1
[9:08:00 Info] Component already installed.
[9:08:00 Info] Detecting platform component: Microsoft Document Explorer 2005
[9:08:00 Info] The minimum required version is: 8.0.50727.42
[9:08:00 Info] The currently installed version is: 8.0.50727.42
[9:08:00 Info] The minimum required version is: 8.0
[9:08:00 Info] The currently installed version is: 8.0.50727.42
[9:08:00 Info] Component already installed.
[9:08:00 Info] No updates were found on the SUS server to download.
[9:08:05 Info] MSI command line: REMOVE=ALL INSTALLDIR="C:\Program Files\Microsoft BizTalk Server 2006\" FILESINUSEERROR=""
[9:08:05 Info] MSI command line is REMOVE=ALL INSTALLDIR="C:\Program Files\Microsoft BizTalk Server 2006\" FILESINUSEERROR=""
[9:08:06 Info] Action 9:08:06: AppSearch. Searching for installed applications
[9:08:06 Info] Action 9:08:06: FindRelatedProducts. Searching for related applications
[9:08:06 Info] Action 9:08:06: CostInitialize. Computing space requirements
[9:08:06 Info] Action 9:08:06: FileCost. Computing space requirements
[9:08:06 Info] Action 9:08:06: CostFinalize. Computing space requirements
[9:08:07 Info] Action 9:08:07: SetODBCFolders. Initializing ODBC directories
[9:08:12 Info] Action 9:08:12: InstallValidate. Validating install
[9:08:31 Info] Action 9:08:31: StopHostInstances.078A4FF3_CDCB_48F0_A16B_49026F0571B5. Stopping BizTalk hosts
[9:08:32 Info] Action 9:08:32: GenerateScript. Generating script operations for action:
[9:08:32 Info] Action 9:08:32: RemoveExistingProducts. Removing applications
[9:08:32 Info] Action 9:08:32: UnInstallBTSWebSvcWiz.14FF4E41_C356_4d99_9AE5_154F1EA9F126. Uninstalling Web Services Wizard
[9:08:33 Info] Action 9:08:33: ProcessComponents. Updating component registration
[9:08:33 Info] Action 9:08:33: UnpublishComponents. Unpublishing Qualified Components
[9:08:33 Info] Action 9:08:33: MsiUnpublishAssemblies. Unpublishing assembly information
[9:08:33 Info] Action 9:08:33: UnpublishFeatures. Unpublishing product features
[9:08:33 Info] Action 9:08:33: StopServices. Stopping services
[9:08:33 Info] Action 9:08:33: DeleteServices. Deleting services
[9:08:33 Info] Action 9:08:33: UnregisterComPlus. Unregistering COM+ Applications and Components
[9:08:33 Info] Action 9:08:33: UnRegsvcsSQLAdapter.F5C521B8_28A5_4f20_B42A_4BD242435D9C. Removing SQL Adapter COM+ application
[9:08:33 Info] Action 9:08:33: UnRegsvcsDeployment.D7298A41_5E0F_4d72_9A44_B1F4C74FF805. Removing BizTalk Deployment COM+ application
[9:08:33 Info] Action 9:08:33: UnRegsvcsApplicationDeployment.D7298A41_5E0F_4d72_9A44_B1F4C74FF805. Removing BizTalk Application Deployment COM+ application
[9:08:33 Info] Action 9:08:33: WMI_Remove_MSBTS.2C6470A2_C120_48FE_942D_957983D4C6FC. Unregistering BizTalk WMI provider
[9:08:33 Info] Action 9:08:33: SelfUnregModules. Unregistering modules
[9:08:33 Info] Action 9:08:33: UnregisterTypeLibraries. Unregistering type libraries
[9:08:33 Info] Action 9:08:33: RemoveODBC. Removing ODBC components
[9:08:33 Info] Action 9:08:33: UnregisterFonts. Unregistering fonts
[9:08:33 Info] Action 9:08:33: RemoveRegistryValues. Removing system registry values
[9:08:34 Info] Action 9:08:34: UnregisterClassInfo. Unregister class servers
[9:08:34 Info] Action 9:08:34: UnregisterExtensionInfo. Unregistering extension servers
[9:08:34 Info] Action 9:08:34: UnregisterProgIdInfo. Unregistering program identifiers
[9:08:34 Info] Action 9:08:34: UnregisterMIMEInfo. Unregistering MIME info
[9:08:34 Info] Action 9:08:34: RemoveIniValues. Removing INI file entries
[9:08:34 Info] Action 9:08:34: RemoveShortcuts. Removing shortcuts
[9:08:34 Info] Action 9:08:34: RemoveEnvironmentStrings. Updating environment strings
[9:08:34 Info] Action 9:08:34: RemoveDuplicateFiles. Removing duplicated files
[9:08:34 Info] Action 9:08:34: RemoveFiles. Removing files
[9:08:35 Info] Action 9:08:35: RemoveFolders. Removing folders
[9:08:35 Info] Action 9:08:35: CreateFolders. Creating folders
[9:08:35 Info] Action 9:08:35: MoveFiles. Moving files
[9:08:35 Info] Action 9:08:35: InstallFiles. Copying new files
[9:08:35 Info] Action 9:08:35: PatchFiles. Patching files
[9:08:35 Info] Action 9:08:35: DuplicateFiles. Creating duplicate files
[9:08:35 Info] Action 9:08:35: BindImage. Binding executables
[9:08:35 Info] Action 9:08:35: CreateShortcuts. Creating shortcuts
[9:08:35 Info] Action 9:08:35: RegisterClassInfo. Registering class servers
[9:08:35 Info] Action 9:08:35: RegisterExtensionInfo. Registering extension servers
[9:08:35 Info] Action 9:08:35: RegisterProgIdInfo. Registering program identifiers
[9:08:35 Info] Action 9:08:35: RegisterMIMEInfo. Registering MIME info
[9:08:35 Info] Action 9:08:35: InstallServices. Installing new services
[9:08:35 Info] Action 9:08:35: WriteRegistryValues. Writing system registry values
[9:08:35 Info] Action 9:08:35: WriteIniValues. Writing INI file values
[9:08:35 Info] Action 9:08:35: WriteEnvironmentStrings. Updating environment strings
[9:08:35 Info] Action 9:08:35: RegisterFonts. Registering fonts
[9:08:35 Info] Action 9:08:35: InstallODBC. Installing ODBC components
[9:08:35 Info] Action 9:08:35: RegisterTypeLibraries. Registering type libraries
[9:08:35 Info] Action 9:08:35: RegisterComPlus. Registering COM+ Applications and Components
[9:08:35 Info] Action 9:08:35: StartServices. Starting services
[9:08:35 Info] Action 9:08:35: SelfRegModules. Registering modules
[9:08:35 Info] Action 9:08:35: RegisterUser. Registering user
[9:08:35 Info] Action 9:08:35: RegisterProduct. Registering product
[9:08:35 Info] Action 9:08:35: PublishComponents. Publishing qualified components
[9:08:35 Info] Action 9:08:35: MsiPublishAssemblies. Publishing assembly information
[9:08:35 Info] Action 9:08:35: PublishFeatures. Publishing product features
[9:08:36 Info] Action 9:08:36: UnInstallBTSWebSvcWiz.14FF4E41_C356_4d99_9AE5_154F1EA9F126. Uninstalling Web Services Wizard
[9:08:39 Info] Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action LaunchConfigFramework_SlashU.C292B659_9DE5_41D2_827B_555FE3D84FF7, location: C:\Program Files\Microsoft BizTalk Server 2006\Configuration.exe, command: /u
[9:08:42 Info] Showing MessageBox with text: Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action LaunchConfigFramework_SlashU.C292B659_9DE5_41D2_827B_555FE3D84FF7, location: C:\Program Files\Microsoft BizTalk Server 2006\Configuration.exe, command: /u Return Code: 1
[9:08:42 Info] Action 9:08:42: Rollback. Rolling back action:
[9:08:45 Info] Detailed Log information for product C:\Documents and Settings\kepowers\Desktop\Standard from MSDN site\Msi\Microsoft BizTalk Server 2006.msi is available atDetailedLog
[9:08:45 Info] MSI installation returned 1603 - Fatal error during installation.
[9:08:45 Error] Error 1722 occurred during MSI installation.
[9:08:45 Error] Action 9:08:38: LaunchConfigFramework_SlashU.C292B659_9DE5_41D2_827B_555FE3D84FF7.
[9:08:45 Error] Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action LaunchConfigFramework_SlashU.C292B659_9DE5_41D2_827B_555FE3D84FF7, location: C:\Program Files\Microsoft BizTalk Server 2006\Configuration.exe, command: /u === Logging stopped: 9:08:47 Tuesday, August 28, 2007 ===

Excerpt from Detailed Log File:

MSI (s) (DCBig SmileC) [09:08:31:877]: 1 application(s) had been reported to have files in use.
Info 1603.The file C:\Program Files\Microsoft BizTalk Server 2006\ebzboot.dll is being held in use by the following process: Name: Setup, ID: 0, Window Title: (not determined yet). Close that application and retry.
MSI (c) (10:50) [09:08:31:877]: GetWindowTitle: FilesInUse record has 0 for ProcessID - Unexpected
MSI (c) (10:50) [09:08:31:877]: No window with title could be found for FilesInUse
MSI (s) (DCBig SmileC) [09:08:31:877]: Note: 1: 2727 2:
MSI (s) (DCBig SmileC) [09:08:31:877]: Doing action: StopHostInstances.078A4FF3_CDCB_48F0_A16B_49026F0571B5
Action ended 9:08:31: InstallValidate. Return value 1.
Action start 9:08:31: StopHostInstances.078A4FF3_CDCB_48F0_A16B_49026F0571B

[18284 byte] By [KenPowers] at [2008-1-9]
# 1
Hi,
Check with BizTalk Administration Console (Group Hub page) that all Service Instances are resumed or terminated ("Work in progress" and "Suspended Items" columns on this page).
Regards,
Leonid Ganeline
http://geekswithblogs.net/leonidganeline/
LeonidGaneline-MVP at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...
# 2
All my custom BizTalk applications have been uninstalled. Work In Progress is all clear, and Grouped Suspended Service Instances is all clear.
KenPowers at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...
# 3
Ken,
Did you tried to find what process locks the C:\Program Files\Microsoft BizTalk Server 2006\ebzboot.dll file ?
One time I've got such problem I manualy deleted locked file and created the stub file (fake unlocked file with name equal the name of locked file).
Regards,
Leonid Ganeline
http://geekswithblogs.net/leonidganeline/
LeonidGaneline-MVP at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...
# 4

Well, now it's not even pointing to that file. Here is the latest error message from the detailed log:

Info 1603.The file C:\Program Files\Microsoft BizTalk Server 2006\Setup.exe is being held in use by the following process: Name: Setup, ID: 0, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Microsoft BizTalk Server 2006\Setup.exe is being held in use by the following process: Name: Setup, ID: 0, Window Title: (not determined yet). Close that application and retry.
Info 1603.The file C:\Program Files\Microsoft BizTalk Server 2006\1033\SetupUI.dll is being held in use by the following process: Name: Setup, ID: 0, Window Title: (not determined yet). Close that application and retry.
MSI (s) (EC:8C) [14:09:13:481]: 1 application(s) had been reported to have files in use.
Info 1603.The file C:\Program Files\Microsoft BizTalk Server 2006\1033\SetupUI.dll is being held in use by the following process: Name: Setup, ID: 0, Window Title: (not determined yet). Close that application and retry.

Apparently setup is now blocking itself.

I am thinking about shutting down SQL Server and trying again.

KenPowers at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...
# 5
Ken, how's going on?
Regards,
Leonid Ganeline
LeonidGaneline-MVP at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...
# 6

I have same problem with uninstall BizTalk Server 2006 Developer Edition on Windows XP SP2

Dear Guru, please help!

BorisKulakov at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...
# 7

After a three hour phone call with Microsoft support, we ended up having to manually uninstall BizTalk. Neither the support technician or myself was able to figure out what was holding on the DLLs.

If I remember correctly, the original installation of BizTalk on this server was a Release Candidate. The installation did not go smoothly either, so this may have been a problem that existed all along.

We also had Visual Studio and Microsoft Operations Manager installed on the server.

KenPowers at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...