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.

146 lines
2.9 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, 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, 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. CopyHelp = 18
  47. [CommonFilesSection]
  48. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion,"CommonFilesDir",,%24%\%OLEDBDIR%
  49. [CheckForDCOM95]
  50. HKLM,SOFTWARE\Microsoft\OLE,EnableDCOM,,Y
  51. ,,,You are missing DCOM95 software required for the installation of this product!,
  52. ;
  53. ; File Sections
  54. ;
  55. [CopyInf]
  56. dsclient.inf
  57. [CopySys.NT]
  58. dnsapi.dll,,,33
  59. netapi32.dll,,,33
  60. ntdsapi.dll,,,33
  61. dsfolder.dll,,,33
  62. dsuiext.dll,,,33
  63. dsquery.dll,,,33
  64. cmnquery.dll,,,33
  65. dsprop.dll,,,33
  66. wabinst.exe,,,33
  67. secur32.dll,,,33
  68. [CopyHelp]
  69. dsclient.hlp
  70. dsclient.chm
  71. [DelSys.NT]
  72. dnsapi.dll,,,33
  73. ntdsapi.dll,,,33
  74. dsfolder.dll,,,33
  75. dsuiext.dll,,,33
  76. dsquery.dll,,,33
  77. cmnquery.dll,,,33
  78. dsprop.dll,,,33
  79. wabinst.exe,,,33
  80. dsclient.hlp,,,33
  81. dsclient.chm,,,33
  82. secur32.dll,,,33
  83. ;
  84. ; Registry Settings
  85. ;
  86. ;
  87. ; Disk Layout Information
  88. ;
  89. [SourceDisksNames]
  90. 99 = %DiskName%,dstp.tag,0
  91. [SourceDisksFiles]
  92. dsclient.inf = 99
  93. dnsapi.dll = 99
  94. netapi32.dll = 99
  95. ntdsapi.dll = 99
  96. dsfolder.dll = 99
  97. dsuiext.dll = 99
  98. dsquery.dll = 99
  99. cmnquery.dll = 99
  100. dsprop.dll = 99
  101. wabinst.exe = 99
  102. dsclient.hlp = 99
  103. dsclient.chm = 99
  104. secur32.dll = 99
  105. ;
  106. ; Strings
  107. ;
  108. [Strings]
  109. ;
  110. ; Localizable strings
  111. ;
  112. DsClientNT4_DESC = "Directory Service Client (Remove only)"
  113. ;
  114. ;Start of non localizable strings
  115. ;
  116. KEY_UNINSTALL = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
  117. DiskName = "Active Directory Service Interfaces Installation Disk"