wixwindows-installerinstallshield

Managed Code custom action in .Net Core 6 or later


I have been using .Net framework managed code custom actions using Microsoft.Deployment.WindowsInstaller and WiX references in Installshield tool. Is it possible to write managed code custom actions in .Net core 6 or later using Wix 4.0.3 or any other way?

I understand that windows-installer can't run in platform independent way but to migrate the whole project in .Net Core.

I had tried to create class library project using .Net 6. However, I am getting compilation errors same as below post:

Wix4 C# CustomAction project compile error - WixToolset.Dtf.WindowsInstaller reference


Solution

  • Nope, not supported yet.

    But we are looking at implementing something in HeatWave to support .NET Core CAs.