Dear Wix Experts:
 
I upgrade ASP.NET from v2.0 to 4.0; and also upgrade Wix from 3.0 to 3.5 (i.e. 
install Wix 3.5 Visual Studio tool set). Then I create a custom installer 
(*.msi file). The installer installs the application without any problem. But 
when removing or repairing the application, it fails at uninstalling the COM 
Plus component. The exception in the log file is:
 
ComPlusUninstallExecute:  ExceptionInfo: Code='0', 
Source='System.EnterpriseServices', Description='Failed to load assembly 
'e:\counselor\website\bin\groupware\groupwarehandler.dll'.', HelpFile='', 
HelpContext='0'
ComPlusUninstallExecute:  Error 0x80020009: Failed to invoke 
RegistrationHelper.UninstallAssembly() method
ComPlusUninstallExecute:  Error 0x80020009: Failed to unregister .NET assembly
ComPlusUninstallExecute:  Error 0x80020009: Failed to unregister assembly, key: 
ComPlus.GroupwareHandler
ComPlusUninstallExecute:  Error 0x80020009: Failed to unregister assemblies
 
I have double checked that the referenced the groupwarehandler.dll is indeed in 
the referenced folder, and the GroupWare handler is deployed in Component 
Service Comp+ Application.
 
I searched the internet, and found a link indicating that Wix 3.5 can't 
uninstall COM+ component. See link below.
 
http://blog.i-m-code.com/2012/01/20/remove-com-plus-applications-programmatically/
 
Since this issue described in this page was original published in January 
20,2012. Many years has passed since, and I am not sure if this issue has been 
resolved.
 
Because of this issue, I can't not uninstall or repair the application. I can't 
even install a new version because it fails when trying to uninstall the old 
version. The uninstallation would rollback everything when it fails.
 
BYW, Is this issue resolved in the latest Wix 3.9 version? If so, I wouldn't 
mind upgrading to Wix 3.9
 
My Comp Plug Wix segment code is shown below:
 
<DirectoryRef Id="Website.Bin.Groupware" 
FileSource="$(var.SourceRoot)/Website/Bin">
                        <Component Id="ComPlus.GroupwareHandler" 
Guid="{996F31B1-A33E-4bED-946E-279EDE72376F}">
                                <File 
Id="Website.Bin.CslrLight.GroupwareHandler.dll" Name="GroupwareHandler.dll"   
KeyPath="yes" Assembly="no" />
                                <File 
Id="Website.Bin.CslrLight.GroupwareHandler.tlb" Name="GroupwareHandler.tlb" />
                                                <com:ComPlusApplication 
Id="ComPlus.GroupwareHandler" Name="Groupware Handler" 
Identity="[SERVICEACCOUNTDOMAIN]\[SERVICEACCOUNTNAME]" 
Password="[SERVICEACCOUNTPASSWORD]" Authentication="none" 
ApplicationAccessChecksEnabled="no" RunForever="yes">
                                        <com:ComPlusAssembly 
Id="ComPlus.GroupwareHandler" Type=".net" 
DllPath="[#Website.Bin.CslrLight.GroupwareHandler.dll]" 
TlbPath="[#Website.Bin.CslrLight.GroupwareHandler.tlb]">
                                                <com:ComPlusComponent 
Id="ComPlus.GroupwareHandler.ApptHdlr" 
CLSID="8B7F2459-4070-4BF3-AB89-0EA2E56A0902" />
                                                <com:ComPlusComponent 
Id="ComPlus.GroupwareHandler.MailConnMgr" 
CLSID="1B320AFA-F8AD-43F5-9E8E-F024EDEFF3FC" />
                                        </com:ComPlusAssembly>
                                </com:ComPlusApplication>
                        </Component>
                </DirectoryRef>
 
Please help 
 
Thanks very much in advance.
 
Jason
 
 
                                          
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to