I have a project which uses a COM Component from Microsoft, which doesn't come with the system, and the default setup of this COM Component only installs the samples, it does not run regsvr32 on the component to make it available via add reference or for that matter, helping the CLR find the DLL.
The application I'm shipping uses this DSOFile sample to edit OLE file properties. It's for internal purposes.
How do I add a native component to a setup project and have the wizard run the correct steps when launched?
I'm not sure I fully understood the question, but if you need to add a COM library to your setup project, and register it automatically when the setup executes do the following:
Note: If you wish not to use System folder as the target folder for the COM library, skip the step #2, and consider "System Folder" as your target folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With