So currently my users download a zipfile, unzip it and then run setup.exe - I would like them to do this with one click. Using http://www.wikihow.com/Use-7Zip-to-Create-Self-Extracting-excutables i can make a self-extracting exe, but it doesn't actually run the installer.
From this question
Why does 7zip Ignore my InstallPath when making a SFX installer?
it seems I also need an .sfx file so I copied from the other question and created one with the following contents
;!@Install@!UTF-8!
InstallPath="C:\\test"
GUIMode="2"
RunProgram="setup.exe"
;!@InstallEnd@!
and called setup.sfx and add this to archive together with the other files
setup.ini
setup.exe
setup.ico
install.jar
JVM32 (folder)
but it made no difference, what else do I need to do.
Supplementary question, I also have WinRar, does it effect the end user experience whether I use 7Zip or Winrar ?
Okay I have got it working, hope this information is useful.
First of all I now realize that not only do self-extracting zip start extracting with doubleclick, but they require no extraction application to be installed on the users computer because the extractor code is in the archive itself. This means that you will get a different user experience depending on what you application you use to create the sfx
I went with WinRar as follows, this does not require you to create an sfx file, everything can be created via the gui:
The resultant exe unzips to a temporary folder and then starts the installer