The following example shows how to create self-extracting (SFX) archive:
[C#]
flexCompress1.FileName = "C:\\TEST\\test.fxc";
flexCompress1.SFXStub = "SFXStub\sfxstub.exe";
flexCompress1.MakeSFX("Temp\test.exe");
[VB.NET]
flexCompress1.FileName = "C:\TEST\test.fxc";
flexCompress1.SFXStub = "SFXStub\sfxstub.exe"
flexCompress1.MakeSFX("Temp\test.exe")