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.

155 lines
3.1 KiB

  1. ;
  2. ; Active Directory Installation Script
  3. ;
  4. [Version]
  5. Signature=$CHICAGO$
  6. AdvancedINF=2.5,"You need a new version of advpack.dll"
  7. ;
  8. ; INF Entry Points
  9. ;
  10. [DefaultInstall.NT]
  11. CopyFiles = CopyInf, CopySys.NT, CopyDrivers, CopyHelp
  12. AddReg = Register.AddRegNT4
  13. CustomDestination=CustomDestinationNT
  14. [Register.AddRegNT4]
  15. ;Create entries for Maint Mode Setup
  16. HKLM,%KEY_UNINSTALL%\DsClient,DisplayName,,"%DsClientNT4_DESC%"
  17. HKLM,%KEY_UNINSTALL%\DsClient,UninstallString,,"rundll32 advpack.dll,LaunchINFSection dsclient.inf,Remove_DsClientNT4,,N"
  18. [UnRegister.DelRegNT4]
  19. ;Remove entries for Maint Mode Setup
  20. HKLM,%KEY_UNINSTALL%\DsClient,DisplayName,,"%DsClientNT4_DESC%"
  21. HKLM,%KEY_UNINSTALL%\DsClient,UninstallString,,"rundll32 advpack.dll,LaunchINFSection dsclient.inf,Remove_DsClientNT4,,N"
  22. HKLM,%KEY_UNINSTALL%\DsClient
  23. [DsClientNT4]
  24. CopyFiles = CopyInf, CopySys.NT, CopyDrivers, CopyHelp
  25. AddReg = Register.AddRegNT4
  26. CustomDestination=CustomDestinationNT
  27. [Remove_DsClientNT4]
  28. DelFiles = CopyInf, DelSys.NT, CopyHelp
  29. DelReg = UnRegister.DelRegNT4
  30. RunPreSetupCommands=PreUninstallCommands
  31. RunPostSetupCommands=Uninstall.ADSI
  32. [PreUninstallCommands]
  33. regsvr32.exe /s /u dsquery.dll
  34. regsvr32.exe /s /u cmnquery.dll
  35. regsvr32.exe /s /u dsfolder.dll
  36. regsvr32.exe /s /u dsuiext.dll
  37. regsvr32.exe /s /u dsprop.dll
  38. [Uninstall.ADSI]
  39. rundll32 advpack.dll,LaunchINFSection adsix86.inf,UnRegADSIWithDsclient,,N
  40. ;
  41. ; Destination Directories
  42. ;
  43. [DestinationDirs]
  44. CopyInf = 17
  45. CopySys.NT = 11
  46. CopyDrivers = 11,drivers
  47. CopyHelp = 18
  48. [CommonFilesSection]
  49. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion,"CommonFilesDir",,%24%\%OLEDBDIR%
  50. [CheckForDCOM95]
  51. HKLM,SOFTWARE\Microsoft\OLE,EnableDCOM,,Y
  52. ,,,You are missing DCOM95 software required for the installation of this product!,
  53. ;
  54. ; File Sections
  55. ;
  56. [CopyInf]
  57. dsclient.inf
  58. [CopySys.NT]
  59. dnsapi.dll,,,33
  60. netlogon.dll,,,33
  61. netapi32.dll,,,33
  62. ntdsapi.dll,,,33
  63. dsfolder.dll,,,33
  64. dsuiext.dll,,,33
  65. dsquery.dll,,,33
  66. cmnquery.dll,,,33
  67. dsprop.dll,,,33
  68. wabinst.exe,,,33
  69. secur32.dll,,,33
  70. wkssvc.dll,,,33
  71. [CopyDrivers]
  72. mup.sys,,,33
  73. [CopyHelp]
  74. dsclient.hlp
  75. dsclient.chm
  76. [DelSys.NT]
  77. dnsapi.dll,,,33
  78. ntdsapi.dll,,,33
  79. dsfolder.dll,,,33
  80. dsuiext.dll,,,33
  81. dsquery.dll,,,33
  82. cmnquery.dll,,,33
  83. dsprop.dll,,,33
  84. wabinst.exe,,,33
  85. dsclient.hlp,,,33
  86. dsclient.chm,,,33
  87. secur32.dll,,,33
  88. ;
  89. ; Registry Settings
  90. ;
  91. ;
  92. ; Disk Layout Information
  93. ;
  94. [SourceDisksNames]
  95. 99 = %DiskName%,dstp.tag,0
  96. [SourceDisksFiles]
  97. dsclient.inf = 99
  98. dnsapi.dll = 99
  99. netlogon.dll = 99
  100. netapi32.dll = 99
  101. ntdsapi.dll = 99
  102. dsfolder.dll = 99
  103. dsuiext.dll = 99
  104. dsquery.dll = 99
  105. cmnquery.dll = 99
  106. dsprop.dll = 99
  107. wabinst.exe = 99
  108. dsclient.hlp = 99
  109. dsclient.chm = 99
  110. secur32.dll = 99
  111. mup.sys = 99
  112. wkssvc.dll = 99
  113. ;
  114. ; Strings
  115. ;
  116. [Strings]
  117. ;
  118. ; Localizable strings
  119. ;
  120. DsClientNT4_DESC = "Directory Service Client (Remove only)"
  121. ;
  122. ;Start of non localizable strings
  123. ;
  124. KEY_UNINSTALL = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
  125. DiskName = "Active Directory Service Interfaces Installation Disk"