
Now I built a small standalone program #include I do not know why Explorer decides to switch SFX module uses ShellExecuteEx to start a setup application. I submitted a bug report to yesterday and got a reply from So, I'm creating the self-executing SFX with different versions of I can confirm that it works on Windows XP and Windows 7 x86 but not Windows 7Īt the moment, I'm suspicious of WinRAR, as I've proved that the code itself Restart properly, so it's definitely not a problem with the.
Even with commands like start explorer.exe | cmd.exe Explorer doesn't. It's not a problem with the compression or extraction processes. The batch file works perfectly when manually extracted from the archive, so. The command to restart Explorer isn't "badly timed", or anything, as I've. The batch file definitely is called and executed correctly, as it runs andĮverything else in the script works as designed, except for the line that. explorer.exe definitely is being fully killed. This case, my batch file) is run upon successful extraction. So, when executed, the contents of the archive areĮxtracted to %temp% and a user-defined file (usually a boot-strapper and, in Now, I say "kind of" as I'm running the batch file from a self-executing SFXĪrchive, created with WinRAR.
Manager, as, I'm assuming, Win + R is part of Explorer. I can then only properly restart Explorer by starting a new task from Task
explorer.exe is started (see Image 2), but only anĮxplorer window opens, which I am left with indefinitely (see Image 1). explorer.exe is successfully terminated. In one part of a batch file (kind of, see Extra Information) I need to restartĮxplorer, so I use the, tried-and-tested method of taskkill /f /im explorer.exe >nul