Leaked source code of windows server 2003
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.

230 lines
7.8 KiB

  1. ;======================================================
  2. ; Faxclnt.inf
  3. ;
  4. ; This file is the inf that drives the fax client setup.
  5. ;
  6. ;======================================================
  7. [version]
  8. signature="$WINDOWS NT$"
  9. [DestinationDirs]
  10. FaxClientFiles.System = 11
  11. FaxClientFiles.Help = 18
  12. FaxClientFiles.Coverpage = 16430, %str_MyFaxes%\%str_CommonCoverPages% ; DIRID_COMMON_DOCUMENTS\My Faxes\Common CoverPages
  13. FaxClientFiles.Addin = 10, %str_addins% ; NOT Localized Addin Directory under Windows
  14. [SourceDisksNames]
  15. 1="Windows NT Fax Software"
  16. [SourceDisksFiles]
  17. basenote.cov = 1,,,,,,,,3,3
  18. confdent.cov = 1,,,,,,,,3,3
  19. ;;;faxcom.dll = 1,,,,,,,,3,3 - ### Not in build yet
  20. faxcover.exe = 1,,,,,,,,3,3
  21. faxext.ecf = 1,,,,,,,,3,3
  22. faxext32.dll = 1,,,,,,,,3,3
  23. faxsend.exe = 1,,,,,,,,3,3
  24. faxxp32.dll = 1,,,,,,,,3,3
  25. fyi.cov = 1,,,,,,,,3,3
  26. generic.cov = 1,,,,,,,,3,3
  27. urgent.cov = 1,,,,,,,,3,3
  28. winfax.dll = 1,,,,,,,,3,3
  29. [FaxOcmDebug]
  30. DebugLevel = %FAX_DBG_VERBOSE%
  31. ;=============================================
  32. ; FaxClient - Install/Uninstall Section
  33. ;=============================================
  34. [Fax.Client]
  35. FaxClientInstall = Fax.Client.CleanInstall
  36. FaxClientUninstall = Fax.Client.Uninstall
  37. ;=============================================
  38. ; Fax.Client.CleanInstall
  39. ;=============================================
  40. [Fax.Client.CleanInstall]
  41. CopyFiles = FaxClientFiles.System, FaxClientFiles.Help, \
  42. FaxClientFiles.Coverpage, FaxClientFiles.Addin
  43. AddReg = FaxClientReg.CoverPageAssociation, FaxClientReg.UserInfo, \
  44. FaxClientReg.UserInfo.Setup
  45. ProfileItems = Fax.InstallLink.SendWizard
  46. ProfileItems = Fax.InstallLink.CoverPage
  47. ;=============================================
  48. ; Fax.Client.Uninstall
  49. ;=============================================
  50. [Fax.Client.Uninstall]
  51. DelFiles = FaxClientFiles.System, FaxClientFiles.Help, \
  52. FaxClientFiles.Coverpage, FaxClientFiles.Addin
  53. DelReg = FaxClientReg.CoverPageAssociation, FaxClientReg.UserInfo, \
  54. FaxClientReg.UserInfo.Setup
  55. ProfileItems = Fax.UninstallLink.CoverPage
  56. ProfileItems = Fax.UninstallLink.SendWizard
  57. ;=============================================
  58. ; Install Links
  59. ;
  60. ; This section creates the fax links in
  61. ; the start menu.
  62. ;=============================================
  63. [FaxClient.InstallLink.CoverPage]
  64. Name = %str_FaxCoverPageLink%
  65. CmdLine = 11,,FaxCover.exe
  66. Subdir = %str_FaxGroup%
  67. IconPath = 11,, FaxCover.exe
  68. IconIndex = 0
  69. InfoTip = %str_CoverPageInfoTip%
  70. [Fax.UninstallLink.CoverPage]
  71. Name = %str_FaxCoverPageLink%, 2 ; the flag '2' means 'delete link'
  72. SubDir = %str_FaxGroup%
  73. [FaxClient.InstallLink.SendWizard]
  74. Name = %str_FaxSendWizardLink%
  75. CmdLine = 11,,FaxSend.exe
  76. Subdir = %str_FaxGroup%
  77. IconPath = 11,, FaxSend.exe
  78. IconIndex = 0
  79. InfoTip = %str_FaxSendWizardInfoTip%
  80. [FaxClient.UninstallLink.SendWizard]
  81. Name = %str_FaxSendWizardLink%, 2 ; the flag '2' means 'delete link'
  82. SubDir = %str_FaxGroup%
  83. ;=============================================
  84. ; Copy Files Section
  85. ;=============================================
  86. [FaxClientFiles.System]
  87. basenote.cov
  88. ;;;faxcom.dll,,,0x10000 ;;; Not in build yet
  89. faxcover.exe,,,0x10000
  90. faxext32.dll,,,0x10000
  91. faxsend.exe,,,0x10000
  92. faxxp32.dll,,,0x10000
  93. winfax.dll,,,0x10000
  94. [FaxClientFiles.Coverpage]
  95. %str_confdent%, confdent.cov
  96. %str_fyi%, fyi.cov
  97. %str_generic%, generic.cov
  98. %str_urgent%, urgent.cov
  99. [FaxClientFiles.Help]
  100. [FaxClientFiles.Addin]
  101. faxext.ecf
  102. ;=============================================
  103. ; Registry Section
  104. ;=============================================
  105. [FaxClientReg.CoverPageAssociation]
  106. HKCR,".cov",,%REG_SZ%, %str_CoverPage%
  107. HKCR,%str_CoverPage%,,%REG_SZ%, %str_FaxCoverpageFile%
  108. HKCR,%str_CoverPage%\Shell\Open\Command,,%REG_SZ%,%systemroot%\system32\faxcover.exe "%1"
  109. HKCR,%str_CoverPage%\Shell\Print\Command,,%REG_SZ%,%systemroot%\system32\faxcover.exe /p "%1"
  110. [FaxClientReg.UserInfo]
  111. HKCU,Software\Microsoft\Fax\Setup, "Address", %REG_SZ%
  112. HKCU,Software\Microsoft\Fax\Setup, "BillingCode", %REG_SZ%
  113. HKCU,Software\Microsoft\Fax\Setup, "Company", %REG_SZ%
  114. HKCU,Software\Microsoft\Fax\Setup, "Department", %REG_SZ%
  115. HKCU,Software\Microsoft\Fax\Setup, "FaxNumber", %REG_SZ%
  116. HKCU,Software\Microsoft\Fax\Setup, "FullName", %REG_SZ%
  117. HKCU,Software\Microsoft\Fax\Setup, "HomePhone", %REG_SZ%
  118. HKCU,Software\Microsoft\Fax\Setup, "Mailbox", %REG_SZ%
  119. HKCU,Software\Microsoft\Fax\Setup, "Office", %REG_SZ%
  120. HKCU,Software\Microsoft\Fax\Setup, "OfficePhone", %REG_SZ%
  121. HKCU,Software\Microsoft\Fax\Setup, "Title", %REG_SZ%
  122. [FaxClientReg.UserInfo.Setup]
  123. HKCU,Software\Microsoft\Fax\Setup, "CoverPageDir", %REG_SZ_OVERWRITE%, %16389%\%str_FaxPersonalCoverpages%
  124. HKCU,Software\Microsoft\Fax\Setup, "InstallType", %REG_DWORD%,
  125. HKCU,Software\Microsoft\Fax\Setup, "Installed", %REG_DWORD%, 0x00000001
  126. [FaxClientReg.RemoveTree.HKLM]
  127. HKLM, "Software\Microsoft\Fax"
  128. [FaxClientReg.RemoveTree.HKCU]
  129. HKCU, "Software\Microsoft\Fax"
  130. ;=============================================
  131. ; Strings
  132. ;=============================================
  133. [Strings]
  134. ;=============================================
  135. ; Begin: NON-Localized Strings
  136. ;=============================================
  137. str_addins = "addins"
  138. ;=============================================
  139. ; End: NON-Localized Strings
  140. ;=============================================
  141. ;=============================================
  142. ; Begin: Localized Strings
  143. ;=============================================
  144. ; in localized builds, the actual coverpage filenames should be localized
  145. ;
  146. str_confdent = "confdent.cov"
  147. str_fyi = "fyi.cov"
  148. str_generic = "generic.cov"
  149. str_urgent = "urgent.cov"
  150. str_MyFaxes = "My Faxes"
  151. str_CommonCoverPages = "Common Cover Pages"
  152. str_CoverPage = "Cover Page"
  153. str_FaxCoverpageFile = "Fax Cover Page File"
  154. str_FaxPersonalCoverpages = "Fax\Personal Cover Pages"
  155. str_FaxCoverPageLink = "Fax Cover Page Editor"
  156. str_FaxGroup = "Microsoft Fax"
  157. str_CoverPageInfoTip = "Edit your cover pages to send faxes with Microsoft Fax"
  158. str_FaxSendWizardLink = "Send Fax Wizard"
  159. str_FaxSendWizardInfoTip = "Edit your fax sender information"
  160. ;=============================================
  161. ; End: Localized Strings
  162. ;=============================================
  163. ;=============================================
  164. ; Begin: Constants used in INF
  165. ;=============================================
  166. FAX_DBG_OFF = 0
  167. FAX_DBG_MINIMAL = 1
  168. FAX_DBG_MEDIUM = 2
  169. FAX_DBG_VERBOSE = 3
  170. ;; The following registry types are set with the NoClobber flag which
  171. ;; indicates that the value will not be overwritten if we are upgrading.
  172. ;; The special *_OVERWRITE types below should be used if you wish to
  173. ;; overwrite the value even when we are upgrading the OS.
  174. REG_DWORD =0x10003 ;; FLG_ADDREG_BINVALUETYPE | FLG_ADDREG_NOCLOBBER
  175. REG_EXPAND_SZ =0x20002 ;; FLG_ADDREG_NOCLOBBER
  176. REG_BINARY =0x00003 ;; FLG_ADDREG_NOCLOBBER
  177. REG_SZ =0x00002 ;; FLG_ADDREG_NOCLOBBER
  178. REG_MULTI_SZ =0x10002 ;; FLG_ADDREG_NOCLOBBER
  179. REG_NONE =0x20003 ;; FLG_ADDREG_NOCLOBBER
  180. REG_DWORD_OVERWRITE =0x10001 ;; overwrites value regardless of if upgrade or clean
  181. REG_SZ_OVERWRITE =0x00000 ;; overwrites value regardless of if upgrade or clean
  182. ;=============================================
  183. ; End: Constants used in INF
  184. ;=============================================