; ; ZPad ; ==== ; ; ; Installing this component will allow you to open files of any ; type in Notepad through the file's context menu. ; ; ; 1. Installing ZPad ; ; Right-click this file and select "Install". ; ; ; 2. Using ZPad ; ; Right-click on the file you want to edit and select "ZPad". ; Note that Windows' Notepad can't open files with more than ; 64 KB in size... (Recommendation: replace it with metapad) ; ; ; 3. Uninstalling ZPad ; ; Open the Control Panel, double-click on "Add/Remove" Programs, ; select "ZPad" and click on "Add/Remove...". ; ; ; 4. Advanced options ; ; You can adapt ZPad somewhat to your preferences by making some ; of the following adjustments before (re)installing it: ; ; a) Change the accelerator ; If you don't like 'Z' to be ZPad's accelerator character, ; you may rename the command name at line 93 (e.g. to "&QPad"). ; ; b) Use an alternative Notepad ; Make the path at line 94 point to the application that should ; be launched when you select "ZPad" (Note: %10% stands for the ; Windows directory). ; ; c) ZPad as default for unknown file types [Windows XP and later] ; If you remove the first semi-colon at line 95, ZPad will become ; the default option for files of unkown type (i.e. a double-click ; will open them in Notepad). ; ; ; Copyleft © 2001-2012 Simon Bünzli ; Product of zeniko's software. ; [version] signature = "$CHICAGO$" AdvancedINF = 2.5,"You need a new version of advpack.dll" provider = %AUTHOR% [Strings] APPNAME = "ZPad" AUTHOR = "Simon Bünzli " UIF = "Software\Microsoft\Windows\CurrentVersion\Uninstall\ZPad" UNINSTALLTITLE = "Uninstall ZPad" UNINSTALLBEGIN = "Are you sure you want to uninstall ZPad?" UNINSTALLEND = "ZPad has been successfully removed from your computer." [DefaultInstall] CopyFiles = ZPad.Files.Inf AddReg = ZPad.Add.Reg BeginPrompt = InstallBegin [DefaultUninstall] BeginPrompt = ZPad.UninstallPrompt EndPrompt = ZPad.EndUninstallPrompt DelFiles = ZPad.Files.Inf DelReg = ZPad.Del.Reg [InstallBegin] Title=%APPNAME% [DestinationDirs] ZPad.Files.Inf = 17 [SourceDisksNames] 1="ZPad - Notepad for any file type",,1 [SourceDisksFiles] ZPad.inf=1 [ZPad.Files.Inf] ZPad.inf [ZPad.Add.Reg] HKCR,*\shell\ZPad,,,"&ZPad" ; <- a) change the accelerator here <- HKCR,*\shell\ZPad\command,,,"%10%\NOTEPAD.EXE ""%1""" ; <- b) adjust the path here <- ;HKCR,Unknown\shell,,,"ZPad" ; <- c) remove the first semi-colon here <- HKLM,%UIF%,DisplayName,,%APPNAME% HKLM,%UIF%,UninstallString,,"RunDLL32.exe advpack.dll,LaunchINFSection %17%\ZPad.inf,DefaultUninstall" [ZPad.Del.Reg] HKCR,*\shell\ZPad HKLM,%UIF% [ZPad.UninstallPrompt] Prompt = %UNINSTALLBEGIN% ButtonType = YESNO Title = %UNINSTALLTITLE% [ZPad.EndUninstallPrompt] Prompt = %UNINSTALLEND% Title = %UNINSTALLTITLE%