Sorry, I posted this to the Open Discussion forum a few days ago....
I've been using 7Zip's installer to bundle large packages (The Gimp, Wireshark, Libre Office, even C compilers) for portable use on a USB flash drive. A single large file may be copied to and from a flash drive much faster than many hundreds or thousands of small files. The extactor/installer to runs a batch file which can install the program onto a PC if I instruct it to, otherwise it just runs the main program executable from the temporary directory, passing along any additional parameters I give it. Once the program finishes, 7Zip deletes the temp directory very nicely.
Instead of using 7zSD.sfx, I've been using version 9.20 of 7zS2.sfx and 7zS2con.sfx, even though they are much more limited, because they leave the current directory set at the directory of the executable, instead of setting it to the 7Zip-created temp directory. This allows me to install a package into the same directory ass the installer executable, if no other directory is specified by the user. The batch file has many ways of getting the temp directory when I need it.
Suggestion for 7zSD.sfx: a variable %%X which works like %%T, but gives the directory of the 7Zip installer executable, not the installer temp directory.
OK. I'll think about it later.