mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-06 17:41:36 -04:00
[togo] don't apply the 'set internal disks offline' policy
* This creates issue due to dism incompatibilities between Windows versions and some users are puzzled why they don't see their internal disks. * Also make the bcdboot call more robust by using the system one if the USB one fails * Also fix small issues in RunCommand() and MountVolume()
This commit is contained in:
parent
a9ee79bdad
commit
cc6234296d
4 changed files with 45 additions and 19 deletions
|
@ -561,7 +561,7 @@ DWORD RunCommand(const char* cmd, const char* dir, BOOL log)
|
|||
if (!CreateProcessU(NULL, cmd, NULL, NULL, TRUE,
|
||||
NORMAL_PRIORITY_CLASS | CREATE_NO_WINDOW, NULL, dir, &si, &pi)) {
|
||||
ret = GetLastError();
|
||||
uprintf("Unable to launch command '%s': %s", WindowsErrorString());
|
||||
uprintf("Unable to launch command '%s': %s", cmd, WindowsErrorString());
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue