Page 1 of 1

Modify Standard scripts

Posted: Sun May 31, 2015 8:02 pm
by Charger440
Here is how you modify the standard scripts in UVK. The following takes the maintenance script, adds CCleaner to it and continues like normal. You save it as something like CCleanerMaintenance script and then just drap and drop it on UVKPortable. You then run the script. The only way to streamline it more is if you automatically run it. I think you could do this if you created a batch file as the "Auto" commandline has been added to UVK.

Code: Select all

<Comment>

This script will perform a full system maintenance.

 <UpdateDirectX>
 <UpdateJava>
 <UpdateFlash>
 
 <Comment>
 This is the modified section.
 
 <UpdateSoftware>
 %ThirdParty%\CCleaner.zip | http://www.piriform.com/ccleaner/download/portable/downloadfile/
 
 <UnzipFile>
 %ThirdParty%\CCleaner.zip | %ThirdParty%

 <RunWait>
 %ThirdParty%\CCleaner\CCleaner.exe

<Comment>
Continue original script.

 <InstallNetFramework>
 <ClearEventLogs>
 <ClearErrorReports>
 <EmptyBrowsersCache>
 <CleanAllUsersTemp>
 <DefragAndOptimize>

 <Reboot>