Question

Help! Can't uninstall XenApp

Asked by: avhelpdesk

Hi,
I have a small XenApp 5 farm running under Windows 2008 32bit.
All was going well and I decided to update to Feature Release 2. Big mistake.

Everything failed. No users can connect to the farm in any way, shape or form. Via web interface or agent. I now want to remove XenApp and reinstall but I can't!
I just get "Installation ended prematurely because of an error".

That's it. Nothing else. Event ID 11729 are logged and if I run an uninstall via command line with the CTX_MF_FORCE_SUBSYSTEM_UNINSTALL=Yes it still fails but with an event of 11725. Tried to Modify, Remove and repair... all the same.

I've generated a log file and 3 errors are reported that I can see. I've stuck them in the Code box

 I am now completely boned and need the help of you good people!
Thanks,
Wullie

There are 3 errors being reported that I can see.
 
Action start 15:54:21: CTX_MF_MM_SetRebootForDrivers.EDF190B9_1780_476B_BE0C_F3D13422307E.
CTX_MF_MM_SetRebootForDrivers:START
MSI (s) (50!D8) [15:54:21:206]: PROPERTY CHANGE: Adding MsiRebootActionScheduled property. Its value is '3'.
IsDriverRebootNeeded-->Component cdfdrv.sys1.D4E6CDE7_FAC1_458B_8935_048A9A1DB4A4 needs a reboot.
MSI (s) (50!D8) [15:54:21:206]: Note: 1: 2711 2: PCL5c.EDF190B9_1780_476B_BE0C_F3D1342230
MSI (s) (50!D8) [15:54:21:206]: Note: 1: 2711 2: CTXRMPN.INF.EDF190B9_1780_476B_BE0C_F3D1342230
MSI (s) (50!D8) [15:54:21:206]: Note: 1: 2711 2: ctxsmcdrv.inf.EDF190B9_1780_476B_BE0C_F3D134223
 
MSI (s) (50!D8) [15:54:21:221]: Note: 1: 2711 2: icareduc.inf.EDF190B9_1780_476B_BE0C_F3D134223
 
MSI (s) (50!D8) [15:54:21:221]: Note: 1: 2711 2: pdcrypt1.inf.EDF190B9_1780_476B_BE0C_F3D134223
 
MSI (s) (50!D8) [15:54:21:221]: Note: 1: 2711 2: pdcrypt2.inf.EDF190B9_1780_476B_BE0C_F3D13422307
MSI (s) (50!D8) [15:54:21:221]: Note: 1: 2711 2: pdrframe.inf.EDF190B9_1780_476B_BE0C_F3D13422307
MSI (s) (50!D8) [15:54:21:221]: Note: 1: 2711 2: twexport.inf.EDF190B9_1780_476B_BE0C_F3D13422307
MSI (s) (50!D8) [15:54:21:221]: Note: 1: 2711 2: CtxSbx.inf.EEB5DE29_A8F7_47A1_BA78_265F292CDC
 
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21015) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21013) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21011) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21009) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21007) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21005) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21003) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (21001) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20999) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20997) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20995) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20993) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20991) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20989) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20987) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20985) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Leaked MSIHANDLE (20983) of type 790531 for thread 4568
MSI (s) (50:10) [15:54:21:221]: Note: 1: 2769 2: CTX_MF_MM_SetRebootForDrivers.EDF190B9_1780_476B_BE0C_F3D13422307E 3: 17
CTX_MF_MM_SetRebootForDrivers:END
DEBUG: Error 2769:  Custom Action CTX_MF_MM_SetRebootForDrivers.EDF190B9_1780_476B_BE0C_F3D13422307E did not close 17 MSIHANDLEs.
Internal Error 2769. CTX_MF_MM_SetRebootForDrivers.EDF190B9_1780_476B_BE0C_F3D13422307E, 17
 
MSI (s) (50:0C) [15:54:21:221]: Doing action: SetRUNDLL3264.E289452F_B008_4882_ABB2_77E22692D9C4
Action ended 15:54:21: CTX_MF_MM_SetRebootForDrivers.EDF190B9_1780_476B_BE0C_F3D13422307E. Return value 1.
 
 
and
 
