heralva Posted May 29, 2008 Posted May 29, 2008 (edited) How will I properly configure this script to silently install my winrar and foxit, Im having problem with winrar cause after installation it has some configurations after installation but the script would go to the next line which is foxit.Second problem, as soon as foxit installer executes the script would end without waiting the installer to finish.My goal is to make this both installer unattended cause this script will run in post windows installation. Your help would be appreciated,,,Heres my code:@echo offtitle Installing ApplicationsECHO.ECHO Thank You For Installing Windows XP SP3 Automated CD....ECHO.ECHO Installing Winrar 3.71ECHO Please wait...start /sleep %systemdrive%\install\apps\rar.exe /qnECHO.ECHO Installing FoxIt PDF ReaderECHO Please wait...start /sleep %systemdrive%\install\apps\pdf.exe /qnECHO.ECHO Restarting the PC in Few Seconds...shutdown.exe -r -f -t 10 -c "Windows XP will now restart in a few seconds, this will give enough time for the shortcuts to update and for the shell to fully load before it\'s ready to restart!"ECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\DriversRD /S /Q %systemdrive%\installEXIT Edited May 29, 2008 by heralva
ajua Posted May 30, 2008 Posted May 30, 2008 I asume you are using a program called sleep.exe, which normally should be called with the time in seconds it will wait: sleep.exe XXIf you are not using that, try using start /wait instead. This will wait until every file is finished and is provided by windows itself.About WinRAR: You can make you own SFX archive out of it. Just copy WinRAR folder from Program Files, and WinRAR folder in application data. Add them to a SFX file and that's it. You can add a start menu shortcut.At first start, WinRAR will auto import its settings into the registry.
MHz Posted May 30, 2008 Posted May 30, 2008 I know of no switch named /sleep for the start command. I do know of a /wait switch though.The switch for WinRAR archives is /s. FoxIt likes to be added into an installer/archive that supports silent install.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now