Help - Search - Members - Calendar
Full Version: Unattended WinRAR SFX archives
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
edmoncu
i was wondering, i dunno how unattended RAR-SFX archives behave though, but will it extract to the folder where the file's located at or it will extract on the default active directory (if there's one existing)?

i had this sample *.CMD file that's being called under RunOnceEx.cmd
CODE
cd %WINDIR%\Resources\Themes
start /wait %WINDIR%\Resources\Themes\ChaNinja.exe /s
cd %SYSTEMDRIVE%\Others\dotnetfx
start /wait %SYSTEMDRIVE%\Others\dotnetfx\dotnetfx.exe /s
cd %SYSTEMDRIVE%\Others\acroread
start /wait %SYSTEMDRIVE%\Others\acroread\acroread.exe /s
cd %SYSTEMDRIVE%\Others\alcohol
start /wait %SYSTEMDRIVE%\Others\alcohol\alcohol.exe /s
cd %SYSTEMDRIVE%\Others\diskeeper
start /wait %SYSTEMDRIVE%\Others\diskeeper\diskeeper.exe /s
cd %SYSTEMDRIVE%\Others\Powerdvd
start /wait %SYSTEMDRIVE%\Others\Powerdvd\powerdvd.exe /s
cd %SYSTEMDRIVE%\Others\Ofc2k3
start /wait %SYSTEMDRIVE%\Others\Ofc2k3\ofc2k3.exe /s
cd %SYSTEMDRIVE%\Others\Nod32
start /wait %SYSTEMDRIVE%\Others\Nod32\nod32.exe /s


all the exe files called unattendedly are rar-sfx compressed. i was wondering, about the behavior of rar-sfx archives, would it be safe if i remove the cd commands?
mazin
YOU decide wether you want files extracted to %TEMP%, or to the same directory; which is the default behavior, or to a specific path.

Here's a good example: http://www.msfn.org/board/index.php?showtopic=16562
edmoncu
oops im sorry, what i meant was, can i control where the extracted files are placed when running unattendedly a rar-sfx compressed archive? blushing.gif
mazin
Go back to that link again. There's an update for you.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.