And not running regasm.exe at install time is definitely the best practice.
Using regasm.exe at install time through a custom action: 1) cripples rollback (assemblies that have been registered will remain registered unless you have explicit code to unregister them on rollback; 2) makes it much more difficult (maybe impossible) to patch affected assemblies; and 3) negatively impacts repair and upgrade. -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 |jocoo...@jackhenry.com -----Original Message----- From: Renan Lefeuvre [mailto:r.lefeu...@ag2l.fr] Sent: Monday, November 3, 2014 11:11 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Installation Directory not getting cleaned up on un-installation Maybe i'm wrong but tlb files and respective dlls are embedded in your installer. So you have them somewhere before generating the installer. If you parse your tlb files with heat, you will generate the wxs file with necessary registry entries. It's the same thing for respective dlls. What I did in my Wix project was calling heat before generating the installer. When the installer is executed the tlb and dll files are registered automatically without running regasm.exe Regards, Renan -----Message d'origine----- De : ssmsam [mailto:ssmcs...@gmail.com] Envoyé : lundi 3 novembre 2014 17:31 À : wix-users@lists.sourceforge.net Objet : Re: [WiX-users] Installation Directory not getting cleaned up on un-installation Hi Renan, fyodork Thanks for your thoughts. To use heat on tlb files, tlb files must be passed to heat to generate a component. I will not be having tlb files till the installation completes. By your thought what i understand is, Execute the RegAsm.exe, in command prompt, on dll to get the respective dlls and then run heat over them?? Please correct me if i am wrong. regards, Sampat -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installation-Directory-not-getting-cleaned-up-on-un-installation-tp7597662p7597680.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users