; To install this file, right-click it and choose "Install" from the menu. ; ; ; DESCRIPTION ; ; Sets the default shutdown option in Windows 98 to "Shut Down", ; emulating the behaviour of Windows 95, instead of remembering the ; previous shutdown option. ; ; ; AUTHOR ; ; Dale Nurden - dale@nurden.za.net ; ; ; INSTRUCTIONS ; ; To install, right click SHUTDOWN.INF and choose "Install" from the menu. ; To uninstall, click the Start menu, then go to Settings, Control Panel, ; Add/Remove Programs. Select "ShutDown98" from the list and click the ; uninstall button. ; ; ; OPTIONS ; ; You can make any of the usual shutdown options be the default. To do ; this, go down and follow the instructions in the [AddReg] section of ; this file, then reinstall. ; ; ; HOW IT WORKS ; ; This INF file copies itself into the C:\WINDOWS\INF directory and adds ; an entry to Windows' startup procedure which launches the [ShutDown98] ; section of this file. Then every time Windows starts up, this resets a ; flag in the registry that Windows uses to remember the previous shutdown ; option. [Version] signature="$CHICAGO$" SetupClass=BASE [ShutDown98] AddReg=AddReg [AddReg] ;----------------------------------------------------------------; ; Remove the semi-colon at the beginning of the line below that ; ; describes the shutdown option that you want to be the default. ; ; Choose only ONE of these options! ; ;----------------------------------------------------------------; ;HKCU,%SHUTDOWNKEY%,%SHUTDOWNVALUE%,1,0,0,0,0 ;Standby HKCU,%SHUTDOWNKEY%,%SHUTDOWNVALUE%,1,1,0,0,0 ;Shut down ;HKCU,%SHUTDOWNKEY%,%SHUTDOWNVALUE%,1,2,0,0,0 ;Restart ;HKCU,%SHUTDOWNKEY%,%SHUTDOWNVALUE%,1,3,0,0,0 ;Restart in MS-DOS mode [DefaultInstall] CopyFiles=Shutdown98Files AddReg=InstallAddReg [InstallAddReg] HKLM,%RUNKEY%,ShutDown98,0,"%10%\rundll.exe setupx.dll,InstallHinfSection ShutDown98 132 %17%\%INF%" HKLM,%UNINSTKEY%,DisplayName,0,ShutDown98 HKLM,%UNINSTKEY%,UninstallString,0,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUnInstall 132 %17%\%INF%" [DefaultUnInstall] DelFiles=Shutdown98Files DelReg=UninstallDelReg [UninstallDelReg] HKLM,%RUNKEY%,ShutDown98 HKLM,%UNINSTKEY% [DestinationDirs] Shutdown98Files=17 [SourceDisksNames] 1="ShutDown98","",1 [SourceDisksFiles] shutdown.inf=1 [Shutdown98Files] shutdown.inf [Strings] INF="shutdown.inf" RUNKEY="Software\Microsoft\Windows\CurrentVersion\Run" UNINSTKEY="Software\Microsoft\Windows\CurrentVersion\Uninstall\ShutDown98" SHUTDOWNKEY="Software\Microsoft\Windows\CurrentVersion\Explorer" SHUTDOWNVALUE="Shutdown Setting"