These come in handy when creating packages for deployment. Typical scenarios include when you want to deploy a set of files through an MDM like WS1 or intune.
I use these quite a bit with a couple of options to set to the output directory if needed.
You will need 7Zip, download it from here
Lets begin
Highlight all the files you wish to place in the archive, Right Click > 7-Zip > Add to archive...
Name the archive executable and tick Create SFX archive. Then Click OK
So now that your exe has been created you can use a variety of commands. I typically use the following to ensure it extracts to a particular folder etc.
appfiles.exe -o"C:\Program Files\appfiles" -y
This works wonders if you want to place shortcuts etc in particular folders and comes in handy when packaging applications.
Comments