Hi Sir, I had gone through that thread before.It says how to automate the task of generating components for all files in a folder/sub folder as a whole. But it does not tell about how push a dll file to GAC/DllRegisterServer.
So My question is, For every file we include in the component we have got an attribute called "assembly" which takes 3 values. ".net", "win32" and "no" . (making it to ".net" wix pushes that dll to GAC) In our product We have some dll files which we are 1). registering to GAC using a EXE C.A by calling RegAsm.exe. (InstallShield currently). 2) registering to DllRegisterServer using EXE C.A which calls RegSvr.exe. If i have to achieve this in wix , i have to harvest all the files using heat as normal xcopy components and then 1). i have to add a "assembly=.net" attribute manually for all tons of dlls. 2). harvesting each file separately using "heat fle ......................." . I found all of your posts very helpful and you are very active in the forum. Tons of thanks :) Regards, Sampat On Mon, Nov 17, 2014 at 9:06 PM, Phill Hogland [via Windows Installer XML (WiX) toolset] <ml-node+s687559n7597996...@n2.nabble.com> wrote: > See this thread for example of harvesting a folder: > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Automatically-harvest-files-in-VS-2013-td7597592.html#a7597939 > > I don't have any experience with GAC or Com+, but I assume that the above > code could be modified to not set the SuppressRegistry and SuppressCom > flags. The original poster in the above thread was using HeatDirectory > task in a BeforeBuild event. At the end I posted what I just learned last > week on using HarvestDirectory target, which is a cleaner implementation. > In both cases I would check the generated wxs file to see if it is what you > really wanted. You may need to use some XSLT. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-register-all-the-dlls-in-a-folder-and-sub-folder-to-GAC-using-heat-exe-tp7597977p7597996.html > To unsubscribe from How to register all the dlls in a folder and sub > folder to GAC using heat.exe, click here > <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7597977&code=c3NtY3MwNjBAZ21haWwuY29tfDc1OTc5Nzd8LTEzMDU5NDQ4OTg=> > . > NAML > <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-register-all-the-dlls-in-a-folder-and-sub-folder-to-GAC-using-heat-exe-tp7597977p7598001.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users