home *** CD-ROM | disk | FTP | other *** search
/ PC go! 1999 February / PCGO_2.ISO / PROGRAMM / MS / cursor.exe / Cursor.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1996-10-28  |  5.2 KB  |  143 lines

  1. ;Cursor.INF
  2.  
  3. ;The following sample .INF file performs the following actions: 
  4. ; - Copies files to the Windows, System, INF and Help directories 
  5. ; - Makes a number of registry entries (including entries that 
  6. ; will rename the copied files to Long File Names) 
  7. ; - Creates a link on the Help Menu 
  8. ; - Has an uninstall section that that registers the uninstall 
  9. ; action in the Add-Remove Programs control panel 
  10. ; - Uses replaceable strings to make localization easy 
  11.  
  12. [Version] 
  13. Signature=$CHICAGO$
  14.  
  15. [DestinationDirs] 
  16. WinCursorCopy = 25,Cursors 
  17. CursorINFCopy = 25,Inf
  18. SampleDel = 25,Cursors 
  19.  
  20. [DefaultInstall] 
  21. CopyFiles = WinCursorCopy, CursorINFCopy 
  22. AddReg = CursorRegisterApp, CursorRegUninstall 
  23.  
  24. [DefaultInstall.NT] 
  25. CopyFiles = WinCursorCopy, CursorINFCopy 
  26. AddReg = CursorRegisterApp, CursorRegUninstall.NT
  27.  
  28. [RemoveSample] 
  29. DelFiles = WinCursorCopy, CursorINFCopy 
  30. DelReg = CursorUnRegisterApp, CursorRegUninstall 
  31. ;AddReg = SampleRemoveLFNs 
  32.  
  33. [RemoveSample.NT] 
  34. DelFiles = WinCursorCopy, CursorINFCopy 
  35. DelReg = CursorUnRegisterApp, CursorRegUninstall.NT 
  36. ;AddReg = SampleRemoveLFNs 
  37.  
  38. [WinCursorCopy] 
  39. AutoFmt.ani 
  40. Diagramm.ani 
  41. Ausschne.ani 
  42. MSMap.ani 
  43. HervHTxt.ani 
  44. HervVTxt.ani 
  45. Oeffnen.ani 
  46. Mkroaufz.ani 
  47. ObjEinfg.ani 
  48. FrgOrOef.ani 
  49. FmtZelle.ani 
  50. FmtHTxt.ani 
  51. FmtPfeil.ani 
  52. FmtVTxt.ani 
  53. Drucken.ani 
  54. Nberechn.ani 
  55. Seitenum.ani 
  56. Ersetzen.ani 
  57. Speichrn.ani 
  58. NachrSdn.ani 
  59. Sortiern.ani 
  60. WoerterZ.ani 
  61.  
  62. [CursorINFCopy] 
  63. Cursor.inf
  64.  
  65. [CursorRegisterApp] 
  66. ;Make arbitrary registry entry (for private use of sample.exe) 
  67.  
  68. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"AutoFormat",,"%25%\Cursors\AutoFmt.ani" 
  69. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Charting",,"%25%\Cursors\Diagramm.ani" 
  70. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Cut",,"%25%\Cursors\Ausschne.ani" 
  71. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"DataMap",,"%25%\Cursors\MSMap.ani" 
  72. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"HighlightTextHor",,"%25%\Cursors\HervHTxt.ani" 
  73. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"HighLightTextVert",,"%25%\Cursors\HervVTxt.ani" 
  74. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Load",,"%25%\Cursors\Oeffnen.ani" 
  75. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"MacroRecord",,"%25%\Cursors\Mkroaufz.ani" 
  76. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Object",,"%25%\Cursors\ObjEinfg.ani" 
  77. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"OpenShared",,"%25%\Cursors\FrgOrOef.ani" 
  78. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"PaintCell",,"%25%\Cursors\FmtZelle.ani" 
  79. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"PaintTextHor",,"%25%\Cursors\FmtHTxt.ani" 
  80. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"PaintTextVert",,"%25%\Cursors\FmtVTxt.ani" 
  81. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"PaintArrow",,"%25%\Cursors\FmtPfeil.ani" 
  82. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Print",,"%25%\Cursors\Drucken.ani" 
  83. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Recalc",,"%25%\Cursors\Nberechn.ani" 
  84. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Repaginate",,"%25%\Cursors\Seitenum.ani" 
  85. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"ReplaceAll",,"%25%\Cursors\Ersetzen.ani" 
  86. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Save",,"%25%\Cursors\Speichrn.ani" 
  87. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"SendMail",,"%25%\Cursors\NachrSdn.ani" 
  88. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"Sorting",,"%25%\Cursors\Sortiern.ani" 
  89. HKCU,Software\Microsoft\Office\8.0\Common\Cursors,"WordCount",,"%25%\Cursors\WoerterZ.ani" 
  90.  
  91. [CursorUnRegisterApp] 
  92. ;Delete registry entry (note that this deletes the entire key) 
  93. HKCU,Software\Microsoft\Office\8.0\Common\Cursors
  94.  
  95. [CursorRegUninstall] 
  96. ;Add entry to the Add-Remove Programs control panel to uninstall the program: 
  97. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cursor,"DisplayName",,"Microsoft Office 97-Bewegte Cursor" 
  98. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cursor,"UninstallString",,"RunDll setupx.dll,InstallHinfSection RemoveSample 4 cursor.inf" 
  99.  
  100. [CursorRegUninstall.NT] 
  101. ;Add entry to the Add-Remove Programs control panel to uninstall the program: 
  102. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cursor,"DisplayName",,"Microsoft Office 97-Bewegte Cursor" 
  103. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cursor,"UninstallString",,"RunDll32 syssetup.dll,SetupInfObjectInstallAction RemoveSample.NT 4 cursor.inf" 
  104.  
  105. ;[SampleRemoveLFNs] 
  106. ;Deletes files with Long File Names during Uninstall 
  107. ;HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Sample,,,"%24%\%PROGRAMF%\Sample" 
  108. ;HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Sample,sample.bmp,,"Sample Bitmap.bmp" 
  109.  
  110.  
  111. [SourceDisksNames] 
  112. 1 = %CDROM%,AnimCursor,0
  113.  
  114. [SourceDisksFiles] 
  115. AutoFmt.ani = 1
  116. Diagramm.ani = 1
  117. Ausschne.ani = 1
  118. MSMap.ani = 1
  119. HervHTxt.ani = 1
  120. HervVTxt.ani = 1
  121. Oeffnen.ani = 1
  122. Mkroaufz.ani = 1 
  123. ObjEinfg.ani = 1
  124. FrgOrOef.ani = 1
  125. FmtZelle.ani = 1
  126. FmtHTxt.ani = 1
  127. FmtPfeil.ani = 1
  128. FmtVTxt.ani = 1
  129. Drucken.ani = 1
  130. Nberechn.ani = 1
  131. Seitenum.ani = 1
  132. Ersetzen.ani = 1
  133. Speichrn.ani = 1
  134. NachrSdn.ani = 1 
  135. Sortiern.ani = 1
  136. WoerterZ.ani = 1 
  137.  
  138.  
  139.  
  140. [Strings] 
  141. CDROM = "Cursor Installation Disk" 
  142.  
  143.