Modify Standard scripts

Post tutorials and script examples in this forum.
Forum rules
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
Post Reply
Charger440
Posts: 1528
Joined: Sun May 25, 2014 7:44 am
Location: Missouri

Modify Standard scripts

Post 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>
Jim

It is not "Can it be done?" but rather, "How can we do it?"
Post Reply