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.

109 lines
3.1 KiB

  1. [Version]
  2. Signature=$CHICAGO$
  3. AdvancedINF=2.5,%VersionWarning%
  4. [SourceDisksNames]
  5. 721=%DiskName%,,1
  6. [SourceDisksFiles]
  7. mswmdm.dll = 721
  8. msscp.dll = 721
  9. mspmsp.dll = 721
  10. wmdmps.dll = 721
  11. wmdmlog.dll = 721
  12. wmdmrdst.inf = 721
  13. pmsvdist.exe = 721
  14. [DefaultInstall]
  15. CopyFiles = DRMFiles.Copy.Sys, DRMFiles.Copy.Inf, DRMFiles.Copy.Keep.Sys
  16. AddReg = DRM.Install.AddReg
  17. RegisterOCXs = DRM.Install.Register
  18. RunPostSetupCommands = DRM.Reg.MSSCP
  19. [DefaultInstall.NT]
  20. CopyFiles = DRMFiles.Copy.Sys, DRMFiles.Copy.Inf, DRMFiles.Copy.Keep.Sys
  21. AddReg = DRM.Install.AddReg
  22. RegisterOCXs = DRM.Install.Register
  23. RunPostSetupCommands = DRM.Reg.MSSCP, DRM.Run.NT
  24. [Uninstall]
  25. DelFiles = DRMFiles.Copy.Sys, DRMFiles.Copy.Inf
  26. DelReg = DRM.Uninstall.DelReg
  27. UnRegisterOCXs = DRM.Uninstall.UnRegister
  28. BeginPrompt = DRM.Uninstall.BeginPrompt
  29. EndPrompt = DRM.Uninstall.EndPrompt
  30. [DestinationDirs]
  31. DRMFiles.Copy.Sys = 11
  32. DRMFiles.Copy.Keep.Sys = 11
  33. DRMFiles.Copy.Inf = 17
  34. [DRMFiles.Copy.Sys]
  35. ; copy these files to the system(32) directory
  36. mswmdm.dll,,,32
  37. msscp.dll,,,32
  38. mspmsp.dll,,,32
  39. wmdmps.dll,,,32
  40. wmdmlog.dll,,,32
  41. [DRMFiles.Copy.Keep.Sys]
  42. ; copy these files to the system(32) directory
  43. [DRMFiles.Copy.Inf]
  44. ; copy these files to the inf directory
  45. WMDMrdst.inf
  46. [DRM.Install.AddReg]
  47. ; Add uninstall entry
  48. ; HKLM,%KEY_UNINSTALL%\WMDM_SDK,DisplayName,,%UninstDispName%
  49. ; HKLM,%KEY_UNINSTALL%\WMDM_SDK,UninstallString,,"RunDll32 advpack.dll,LaunchINFSection %17%\wmdmrdst.inf,Uninstall"
  50. ; Add refcount for DRM common files
  51. HKLM,%KEY_DRM_REF%,"WMDM",,"%AppName%"
  52. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","MSWMDM_0",,"%11%\regsvr32.exe /s %11%\msscp.dll"
  53. [DRM.Uninstall.DelReg]
  54. ; Remove uninstall entry
  55. HKLM,%KEY_UNINSTALL%\WMDM_SDK
  56. ; Remove refcount for DRM common files
  57. HKLM,%KEY_DRM_REF%,"WMDM"
  58. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","MSWMDM_0"
  59. [DRM.Install.Register]
  60. %11%\mswmdm.dll
  61. %11%\mspmsp.dll
  62. %11%\wmdmps.dll
  63. %11%\wmdmlog.dll
  64. [DRM.Uninstall.UnRegister]
  65. %11%\mswmdm.dll
  66. %11%\msscp.dll
  67. %11%\mspmsp.dll
  68. %11%\wmdmps.dll
  69. %11%\wmdmlog.dll
  70. [DRM.Reg.MSSCP]
  71. "%11%\regsvr32.exe" /s "%11%\msscp.dll"
  72. [DRM.Run.NT]
  73. PmSvDist.exe /Q
  74. [DRM.Uninstall.BeginPrompt]
  75. Prompt = %UninstallPrompt_Begin%
  76. Title = %UninstallPrompt_Title%
  77. ButtonType = YESNO
  78. [DRM.Uninstall.EndPrompt]
  79. Prompt = %UninstallPrompt_End%
  80. [Strings]
  81. KEY_UNINSTALL = "Software\Microsoft\Windows\CurrentVersion\Uninstall"
  82. KEY_DRM_REF = "Software\Microsoft\Multimedia\Components\DRM\References"
  83. VersionWarning = "You need a newer version of advpack.dll."
  84. AppName = "Microsoft Windows Media Device Manager SDK"
  85. DiskName = "Microsoft Windows Media Device Manager"
  86. UninstDispName = "Microsoft Windows Media Device Manager SDK"
  87. UninstallPrompt_Begin = "Are you sure you want to uninstall the Microsoft Windows Media Device Manager SDK?"
  88. UninstallPrompt_End = "Uninstall complete."
  89. UninstallPrompt_Title = "Microsoft Windows Media Device Manager Uninstall"