Hi,
I have written a small script to automate
my MyDefrag (all versions) updates. This script downloads latest MyDefrag from Filehippo.com and follows Jeroen Kessels recomendations regarding silent installs, uninstalls and also instructions to make MyDefrag portable available
here and
here. If you want to use it copy code below to notepad, save als UTF-8 and import to Ketarin (for best results use latest version 1.0.8.302 available
here). I have tested script under 32-bit Windows XP SP2 and Windows Vista SP2 (with UAC off) without any problems. This script, like all other Ketarin scripts allows further customization.
<?xml version="1.0" encoding="utf-16"?>
<Jobs>
<ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DownloadBeta>Avoid</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer />
<Variables />
<ExecuteCommand>start "" /wait "{file}" /DIR="C:\Program Files\MyDefrag" /VERYSILENT & md {root}USB-Toolkit\{appname}\ & copy /y "C:\Program Files\MyDefrag\MyDefrag.exe" {root}USB-Toolkit\{appname}\ & copy /y "C:\Program Files\MyDefrag\Example Scripts\*.MyD" {root}USB-Toolkit\{appname}\ & copy /y "C:\Program Files\MyDefrag\Scripts\*.MyD" {root}USB-Toolkit\{appname}\</ExecuteCommand>
<ExecutePreCommand>"C:\Program Files\MyDefrag\unins000.exe" /VERYSILENT</ExecutePreCommand>
<Category>System</Category>
<SourceType>FileHippo</SourceType>
<PreviousLocation>C:\USB-Toolkit\System\MyDefrag-v4.2.4.exe</PreviousLocation>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId>mydefrag</FileHippoId>
<LastUpdated>2009-10-31T19:56:25.2340854-06:00</LastUpdated>
<TargetPath>{root}USB-Toolkit\{category}\</TargetPath>
<FixedDownloadUrl />
<Name>MyDefragPortable</Name>
</ApplicationJob>
</Jobs>