Heat cannot currently harvest EXE servers. I ended up writing a custom Heat extension, since we have a lot of legacy COM objects, some of which have special dependencies, such as ATL.DLL. We also have a postprocessor step to fix the component GUID's to be consistent from build to build (among other things). But I digress ..
Maybe the easiest thing is to run heat on the .reg file your developer provided, which will generate a wxs fragment containing Wix-compatible registry code. You will probably want to fix the file references to use SourceDir instead of absolute paths. For example - <File Id="filEB85B5D03761727E10A7DACBA187DAC3" KeyPath="yes" Source="SourceDir\bin\server.exe"> <RegistryValue Root="HKCR" Key="CLSID\{ADDAA70E-D53A-11D3-B61A-0010A4F353A8}\ToolboxBitmap32" Value="[!filEB85B5D03761727E10A7DACBA187DAC3], 101" Type="string" Action="write" /> -Rob Alexey K. wrote > > Hello, all! > > Please briefly explain me (or give me a link to documentation) how to > register OLE server in WiX? I tried to find this information, but I could > not find anything. > Our developers provided me a .reg file with data required in registry on > target machine: > > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}] > @="IntelliCAD Drawing" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\AuxUserType] > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\AuxUserType\2] > @="Drawing" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\AuxUserType\3] > @="icad" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\DefaultIcon] > @="E:\\Work\\INTELL~1.X\\Icad7.1\\Source\\INTELL~1\\make\\VC9\\Std\\Stage\\icad.exe,0" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\InprocHandler32] > @="ole32.dll" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\Insertable] > @="" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\LocalServer32] > @="E:\\Work\\INTELL~1.X\\Icad7.1\\Source\\INTELL~1\\make\\VC9\\Std\\Stage\\icad.exe" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\MiscStatus] > @="32" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\ProgID] > @="Icad.Drawing" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\Verb] > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\Verb\0] > @="&Edit,0,2" > [HKEY_CLASSES_ROOT\CLSID\{000D0E00-0000-0000-C000-000000000046}\Verb\1] > @="&Open,0,2" > > I suppose it must be written in WiX with tags "TypeLib", "Class", > "ProgId", > "ProgId". But how to? > P.S. I tries to harvest (with "heat.exe") required data from OLE-server > executable file (like I do it for COM). But "heat.exe" return file without > anything looking like class registration. > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > WiX-users mailing list > WiX-users@.sourceforge > https://lists.sourceforge.net/lists/listinfo/wix-users > -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-register-OLE-server-tp7093312p7109098.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users