; //////////////////////////////////////////////////////////////////////////// ; PaneKiller.inf ; ; installation script for PaneKiller ; Author: Matt Ginzton ; magi@cs.stanford.edu ; ; (c) 1999 MaDdoG Software ; version: 1.31, for Win95 setupx.dll ; ; Thanks to the MS PowerToys team for their enlightening .inf file examples ; //////////////////////////////////////////////////////////////////////////// [version] signature="$CHICAGO$" SetupClass=BASE [DefaultInstall] CopyFiles = PaneKiller.FileApp AddReg = PaneKiller.RegUninst,PaneKiller.SelfInstall UpdateInis = PaneKiller.Startup.Add Ini2Reg = PaneKiller.Ini2Reg.Add [DefaultInstall.ntx86] CopyFiles = PaneKiller.FileApp AddReg = PaneKiller.RegUninst.NT,PaneKiller.SelfInstall UpdateInis = PaneKiller.Startup.Add [DefaultUninstall] AddReg = PaneKiller.SelfUninstall DelReg = PaneKiller.RegUninst,PaneKiller.PersistentSettings UpdateInis = PaneKiller.Startup.Del DelFiles = PaneKiller.FileApp [PaneKiller.FileApp] PaneKill.exe PaneKill.htm allprods.htm PaneKill.inf ReadMe.txt Welcome.htm Register.htm Config.htm StartMnu.htm Setup.exe Register.exe Register.hlp [DestinationDirs] PaneKiller.FileApp = 24, "%installDir%" ; from windows drive [PaneKiller.RegUninst] HKLM,%PK_UNINST%,,, HKLM,%PK_UNINST%,"DisplayName",,"MaDdoG PaneKiller v1.3 (remove only)" HKLM,%PK_UNINST%,"UninstallString",,"%10%\RunDll setupx.dll,InstallHinfSection DefaultUninstall 4 %24%\%installDir%\%INF%" [PaneKiller.RegUninst.NT] HKLM,%PK_UNINST%,,, HKLM,%PK_UNINST%,"DisplayName",,"MaDdoG PaneKiller v1.3 (remove only)" HKLM,%PK_UNINST%,"UninstallString",,"RunDll32 syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 4 %24%\%installDir%\%INF%" [PaneKiller.PersistentSettings] HKCU,Software\MaDdoG\%AppName% [PaneKiller.SelfInstall] HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"%AppName%",,"%24%\%installDir%\%ShortName%.exe /install" [PaneKiller.SelfUninstall] HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"%AppName% (Remove)",,"%24%\%installDir%\%ShortName%.exe /uninstall" [SourceDisksNames] 1 = "%AppName% v1.3 distribution","",1 [PaneKiller.Startup.Add] setup.ini, progman.groups,,"PaneKiller1=%PMGroup%" setup.ini, PaneKiller1,,"""%AppName%"", ""%24%\%installDir%\%EXE%""" [PaneKiller.Startup.Del] setup.ini, progman.groups,,"PaneKiller1=%PMGroup%" setup.ini, PaneKiller1,,"""%AppName%""" [PaneKiller.Ini2Reg.Add] win.ini,Desktop,Wallpaper,HKLM,%WINSETUP%,2 win.ini,Desktop,TileWallpaper,HKLM,%WINSETUP%,2 [SourceDisksFiles] %EXE%=1 %INF%=1 %HLP%=1 [Strings] AppName = PaneKiller ShortName = PaneKill EXE = PaneKill.exe INF = PaneKill.inf HLP = PaneKill.htm PMgroup = "Startup" WINSETUP = "Software\Microsoft\Windows\CurrentVersion\Setup" PK_UNINST = "Software\Microsoft\Windows\CurrentVersion\Uninstall\PaneKiller" installDir = "progra~1\MaDdoG\PaneKill"