

copy /b 7zSD.sfx + config.txt + Installer.7z MyInstaller.exe Now that you have this working in your c:\Install directory I would create an "Install.bat" file and put the copy script in it. Look in c:\Install and you will now see you have a MyInstaller.exeĭouble click on MyInstaller.exe and it will prompt with your message. In the command window type the following cd \Ĭopy /b 7zSD.sfx + config.txt + Installer.7z MyInstaller.exe Open a cmd window, Window + R -> cmd -> press enter.These instructions I found on the web but nowhere did it explain any of the 4 steps above. You should now have a folder "c:\Install" with the following 3 files: Notes on the parameters and options for the setup file are here. Click the "Encoding Menu" and choose "Encode in UTF-8"īeginPrompt="Do you want to install SOFTWARE this replacing with your product name.right-click and choose "Edit with NotePad++.right-click and choose "New Text File" and name it config.txt.Using windows explorer go to c:\Install.I would recommend using NotePad++ to edit this text file as you will need to encode in UTF-8, the following instructions are using notepad++. Extract the package and find 7zSD.sfx in the bin folder.Download one of the LZMA packages from here.Step 3 - Get the 7z-Extra sfx extension module Name your archive "Installer.7z" (or a name of your choice).Right-Click and choose 7Zip -> "Add to Archive".This is where we will copy all the required files. To make this easy create a folder c:\Install. How to make a self extracting archive that runs your setup.exe with 7zip -sfx switch I have created step by step instructions on how to do this as I also was very confused about how to get this working.
