@Bâshrat the Sneaky:
ooops im sorry, i didnt get your first post. anyway, i used the following switches when i extract the 7zip-sfx archive:
-y /q /r:n
anyway, here's how my
presetup.cmd looked like:
%systemdrive%
cd %systemdrive%\drivers
start /wait drivers.exe -y /q /r:n
cd %windir%\system32
REM Scanning for driverdirectories
%systemdrive%\SetDevicePath.exe %systemdrive%\drivers
REM Enable installation of unsigned drivers
start %systemdrive%\WatchDriverSigningPolicy.exe
anyway, as for the destination directory, i have no much information yet to declare within a 7zip-sfx archive the destination folder, its assumed that extraction has to take place to the default working directory.
in order to make sure it extracted at the proper place, i had to manually invoke a
CD = change directory command before the extraction of the sfx-archive. i assigned the default working directory to
%systemroot%\Drivers folder. i also placed a
wait flag to the
start command so that it fully finishes extraction first before proceeding with the next set of commands in the CMD file.