MSI (s) (50:5C) [15:54:26:962]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIE56C.tmp, Entrypoint: CfgEngineCA_Execute
Entered CfgEngineCA_Execute.
Entered ExecuteConfig.
Command line: 'CfgEngineCA /d "D:\Program Files\Citrix\CfgEngine\Configuration.xml" Installed REMOVING_GUIDS={A8CC77FD-F113-477F-BC1D-D93CEA67AECD} /p "D:\Program Files\Citrix\CfgEngine\Answers.xml" /c "D:\Program Files\Citrix\CfgEngine\ImaRules.xml" LOC_DESC_IMA001="Allows incoming TCP traffic from Citrix servers." LOC_DESC_IMA002="Allows incoming UDP traffic from Citrix servers." /c "D:\Program Files\Citrix\CfgEngine\MfRules.xml" CDMSVC.EXE="D:\Program Files\Citrix\system32\cdmsvc.exe" CPSVC.EXE="D:\Program Files\Citrix\system32\CpSvc.exe" XTE.EXE="D:\Program Files\Citrix\XTE\bin\XTE.exe" LOC_DESC_ICA001="Allows incoming TCP traffic from Citrix clients." LOC_DESC_CDM001="Allows communication with Citrix clients for client drive mapping." LOC_DESC_CPSVC001="Allows communication required by the Citrix Print Service." LOC_DESC_CGP-SR001="Allows communication for Citrix Session Reliability." LOC_DESC_SSLRELAY001="Allows communication required for SSL Relay."'.
int __stdcall ExecuteConfig(const unsigned short *): System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at ConfigDB..ctor(String configfile)
   at ExecuteConfig(UInt16* cmdline)
Exited ExecuteConfig: return value -1.
Exited CfgEngineCA_Execute: return value -1.
MSI (s) (50:0C) [15:54:27:586]: User policy value 'DisableRollback' is 0
MSI (s) (50:0C) [15:54:27:586]: Machine policy value 'DisableRollback' is 0
Action ended 15:54:27: InstallFinalize. Return value 3.
 
 
and
 
MSI (s) (50:0C) [15:54:28:725]: Note: 1: 1725
MSI (s) (50:0C) [15:54:28:725]: Product: Citrix XenApp 5.0 -- Removal failed.
 
MSI (s) (50:0C) [15:54:28:725]: Windows Installer removed the product. Product Name: Citrix XenApp 5.0. Product Version: 5.0.0.0. Product Language: 1033. Removal success or error status: 1603.

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-11-17 at 00:46:03ID24905965
Tags

Citrix XenApp uninistallation problems

Topics

Citrix

,

Active Directory

Participating Experts
1
Points
500
Comments
5

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. "Premature end of script"?!!
    There are error messages in my website's error log: [Fri Jul 14 10:42:46 2000] [error] [client 163.30.12.59] Premature end of script headers: /home/ken/cgi-bin/front.pl what can possibly be wrong? thx.
  2. Converting InlineShape to Shape and back
    I want to tag InlineShapes with a unique identifier. One way to do this is to convert the InlineShape to a Shape, set the Name property on the Shape, and then convert back to an InlineShape. Then to get the key associated with an InlineShape, repeat the steps: convert to a...
  3. Citrix CTX_MF_FORCE_SUBSYSTEM_UNINSTALL
    Has anybody used the following within a Citrix environment: msiexec /x MFXP001.msi /L*v c:\output.log CTX_MF_FORCE_SUBSYSTEM_UNINSTALL="Yes". I have in herited a Citrix Farm with 14 servers. Additionally I have noted another four servers within one of the two ZONES...
  4. Uninstal Samba
    How do I uninstall Samba completely? I have v3.0.14a, and I want to uninstall it completely before upgrading to the new one (3.0.21c). I am running Linux Fedora Core 4

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: snusgubbenPosted on 2009-11-17 at 02:24:58ID: 25838361

This might help you, so give it a shot: http://forums.citrix.com/message.jspa?messageID=687208


SG

 

by: avhelpdeskPosted on 2009-11-17 at 02:38:06ID: 25838413

Thanks for the reply.
No luck I'm afraid but worth a shot.

It's starting to look like the only way out of this is to flatten the entire OS and rebuild; something I don't really want to do!

 

by: snusgubbenPosted on 2009-11-17 at 03:12:09ID: 25838572

My bet is that a re-install the OS is a much quicker way to get your users online, then troubleshooting this issue (ie open a support case at Citrix). The error is not documented at Citrix.

According to this, http://blogs.msdn.com/heaths/archive/2008/02/12/debugging-custom-actions-leaked-handles.aspx, it's something wrong with the code itself.


SG

 

by: avhelpdeskPosted on 2009-11-17 at 03:26:25ID: 25838658

Good link.
I guess the time is near to bite the bullet and flatten.

Better take the walk of shame to the boss's office to tell him the good news.

 

by: avhelpdeskPosted on 2009-11-18 at 01:06:08ID: 31655026

Solution confirmed my fears that a reinstall was in fact the only method of recovery.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...