Example Script
Example Script
echo ==============================
echo Snappy Driver Installer Origin
echo Example Script
echo ==============================
echo
; ***************************
; * initialisation *
; ***************************
echo Initialising
verbose 384
;debug on
logging on
enableinstall off
keeptempfiles on
init
; ***************************
; * save system info *
; ***************************
:info
echo Writing device list
writedevicelist devicelist.txt
echo Writing snapshot
snapshot
; ***************************
; * download updates *
; ***************************
:updates
echo Checking updates
checkupdates
onerror goto :end
;echo Getting application updates
;get app
;echo Getting indexes
;get indexes
echo Getting driver pack updates for what i already have
get driverpacks updates
;echo Getting application updates
;get everything
; ***************************
; * install driver updates *
; ***************************
:install
echo Creating restore point
restorepoint
onerror goto :end
select missing better lan wlan-wifi
install
onerror goto :end
; ***************************
; * cleanup *
; ***************************
:end
logging off
debug off
reboot ifneeded
echo *** END ***
end