NO

Author Topic: SFX stub for cab archives  (Read 3935 times)

Offline Vortex

  • Member
  • *
  • Posts: 797
    • http://www.vortex.masmcode.com
SFX stub for cab archives
« on: August 30, 2013, 12:07:56 PM »
Here is a simple SFX stub of 3 Kb for cab archives. Creating an SFX archive is very easy :

Code: [Select]
copy /b Stub.sfx + archive.cab SFXarc.exe
The executable renamed as Stub.sfx creates a folder under the temporary files folder and extracts all the files. It checks for a batch file named Install.bat and executes it to perform post-extraction operations. The stub is very modest but additional features can be added to the Poasm source code. Nested folder structure in the cab archive is not supported to keep things simple.

cab archives can be created with a built-in windows tools like iexpress.exe
Code it... That's all...