Sorry for being somewhat off-topic, and i promise that this is the last post about this...
I just wanted to give a little tip to others who also want's to make a 7z switchless installer of UltimateDefrag, and the tip is relevant no matter if using the installer or not to install the app. When making the 7z switchless installer, then you of course include the xml file which stores your configuration settings, so that when the app is installed, then all your changes are restored and so you don't need to waste time making those changes again. But then when you start UltimateDefrag v1.54 for the very first time, then it will still ask you to questions which aren't stored in the xml configuration settings file, so those dialogs will still come up, even though you include an xml file where you allready have answered those questions. Those two questions, or warnings as they actually are is a) if you want to turn Windows own boot optimize function off, which is enabled by default, and which will mess with UltimateDefrags own strategies and b] if you want to set UltimateDefrag as the default defragging app on your system. It is recommended to answer 'OK' to both of these warning/questions, and then the answer is stored in two registry keys, and not in the xml settings file.
To avoid those two dialogs upon first run of UltimateDefrag, then add a reg file into your 7z switchless installer/nLite addon, which includes the following :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath]
@="C:\\Program Files\\UltimateDefrag\\UDEFRAG.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="N"
Note : You need to change the path of the first reg key to match the correct path for where you have UltimateDefrag installed. The above used path is the one i myself use, but that's because i install the app myself with the 7z installer and don't use the official installer, and since i like this path better than the default one, but if you use the installer, then the correct path is :
C:\\Program Files\\DiskTrix\\UltimateDefrag\\UDEFRAG.EXE
Note : You also need to change the %programfiles% path if using a localized OS version.
Then if you do like me and bypass the installer, then you of course also need to include one extra reg key, which is the one that i posted in my previous post, so that the reg file then becomes :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"FRAGIA"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath]
@="C:\\Program Files\\UltimateDefrag\\UDEFRAG.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="N"
Final note : As prathapml also kindly mentioned previously, then during install of UltimateDefrag then a file called "UDBDef.exe" is placed in '%windir%\system32\'. This file isn't needed for normal defragging jobs, but it's a good idea to include it anyway, since it's used for boot time defrags(just place it in the folder where the main exe is, if you aren't using the installer).
Again, sorry for being somewhat off-topic, and i will rest my case now, but i just thought that i would post this so that hopefully someone else would be able to benefit from it
CU, Martin.
This post has been edited by Martin H: 12 July 2007 - 04:42 PM