Personally, I recommend not calling the SelfReg. You'll end up with a much more stable setup.
Jirong Hu wrote: > However the dll can be unregistered from command line. > > -----Original Message----- > From: Jirong Hu [mailto:jirong...@gov.ab.ca] > Sent: Thursday, June 11, 2009 11:04 AM > To: 'wix-users@lists.sourceforge.net' > Subject: Re: [WiX-users] Why Complus component is not deleted after install > msi? > > I finally find out the unregister failed because it's in use. How can I fix > this? Restart IIS? > > Action ended 10:52:56: UnregisterSFSServiceControlCOMPlus. Return > value 1603. > > http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx > > 1603 The file [2][3] is being held in use by the following process: Name: > [4], Id: [5], Window Title: '[6]'. > > > > > -----Original Message----- > From: Jirong Hu [mailto:jirong...@gov.ab.ca] > Sent: Thursday, June 11, 2009 8:54 AM > To: 'wix-users@lists.sourceforge.net' > Subject: Re: [WiX-users] Why Complus component is not deleted after install > msi? > > Hi > > I was looking at heat.exe but it's from wix3.0. We are still with wix2.0 and > I don't want to convert all wxs at this moment, just want to fix the problem > first. Can I use this Tallow.exe from wix2? > > Thanks > Jirong > > -----Original Message----- > From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] > Sent: Thursday, June 11, 2009 5:16 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Why Complus component is not deleted after install > msi? > > Hi, > When we use heat it creates the registration information. So what is > useful to use heat or Registry table. > How to register .dll files using Registry table. > There is attribute neveroveride and permanent in component element, When > to use that attributes. > > > > -----Original Message----- > From: Rob Mensching [mailto:r...@wixtoolset.org] > Sent: Thursday, June 11, 2009 10:46 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Why Complus component is not deleted after > install msi? > > It appears that you are doing SelfReg. SelfReg is well know to be evil. > I recommend putting your registry keys in the Registry table. > > Jirong Hu wrote: > >> I found where it's registered, but seems the un-registry is not >> > successful after remove the application from the Add/Remove program. How > to fix this? > >> Thanks >> Jirong >> >> >> <!-- The following steps will install/uninstall >> > SFS.ServiceControl.dll into COM+ --> > >> <Property >> > Id="REGSVCS">C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe</P > roperty> > >> <CustomAction Id="RegisterSFSServiceControlCOMPlus" >> > Property="REGSVCS" > ExeCommand=""[_SFSServiceControlBin]\SFS.ServiceControl.dll"" > Return="asyncWait"/> > >> <CustomAction Id="UnregisterSFSServiceControlCOMPlus" >> > Property="REGSVCS" ExeCommand="/u > "[_SFSServiceControlBin]\SFS.ServiceControl.dll"" > Return="asyncWait"/> > >> <!-- Custom actions order --> >> <InstallExecuteSequence> >> <Custom Action="LaunchConfigurationExecutable" >> > After="InstallFinalize">NOT Installed</Custom> > >> <Custom >> > Action="RegisterSFSServiceControlCOMPlus" After="InstallFinalize">NOT > Installed</Custom> > >> <Custom >> > Action="UnregisterSFSServiceControlCOMPlus" > After="CostFinalize">Installed</Custom> > >> </InstallExecuteSequence> >> >> >> -----Original Message----- >> From: Jirong Hu [mailto:jirong...@gov.ab.ca] >> Sent: Wednesday, June 10, 2009 4:49 PM >> To: 'wix-users@lists.sourceforge.net' >> Subject: [WiX-users] Why Complus component is not deleted after >> > install msi? > >> Hi All >> >> I don' t know how this ComPlus gets installed, only find this in wxs: >> >> <DirectoryRef Id='ComPlusAppsFolder'> >> <Directory >> > Id="SFSServiceControlFolder" Name="SFSSvcCl" > LongName="SFS.ServiceControl"> > > <Directory Id="_SFSServiceControlBin" Name="bin"> > > <Component Id="SFSServiceControl_" > Guid="B3F068DB-C72F-49bc-BE4E-2897487D2A6D"> > >> I can find SFS.ServiceControl in "Component Services" after >> > installation, but it's not deleted after remove the application from > "Add/Remove Program". > >> Thanks >> Jirong Hu >> Build Master >> 780-644-5488 >> >> >> This communication is intended for the use of the recipient to which >> > it is addressed, and may contain confidential, personal, and or > privileged information. Please contact us immediately if you are not the > intended recipient of this communication, and do not copy, distribute, > or take action relying on it. Any communication received in error, or > subsequent reply, should be deleted or destroyed. > > ------------------------------------------------------------------------ > ------ > >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> This communication is intended for the use of the recipient to which >> > it is addressed, and may contain confidential, personal, and or > privileged information. Please contact us immediately if you are not the > intended recipient of this communication, and do not copy, distribute, > or take action relying on it. Any communication received in error, or > subsequent reply, should be deleted or destroyed. > >> > ------------------------------------------------------------------------ > ------ > >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > ------------------------------------------------------------------------ > ------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > This communication is intended for the use of the recipient to which it is > addressed, and may contain confidential, personal, and or privileged > information. Please contact us immediately if you are not the intended > recipient of this communication, and do not copy, distribute, or take action > relying on it. Any communication received in error, or subsequent reply, > should be deleted or destroyed. > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > This communication is intended for the use of the recipient to which it is > addressed, and may contain confidential, personal, and or privileged > information. Please contact us immediately if you are not the intended > recipient of this communication, and do not copy, distribute, or take action > relying on it. Any communication received in error, or subsequent reply, > should be deleted or destroyed. > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > This communication is intended for the use of the recipient to which it is > addressed, and may contain confidential, personal, and or privileged > information. Please contact us immediately if you are not the intended > recipient of this communication, and do not copy, distribute, or take action > relying on it. Any communication received in error, or subsequent reply, > should be deleted or destroyed. > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users