SplashTextOn, 290, 110, Installation in Progress, Installing Window Washer 5.5...
Sleep, 2000
SplashTextOff
;Install Window Washer 5.5
Run, %systemdrive%\\Extras\\WindowWasher\\setup.exe
Sleep, 500
WinWaitActive, Window Washer, Setup will now install Window Washer
Send, {ENTER}
WinWaitActive, Window Washer Installation, I Agree
Send, {TAB 2}{ENTER}
WinWaitActive, Window Washer, tabOptions
Send, {TAB 4}{DOWN}{SPACE}{TAB 4}{ENTER}
WinWaitActive, Window Washer, tabInstallPath
Send, {TAB 3}{SPACE},{DOWN}{SPACE}{DOWN 3}{SPACE}{TAB 2}{ENTER}
Sleep, 22000
WinWaitActive, Window Washer
LeftClick, 340, 280
WinWaitActive, Window Washer, tabPluginScan
LeftClick, 114, 154
LeftClick, 114, 172
Send, {TAB}{ENTER}
WinWaitActive, Window Washer, Finished
Send, {ENTER}
run, regedit /s "%systemdrive%\\Extras\\WindowWasher\\prefs.reg"
For those not familiar with AutoIt, it is similar to VBS sendkeys, I suppose. I am NOT a coder (I live vicariously through my coder friends) and AutoIt is intuitive enough for me to use.
The prefs.reg file is a combination of two registry entries:
1. [HKEY_CURRENT_USER\Software\Webroot]
2. [HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Washer]
@="&Shred Contents"
and
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Washer\Command]
@="\"C:\\Program Files\\Webroot\\Washer\\wwShred.exe\" \"/recycle\""
Note: the entries found in the second instance are drawn from HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}, I just run a search on the default naming convention found when a user right-clicks on the Recyle Bin and discovers the amazingly long name given to the shred option by Window Washer. Yeesh. I suppose one only needs the first entry that actually renames the Recycle Bin text, but hey....
The routine is thrown in to a larger AutoIt routine that is run at reboot. I copy that routine into the Startup folder using a batch file that is activated via RunOnceEx.cmd, which is activated via cmdlines.txt. After some playing around, I was able to get the whole thing to self-destruct at the end of the routine from within the AutoIt routine itself. Whew, hope that's confusing to you, too!



Help

Back to top








