That is only used when making self-extracting archives. If you want to self-extract and then execute something, you need to use 7zS.sfx or 7zSD.sfx - and they use a separate window. At least that's how I read it according to: https://sevenzip.osdn.jp/chm/cmdline/switches/sfx.htm Anyway, just to be sure I tried your suggestion and indeed it just extracted without running the "RunProgram" I had - so nope - it didn't work Thanks Jason
Hi there I've created a self-extracting-and-then-execute Windows binary using sfx. (basically a directory of files that need to be unpacked and then a .cmd file in it executed). It works - except executing it apparently kicks off a background/separate window where all the work happens. I want to call this from scripts, so need it to run in the foreground instead of a new window (because sometimes it will fail - and I need the parent script to see exit status and see the error message). Is that possible?...
Yeah - sorry I forgot to get back about this - it's a bit more complicated. Basically...
See probably related #70 "winexe cannot connect to Win10 machines"
winexe cannot connect to Win10 machines