Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
2.8 KiB

  1. ; Author: Win95 Shell Team
  2. [version]
  3. signature="$CHICAGO$"
  4. SetupClass=BASE
  5. [DefaultInstall]
  6. CopyFiles = TweakUI.Files.Sys, TweakUI.Files.Inf, TweakUI.Files.Hlp
  7. AddReg = TweakUI.Add.Reg, TweakUI.Add.Reg.Uninstall
  8. Ini2Reg = TweakUI.Add.Ini2Reg
  9. [DefaultInstall.ntx86]
  10. CopyFiles = TweakUI.Files.Sys, TweakUI.Files.Inf, TweakUI.Files.Hlp
  11. AddReg = TweakUI.Add.Reg, TweakUI.Add.Reg.UninstallNT
  12. [DefaultInstall.ntalpha]
  13. CopyFiles = TweakUI.Files.Sys, TweakUI.Files.Inf, TweakUI.Files.Hlp
  14. AddReg = TweakUI.Add.Reg, TweakUI.Add.Reg.UninstallNT
  15. [Optional Components]
  16. TweakUIInstall
  17. [TweakUIInstall]
  18. CopyFiles = TweakUI.Files.Sys, TweakUI.Files.Inf, TweakUI.Files.Hlp
  19. AddReg = TweakUI.Add.Reg, TweakUI.Add.Reg.Uninstall
  20. Ini2Reg = TweakUI.Add.Ini2Reg
  21. OptionDesc = %TWEAKUI%
  22. Tip = %TWEAKTIP%
  23. ;Parent = AccessTop
  24. InstallType = 10 ;Typical, Custom.
  25. IconIndex = 16 ;Windows Logo mini-icon for dialogs
  26. Uninstall = DefaultUnInstall
  27. [DefaultUnInstall]
  28. DelFiles = TweakUI.Files.Sys, TweakUI.Files.Inf, TweakUI.Files.Hlp, TweakUI.Files.AutoGen
  29. DelReg = TweakUI.Del.Reg
  30. [DestinationDirs]
  31. TweakUI.Files.Sys = 11
  32. TweakUI.Files.Inf = 17
  33. TweakUI.Files.Hlp = 18
  34. TweakUI.Files.AutoGen = 18
  35. [SourceDisksNames]
  36. 1="Tweak UI","",1
  37. [SourceDisksFiles]
  38. TWEAKUI.CPL=1
  39. TWEAKUI.INF=1
  40. TWEAKUI.HLP=1
  41. TWEAKUI.CNT=1
  42. [TweakUI.Files.Sys]
  43. TWEAKUI.CPL
  44. [TweakUI.Files.Inf]
  45. TWEAKUI.INF
  46. [TweakUI.Files.Hlp]
  47. TWEAKUI.HLP
  48. TWEAKUI.CNT
  49. [TweakUI.Files.AutoGen]
  50. TWEAKUI.GID
  51. TWEAKUI.FTS
  52. [TweakUI.Add.Reg.Uninstall]
  53. HKLM,%UTWEAK%,DisplayName,,"PowerToy - %TWEAKUI% - Uninstall"
  54. HKLM,%UTWEAK%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\Tweakui.inf"
  55. [TweakUI.Add.Reg.UninstallNT]
  56. HKLM,%UTWEAK%,DisplayName,,"PowerToy - %TWEAKUI% - Uninstall"
  57. HKLM,%UTWEAK%,UninstallString,,"rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %17%\Tweakui.inf"
  58. [TweakUI.Add.Reg]
  59. HKLM,%SMWCV%\Run,%TWEAKUI%,,"RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp"
  60. HKLM,%SMWCV%\RunOnce\Setup,%UPTWEAK%,,"RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp 0"
  61. HKLM,%SMWCV%\RunOnce\Setup,%ITWEAK%,,"WINHLP32.EXE -i Main %18%\TWEAKUI.HLP"
  62. ; repair a commonly-damaged part of the registry while we're here
  63. HKCR,lnkfile,IsShortcut
  64. HKCR,piffile,IsShortcut
  65. [TweakUI.Add.Ini2Reg]
  66. win.ini,Desktop,Wallpaper,HKLM,%BK%,2
  67. win.ini,Desktop,TileWallpaper,HKLM,%BK%,2
  68. [TweakUI.Del.Reg]
  69. HKLM,%UTWEAK%
  70. HKLM,%SMWCV%\Run,%TWEAKUI%
  71. HKLM,%SMWCV%\RunServices,%TWEAKUI%
  72. HKLM,%SMWCV%\Explorer\Shell Icons,29
  73. HKLM,%SMWCV%\Applets\TweakUI
  74. HKCU,%SMWCV%\Applets\TweakUI
  75. [Strings]
  76. TWEAKUI="Tweak UI"
  77. UPTWEAK="Importing old Tweak UI settings"
  78. ITWEAK="Introducing Tweak UI"
  79. UTWEAK="Software\Microsoft\Windows\CurrentVersion\Uninstall\TweakUI"
  80. SMWCV="Software\Microsoft\Windows\CurrentVersion"
  81. BK="Software\Microsoft\Windows\CurrentVersion\Setup"
  82. TWEAKTIP="Change various user interface settings."