1

I am building a WiX installer which needs to deploy a .NET assembly that contains an implementation of System.Configuration.Install.Installer.

The assembly is a plugin based on an SDK. The SDK defines an SDK-specific installer class which inherits from System.Configuration.Install.Installer. The assembly then subclasses the SDK's installer class, but the plugin's subclass is basically empty; all the custom install actions are actually in the SDK code. So, I'm not certain exactly what install actions the component actually performs during installation/uninstallation and would rather not attempt to replicate them using basic WiX components. I don’t own the SDK so I can’t easily replace the System.Configuration.Install.Installer approach with DTF.

When installing the plugin manually, the assembly is registered using InstallUtil.exe, but it seems that calling InstallUtil.exe is not recommended for WiX-based installers.

What is the recommended way to install such .NET assemblies with WiX, when their self-install capabilities do need to be invoked and can’t be rewritten?

Hydrargyrum
  • 3,378
  • 4
  • 27
  • 41
  • See https://stackoverflow.com/questions/1891278/using-wix-to-put-an-assembly-into-both-the-gac-and-install-path. – Ritmo2k Jan 17 '18 at 12:30
  • That doesn’t seem relevant to the question. System.Configuration.Install.Installer and InstallUtil has nothing to do with the GAC as far as I know. – Hydrargyrum Jan 19 '18 at 11:54

0 Answers0