| 1 |
; |
| 2 |
; "Rsync Here" v0.02 |
| 3 |
; |
| 4 |
; INF-File shamelessly copied from "CMD Prompt Here" PowerToy - Copyright 1996 Microsoft Corporation |
| 5 |
; |
| 6 |
; AIM |
| 7 |
; - make backup on windows easy |
| 8 |
; |
| 9 |
; USAGE |
| 10 |
; - you will find an entry "Rsync Here" in the directory-context-menu ... |
| 11 |
; |
| 12 |
; CONFIGURE |
| 13 |
; - edit configuration section in "rsync-here.pl" (user - config) |
| 14 |
; - read docs (run "perldoc rsync-here.pl" and look for "CONFIGURATION") |
| 15 |
; |
| 16 |
; SETUP |
| 17 |
; - known prerequisites are: working Perl (perl.exe), Rsync (rsync.exe) and SSH (ssh.exe) |
| 18 |
; - install: right-click on this file and select "Install" |
| 19 |
; - copies itself (RsyncHere.INF, RsyncHere-Job.pl) to "%WINNT%\inf" |
| 20 |
; - adds registry entry "HKEY_CLASSES_ROOT\Drive\shell\RsyncHere\command" |
| 21 |
; - adds some other registry entries (done by the windows-inf-setup-routine) |
| 22 |
; - remove: run "rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 C:\WINNT\INF\RsyncHere.inf" |
| 23 |
; |
| 24 |
; TODO |
| 25 |
; - make it possible to sync single files |
| 26 |
; - more features => better infrastructure |
| 27 |
; - framework including scheduler and taskbuilder |
| 28 |
; - add more entries to context-menu (add to task, remove from task) |
| 29 |
; - build tray application (show scheduler, en-/disable scheduler, show taskbuilder, run task) |
| 30 |
; - "add to task" via drag&drop-target? this target might be the tray-icon |
| 31 |
; |
| 32 |
|
| 33 |
|
| 34 |
[version] |
| 35 |
signature="$CHICAGO$" |
| 36 |
|
| 37 |
[RsyncHereInstall] |
| 38 |
CopyFiles = RsyncHere.Files.Inf |
| 39 |
AddReg = RsyncHere.Reg |
| 40 |
|
| 41 |
[DefaultInstall] |
| 42 |
CopyFiles = RsyncHere.Files.Inf |
| 43 |
AddReg = RsyncHere.Reg |
| 44 |
|
| 45 |
[DefaultUnInstall] |
| 46 |
DelFiles = RsyncHere.Files.Inf |
| 47 |
DelReg = RsyncHere.Reg |
| 48 |
|
| 49 |
[SourceDisksNames] |
| 50 |
55="Rsync Here","",1 |
| 51 |
|
| 52 |
[SourceDisksFiles] |
| 53 |
RsyncHere.INF=55 |
| 54 |
|
| 55 |
[DestinationDirs] |
| 56 |
RsyncHere.Files.Inf = 17 |
| 57 |
|
| 58 |
[RsyncHere.Files.Inf] |
| 59 |
RsyncHere.INF |
| 60 |
rsync-here.pl |
| 61 |
|
| 62 |
[RsyncHere.Reg] |
| 63 |
HKLM,%UDHERE%,DisplayName,,"%RsyncHereName%" |
| 64 |
HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\RsyncHere.inf" |
| 65 |
HKCR,Directory\Shell\RsyncHere,,,"%RsyncHereAccel%" |
| 66 |
HKCR,Directory\Shell\RsyncHere\command,,,"%11%\cmd.exe /f:on /c %17%\rsync-here.pl ""%1""" |
| 67 |
HKCR,Drive\Shell\RsyncHere,,,"%RsyncHereAccel%" |
| 68 |
HKCR,Drive\Shell\RsyncHere\command,,,"%11%\cmd.exe /f:on /c %17%\rsync-here.pl ""%1""" |
| 69 |
|
| 70 |
[Strings] |
| 71 |
RsyncHereName="Rsync Here" |
| 72 |
RsyncHereAccel="Rsync Here" |
| 73 |
UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\RsyncHere" |