I have a 3rd-party installer program that I would like for my users to be able to download and run as a pre-requisite to an application that I have written. The installer can take parameters that allows for a passive installation, where the user can watch the progress of the process but doesn't have to interact with the installation.
Previously, I've accomplished this behavior by creating an SFX file in WinRar. From within the options of the WinRAR GUI, you can specify a file to launch after the archive has been decompressed, as well as parameters to the application.
Oct 14, 2005 Creating a SelF eXtracting (SFX) Archive File Using WinRAR. This will show how the self-extracting file malware-quiz.exe was most likely created by Pedro when using the program WinRAR. Let’s begin the archiving process for this file. Or as I like to phrase it, “Let’s roll this ‘evil’ file up into a self-extracting, innocent looking file with a pretty little MSN butterfly icon on top.”.
Is there a way to create an SFX file and set these auto-execution properties using the console? I am trying to create a batch file that takes care of all of this.
Below is my batch file content so far:
After the final step, what should I do hear to update the SFX?