Search code examples
deploymentdllactivexcabinf

Deploy system DLL inside CAB file


I’m looking for a way to deploy a system DLL within my ActiveX CAB file. CAB cannot update system file and whole installation fails. Perfectly, I would like to copy the DLL into ActiveX installation folder.

My best suggestion (I didn’t try it yet) is using INF file hooks with some standalone installer, but I wonder is there another way?

Any other ideas will be appreciated…


Solution

  • Pack your dll in as a resource of the main ActiveX control. Use your own code to write it to a file.

    The malware industry has lots of experience doing this, and example code should be available.