[wix-users] Register WMI Provided (mofcomp)

Silverman, Ariel ariel.silverman at intel.com
Mon Aug 7 12:37:21 PDT 2017


Hi Christopher,

Thanks for your answer and help!

I have implemented dll registration as a commandline parameter on my windows service, it serves as the WMI provider for my WMI namespace. I am currently having some difficulties understanding how to perform the mofcomp command as part of my installation. The current InstallShield solution we use is installing the MOF files into SUPPORTDIR and executing a mofcomp batch. The question I am facing is how to translate that op into Wix Toolset

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Christopher Painter
Sent: Monday, August 7, 2017 12:32 PM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Register WMI Provided (mofcomp)

I wrote a custom WMI provider about 5 years ago. If memory serves you have to install the DLL and MOF,  register the DLL (regsvr32 is bad.. use Heat to extract the COM meta data from the DLL )  and compile the MOF.


If you know how to do this all by hand I could help translate to WiX.


________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Silverman, Ariel <ariel.silverman at intel.com>
Sent: Monday, August 7, 2017 2:17 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Register WMI Provided (mofcomp)

Hi wix-users,

The installer for my current project requires a WMI provider registration step, I've browsed through the internet hoping someone had already solved this using Wix Toolse, but unfortunately found nothing.
Is anyone familiar with resources that can help me accomplish this task?.
This operation is currently performed by our InstallShield project by copying the mofs to SUPPORTDIR and then running a mofcomp batchfile.

Any help on this regard will be most appreciated!

-Ariel


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

WiX Support | WiX Experts and Resources from FireGiant<http://www.firegiant.com/>
www.firegiant.com
WiX Support | Installation, Development, Deployment | WiX Experts and Resources from FireGiant




____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list